All language subtitles for 4. A Touch of Styling

af Afrikaans
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,350 --> 00:00:05,610 We've already got this versatile input put together but it would be kind of nice if we had some styling 2 00:00:05,610 --> 00:00:07,740 that looked a little bit closer to this right here. 3 00:00:07,940 --> 00:00:12,300 Doing this video we're gonna take kind of a brief pause or kind of divergence away from this idea of 4 00:00:12,300 --> 00:00:18,170 pipes and just add in a little bit of styling to do so we're gonna add in the bootstrap at CSX library 5 00:00:18,550 --> 00:00:20,910 and on previous projects we made use of Boma. 6 00:00:21,030 --> 00:00:26,040 We're gonna flip over to using Bootstrap instead for a little bit for no reason whatsoever really just 7 00:00:26,040 --> 00:00:27,000 for a little bit of variety. 8 00:00:27,000 --> 00:00:32,950 To be honest with you let's figure out how we add in bootstrap to a typical angular project do so. 9 00:00:33,060 --> 00:00:34,830 First go over to my terminal. 10 00:00:34,900 --> 00:00:40,050 I'm gonna open up a new terminal window still inside of my pipes directory and then inside there I'll 11 00:00:40,050 --> 00:00:44,670 install bootstrap with npm install bootstrap. 12 00:00:44,700 --> 00:00:49,200 This is another module that is very very small so it should only take a moment or two to install it 13 00:00:50,010 --> 00:00:51,120 once it is installed. 14 00:00:51,120 --> 00:00:57,040 We then need to wired up in the exact same way that we previously wired up the boma CSX library. 15 00:00:57,080 --> 00:01:04,530 Remember we have to add in an import statement to our global styles dots ISIS file before we add that 16 00:01:04,530 --> 00:01:04,680 in. 17 00:01:04,680 --> 00:01:10,110 However we need to find where the actual bootstraps ISIS file was installed inside of our node modules 18 00:01:10,110 --> 00:01:11,280 directory. 19 00:01:11,280 --> 00:01:19,310 We'll find that node modules folder inside there I'll scroll down and find the bootstrap directory. 20 00:01:19,350 --> 00:01:25,650 Here it is right here and then inside that directory I'll find the disk folder which stands for distribution. 21 00:01:25,740 --> 00:01:27,590 Inside there is the CSX folder. 22 00:01:27,750 --> 00:01:32,010 And then finally inside there is the bootstrap dot CSX file. 23 00:01:32,010 --> 00:01:38,900 We can add in an import statement to our styles Nazi SS file and get bootstrap dist SS bootstrap dots 24 00:01:38,980 --> 00:01:39,810 ss. 25 00:01:40,140 --> 00:01:41,440 Let's do that right now. 26 00:01:43,020 --> 00:01:53,190 I can slide my styles Nazi SS file I'll add in at import then bootstrap slash and I've already forgot 27 00:01:53,190 --> 00:01:54,120 the path for it. 28 00:01:54,120 --> 00:01:58,050 So let me look at my notes here so I can remember exactly what it is. 29 00:01:58,050 --> 00:02:02,820 So it's bootstrap ist the SS bootstrap dot CSX. 30 00:02:02,820 --> 00:02:03,480 There we go. 31 00:02:03,480 --> 00:02:07,750 You think I would remember that but near recording your voice you just get so stressed out. 32 00:02:07,820 --> 00:02:08,950 I'm just kidding. 33 00:02:08,950 --> 00:02:09,170 Okay. 34 00:02:09,200 --> 00:02:14,910 So I'll save this and if I then flip back over to my application I see it definitely some different 35 00:02:14,910 --> 00:02:16,200 styling here. 36 00:02:16,370 --> 00:02:18,700 So that means we just wired up bootstrap successfully. 37 00:02:18,700 --> 00:02:22,170 So now let's just add in a couple of HDMI elements and class names. 38 00:02:22,170 --> 00:02:27,540 Get this versatile thing right here looking a little bit better back inside of my app component template. 39 00:02:27,570 --> 00:02:32,500 We're gonna write out a pretty good amount of each team out inside of here at the very top. 40 00:02:32,590 --> 00:02:40,620 I'm gonna add in a div with the class of container add in an h three that says payment form 41 00:02:43,810 --> 00:02:48,310 I'll then take a look at this div right here I'm going to indent it just to make sure that it's inside 42 00:02:48,310 --> 00:02:54,580 the diff class Container and I'll add on a class of road to it and inside that div I'll add another 43 00:02:54,580 --> 00:03:01,400 one with the class of form dash group CIOL And I'm going to close off that div on the other side of 44 00:03:01,400 --> 00:03:02,480 the text input 45 00:03:07,220 --> 00:03:15,810 and on the input itself I'll add on the class of form dash control now right above the closing div of 46 00:03:15,810 --> 00:03:16,250 row. 47 00:03:16,320 --> 00:03:18,600 So here's the closing date for row right here. 48 00:03:18,600 --> 00:03:22,200 I'm gonna add on one more div with the class of SEO COLB 49 00:03:27,270 --> 00:03:27,930 inside of there. 50 00:03:27,930 --> 00:03:36,940 I'll put in a label with a B element just to bold some text inside that bold element or write out name 51 00:03:37,970 --> 00:03:43,720 and just one last little bit here we'll put in a div right after that label and inside there is wearing 52 00:03:43,720 --> 00:03:49,480 in a place the output of the name with the title case pipe and then finally I'm going to make sure that 53 00:03:49,480 --> 00:03:53,330 I close off the overall issue of class container. 54 00:03:53,440 --> 00:03:57,770 I'll put one last closing tag down here at the bottom okay. 55 00:03:57,800 --> 00:03:59,040 So a little bit of each female here. 56 00:03:59,060 --> 00:04:03,260 But don't worry we'll only have to write this out once we're going to copy paste this for everything 57 00:04:03,260 --> 00:04:04,570 else we need to show. 58 00:04:04,960 --> 00:04:07,290 Well now flip back over and there we go. 59 00:04:07,330 --> 00:04:08,660 Say that looks pretty close to the mockup. 60 00:04:08,660 --> 00:04:14,720 We were just looking at now I can type in scarlet writer and I see the name capitalized over here. 61 00:04:14,750 --> 00:04:15,280 Very good. 62 00:04:16,150 --> 00:04:20,090 OK well that was pretty simple to make you said that very straightforward operator. 63 00:04:20,090 --> 00:04:21,730 The title case operator. 64 00:04:21,730 --> 00:04:26,450 Well now let's now take a look at some more complicated ones in the form of something to format a date 65 00:04:26,680 --> 00:04:28,730 and something in a format a currency as well. 6619

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.