-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
173 lines (143 loc) · 3.4 KB
/
login.html
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
<script>
// Get the modal
var modal = document.getElementById('id01');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
<style>
body{
background-image:url("images/e.jpg");
}
/* Full-width input fields */
input[type=text], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
/* Set a style for all buttons */
button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}
/* Extra styles for the cancel button */
.cancelbtn {
padding: 14px 20px;
background-color: #f44336;
}
/* Float cancel and signup buttons and add an equal width */
.cancelbtn,.loginbtn {
float: left;
width: 50%;
}
/* Add padding to container elements */
.container {
padding: 16px;
}
/* Clear floats */
.clearfix::after {
content: "";
clear: both;
display: table;
}
/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {
.cancelbtn, .loginbtn {
width: 100%;
}
}
#header
{
position:absolute;
top:4%;
width:99%;
background:#00a2d1;
font-family:"Lucida Handwriting";
font-family:Verdana, Geneva, sans-serif;
text-align:center;
font-size:35px;
font-weight:bolder;
color:#f9f9f9;
}
ul {
width:100%;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #4CAF50;
font-size: 22px;
-webkit-transition-duration: 0.4s;
-moz-transition-duration: 0.4s;
-ms-transition-duration: 0.4s;
}
.active {
background-color: #4CAF50;
}
#FFF{
position:absolute;
top:15%;
width:99%;
}
.forgot{
background-color: rgb(237, 14, 14);
}
</style>
</head>
<body>
<div id="HEADER">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="http://csvtu.ac.in/ew/">CSVTU</a></li>
<li><a href="http://www.gecraipur.ac.in/">GEC Raipur</a></li>
<li><a href="reg.html">Registration</a></li>
<li style="float:right"><a class="active" href="#about">About</a></li>
<li style="float:right"><a class="forgot" href="forgot_password.html">Forgot Password</a></li>
</ul>
</div>
<h2 id="header">Login</h2>
<form id="FFF" action="login.php" style="border:3px solid black" method="post" >
<div class="container">
<label><b>Name</b></label>
<input type="text" placeholder="Enter name" name="name" required>
<label><b>Roll number</b></label>
<input type="text" placeholder="Enter roll number" name="roll" required>
<br />
<label><b>Password</b></label>
<input type="password" placeholder="Enter Password" id="psw" name="psw" required>
<div class="clearfix">
<button type="button" class="cancelbtn">Cancel</button>
<button type="submit" class="loginbtn" id="login" >Login</button>
</div>
</div>
</form>
</body>
</html>