-
Notifications
You must be signed in to change notification settings - Fork 0
/
login1.ejs
executable file
·122 lines (112 loc) · 1.95 KB
/
login1.ejs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<html>
<head>
<title>Login Form</title>
<script src = "/socket.io/socket.io.js"></script>
<style>
body{
background:url(picture/family-back.jpg);
background-size:cover;
}
.form{
border-radius:18px;
width:35%;
height:80%;
position:absolute;
left:32.5%;
top:10%;
background-color:rgba(0, 0, 0, 0.7);
text-align:center;
box-sizing:border-box;
}
.form .head{
position:relative;
top:2%;
font-weight:bold;
font-family:courier sans-serif;
font-size:30px;
color:white;
background:transparent;
display:block;
transition:.5s;
}
.form:hover .head{
color:yellow;
}
.form .input-title{
display:block;
color:orange;
text-align:left;
font-family:menu;
font-size:20px;
margin-left:5%;
box-sizing:border-box;
margin-top:4%;
}
.form input[type="text"]{
display:block;
border-radius:5px;
background:none;
border:2px solid white;
margin-left:5%;
width:80%;
color:white;
margin-top:4%;
font-weight:bold;
font-family:menu;
font-size:20px;
padding-left:2%;
}
.form input[type="text"]:focus{
background:white;
color:black;
border:4px solid orange;
}
#submit{
margin-top:10%;
border:2px solid orange;
border-radius:10px;
color:white;
background:orange;
font-size:20px;
}
.form .image img{
width:40px;
height:40px;
margin-left:2%;
display:inline-block;
}
.form .image{
margin-top:10%;
}
@media screen only(maxwidth:750px){
body{
width:80%;
}
}
#credential{
margin:5% auto;
color:red;
display:<%=view%>;
size:18px;
}
</style>
</head>
<body>
<div class="form">
<form action="\login" method="get">
<span class="head">Login</span>
<span class="input-title">User Id:</span>
<input type="text" id="user">
<span class="input-title">Password:</span>
<input type="text" id="pwd">
<span id="credential">*wrong credentials</span>
<input id="submit" type="submit" value="Login">
<div class="image">
<img src="picture/gp.png">
<img src="picture/fb.png">
<img src="picture/in.png">
</div>
</form>
</div>
</body>
</html>