Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,700 --> 00:00:05,820
Now one last thing that we need to pay attention to is the log in.
2
00:00:05,810 --> 00:00:13,300
Now ideally you want to log in to be another input and it literally just submits this form that we created.
3
00:00:13,720 --> 00:00:19,780
Now again in my web page in my example they're using javascript to submit the code so I'm going to do
4
00:00:19,800 --> 00:00:25,270
is I'm going to delete all of this because this is the logon button that they're showing in here.
5
00:00:25,270 --> 00:00:26,410
It's actually not a button.
6
00:00:26,410 --> 00:00:31,520
It's literally just a container that says log in and then they're using javascript to submit this.
7
00:00:31,720 --> 00:00:34,680
So I don't want this I want a proper HDMI button.
8
00:00:34,930 --> 00:00:35,890
So this is.
9
00:00:35,950 --> 00:00:38,910
This is the code that's responsible for it.
10
00:00:39,190 --> 00:00:46,540
And again if you're confused you can just come on this page right click this and specked element and
11
00:00:46,540 --> 00:00:48,010
it'll highlight it for you.
12
00:00:48,010 --> 00:00:55,330
You'll see that this is inside a div and inside that Dev We have this spawn log in there as you can
13
00:00:55,330 --> 00:00:58,540
see it actually highlights it for us.
14
00:00:58,540 --> 00:01:01,310
So I'm going to delete delete that log in.
15
00:01:01,570 --> 00:01:05,560
I already have it in here so we'll just go to market
16
00:01:08,310 --> 00:01:09,000
delete it.
17
00:01:09,010 --> 00:01:10,340
That's gone now.
18
00:01:10,720 --> 00:01:17,970
Then I'm going to add my input that I'm going to use to submit the form and I'm just going to do import
19
00:01:18,910 --> 00:01:24,150
and set the type which is going to be submitted.
20
00:01:26,960 --> 00:01:30,290
And then I'm going to set the value.
21
00:01:30,320 --> 00:01:31,850
This is what the users see.
22
00:01:31,850 --> 00:01:35,220
This is actually the text displayed inside the button.
23
00:01:35,570 --> 00:01:43,830
And for me I'm just going to call it log in because they called their logon button logon and that's
24
00:01:43,830 --> 00:01:44,260
it.
25
00:01:44,460 --> 00:01:49,020
So I literally just deleted would just go back to their web page to see what we did.
26
00:01:49,050 --> 00:01:55,320
We literally just deleted this log in text right here and we added a proper hash DML input to it.
27
00:01:56,630 --> 00:02:02,150
Now we also have this there right here which is a container.
28
00:02:02,150 --> 00:02:08,450
And if you notice all this tile so the yellow color in here and the size of the container and all of
29
00:02:08,450 --> 00:02:11,080
that is set inside this deck.
30
00:02:11,090 --> 00:02:15,040
So when I when I highlight this you'll see the hole that gets highlighted.
31
00:02:15,320 --> 00:02:19,550
But when I highlight this pattern you'll see only the text gets highlighted.
32
00:02:19,970 --> 00:02:25,000
So we actually want this style that's being used in here and we don't need that.
33
00:02:25,520 --> 00:02:29,390
So before I delete the dev I'm going to copy it's style.
34
00:02:29,810 --> 00:02:35,810
And if we if you notice in here you see we have a style of tag which is responsible for styling this
35
00:02:35,810 --> 00:02:36,700
div.
36
00:02:37,270 --> 00:02:39,350
So I'm going to Right-Click this tag.
37
00:02:40,010 --> 00:02:47,510
I'm going to click on edit as HMO and there is no point of editing it in here because it'll actually
38
00:02:47,620 --> 00:02:50,250
add anything you modify will be gone once you refresh.
39
00:02:50,450 --> 00:02:54,210
So I why I'm doing this is just so that I can copy the style.
40
00:02:54,470 --> 00:03:02,400
So I'm just navigating down and this is the style that I want sexually in here.
41
00:03:02,920 --> 00:03:08,230
I'm just going to copy all of this so that my BOTTEN will look exactly like this.
42
00:03:08,290 --> 00:03:14,350
After I deleted so I'm just going to do Control-C to copy.
43
00:03:14,490 --> 00:03:17,300
I'm going to come back to my document here.
44
00:03:17,550 --> 00:03:21,210
I'm going to delete this whole Dev and to find it.
45
00:03:21,210 --> 00:03:26,140
So this is the closing of it and the start of it should be before that.
46
00:03:26,130 --> 00:03:31,780
So if I just look for the div and go previous this time.
47
00:03:32,930 --> 00:03:34,480
You'll see it in here.
48
00:03:35,080 --> 00:03:35,840
I'm just going to go down.
49
00:03:35,840 --> 00:03:36,680
So you see it.
50
00:03:36,830 --> 00:03:39,310
So this is the day that we want to get rid of.
51
00:03:39,440 --> 00:03:40,850
And it has the style that I like.
52
00:03:40,880 --> 00:03:44,140
That's going to make my bottom look like the bottom that they're using.
53
00:03:44,510 --> 00:03:46,210
So first of all I'm going to delete it.
54
00:03:51,450 --> 00:03:53,340
And then I'm going to add the style in here.
55
00:03:53,340 --> 00:03:55,770
So it's going to do style
56
00:04:00,630 --> 00:04:09,060
and put everything between quotations save it and let's go and refresh the page see what it looks like.
57
00:04:13,560 --> 00:04:19,100
So if we click on luggin you can see the page still looks very similar.
58
00:04:19,230 --> 00:04:24,450
We still have our inputs in here and this is now is a logon button.
59
00:04:24,450 --> 00:04:29,440
I notice that the font in here is a little bit different so it used to be white.
60
00:04:29,460 --> 00:04:32,520
Now it's black and it's slightly smaller.
61
00:04:32,520 --> 00:04:39,280
Now if you want to achieve a perfect result you can easily add a few properties to the style tag.
62
00:04:39,630 --> 00:04:45,060
I don't want to get into too much details about CSSA and all that because it's going to get a bit confusing
63
00:04:45,600 --> 00:04:49,600
but I think the page is very convincing right now.
64
00:04:49,620 --> 00:04:54,880
Now I'm just going to do it quickly just to show you that you can literally mimic anything you want
65
00:04:54,880 --> 00:04:56,610
with some knowledge of yes.
66
00:04:56,670 --> 00:04:57,880
And styling.
67
00:04:58,290 --> 00:05:03,410
So we have the style and here all we have to do is just do color
68
00:05:06,610 --> 00:05:10,650
white and save it.
69
00:05:11,210 --> 00:05:17,810
If you come here and refresh you'll see the color is going to go to white and so on.
70
00:05:17,810 --> 00:05:22,940
So again I don't want to dive too deep into C-s as an HMO.
71
00:05:23,030 --> 00:05:29,270
I think I've already spent too much time on it but I think this way we cover everything that might face
72
00:05:29,270 --> 00:05:36,770
you usually in most of the situations that you'll face you'll probably won't need to modify the or else
73
00:05:36,980 --> 00:05:39,580
or modify the inputs and wrap them in form.
74
00:05:39,740 --> 00:05:45,270
I only did this because the Web site that I'm trying to clone is actually programmed like that.
75
00:05:46,760 --> 00:05:51,620
If you're really stuck at this point and you just didn't know how to modify Hastey Now you can just
76
00:05:51,620 --> 00:05:55,690
use a generic logon web page and I'll include this later on in the course.
77
00:05:57,890 --> 00:06:06,500
But if you just go back over this lecture I know it might be covered if you knew Kaina ideas and topics
78
00:06:06,500 --> 00:06:06,980
in it.
79
00:06:07,160 --> 00:06:08,870
But what I did is very simple.
80
00:06:08,870 --> 00:06:14,600
Basically you want to look for the input tags make sure that they are wrapped in a form tag which looks
81
00:06:14,600 --> 00:06:15,470
like this.
82
00:06:15,580 --> 00:06:21,680
And like this one if they're already wrapped in form tags perfect leave it and just continue with the
83
00:06:21,680 --> 00:06:22,620
next lecture.
84
00:06:22,700 --> 00:06:29,270
If they're not just sort them out the same way I did here put the forum tag so put a form here and the
85
00:06:29,270 --> 00:06:34,470
form with a forward slash form and then if there is no input button then put the input button yourself
86
00:06:34,990 --> 00:06:35,820
and that's it.
87
00:06:35,840 --> 00:06:43,560
We're good to go and we'll continue with create in our evil IP or fake access point in the next lecture.
8687
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.