forked from QAZIMAAZARSHAD/Voters-Registration-Portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
forgetPass.html
339 lines (285 loc) · 11.3 KB
/
forgetPass.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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
<!DOCTYPE html>
<html lang="en">
<head>
<title>FORGET PASSWORD</title>
<link rel="shortcut icon" href="./Images/flag.png" type="image/x-icon">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="fonts.googleapis.com/css?family=Hind">
<link rel="stylesheet" href="Style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css"
integrity="sha512-P5MgMn1jBN01asBgU0z60Qk4QxiXo86+wlFahKrsQf37c9cro517WzVSPPV1tDKzhku2iJ2FVgL67wG03SGnNA=="
crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script>
</head>
<style>
#scrollToTopButton{
position: fixed;
bottom: 15px;
right: 10px;
font-size: 25px;
z-index: 99;
width: 50px;
height: 50px;
background-color: white;
color: black;
border: none;
cursor: pointer;
outline: none;
padding: 6px;
border-radius: 50%;
box-shadow: 0 6px 10px 0px gray;
}
</style>
<body>
<header>
<div class="navbar">
<div class="main-heading">
<div class="logo">
<a href="#" class="endlogo">
<img src="./Images/flag.png">
</a>
</div>
<div class="heading">
<img class="emblem" src="./Images/emblem.png"></img>
<p class="hindi-heading" style="font-family: 'Hind', sans-serif; font-weight: bolder;" >राष्ट्रीय मतदान सेवा डेमो पोर्टल</p>
<p class="english-heading" style="font-weight: bold;">NATIONAL VOTER'S SERVICES DEMO PORTAL</p>
</div>
</div>
<div>
<input type="checkbox" class="checkbox" id="chk" />
<label class="label" for="chk">
<i class="fas fa-moon"></i>
<i class="fas fa-sun"></i>
<div class="ball"></div>
</label>
</div>
<script>
const chk = document.getElementById('chk');
chk.addEventListener('change', () => {
document.body.classList.toggle('dark');
});
</script>
</header>
<div class="main-section">
<div class="container" style="height:auto;width:65%;box-shadow: 0 15px 15px 0px gray;">
<div class="row" style="height: auto;">
<div class="col-lg-4 col-md-12 col-sm-12 col-12" style="text-align: center;font-size:30px;">
<div class="row"><img src="./Images/forget.jpg" style="width: 600px;height: 430px;"></div>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 col-12" style="padding-top:50px;padding-bottom:50px;">
<div class="col-lg-12">
<form>
<div class="mb-3">
<label for="Email1" class="form-label">Email address</label>
<input type="email" class="form-control" id="Email1" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="Password1" class="form-label">New Password</label>
<input type="password" class="form-control" id="Password1">
<div class="showPwd">
<input type="checkbox" class="form-check-input" onclick="showPwdToogle()">Show Password
</div>
<div id="passwordhelp" class="form-text">Go back <a href="login.html" target="_blank">Login</a></div>
</div>
<div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Remember Me</label>
</div>
<button type="button" class="btn btn-success" onClick="forget()">Login</button>
</form>
</div>
</div>
</div>
</div>
</div>
<script>
const chk = document.getElementById('chk');
chk.addEventListener('change', () => {
document.body.classList.toggle('dark');
});
</script>
<script>
function giveAlert(title_,icon_)
{
swal({
title: title_,
icon: icon_,
});
}
function forget()
{
var uname = document.getElementById("Email1").value;
var pwd = document.getElementById("Password1").value;
var filter = /^([a-zA-Z0-9_\.\-]+)\@([a-zA-Z0-9]+\.*[a-zA-Z0-9]+)\.([a-zA-Z0-9]{2,4})$/;
if(uname =='')
{
giveAlert("please enter email address.","info");
}
else if(pwd=='')
{
giveAlert("enter the password","info");
}
else if(!filter.test(uname))
{
giveAlert("Enter valid email id.","info");
}
else if(pwd.length < 6 || pwd.length > 6)
{
giveAlert("Password min and max length is 6.","info");
}
else
{
giveAlert('Your password is reset now You can Redirecting to Login page','success');
setTimeout(function() {window.location = "login.html" });
}
}
</script>
<footer id="ft">
<div id="footer">
<div class="one">
<div class="contact">
<h2>Contact Us</h2>
<h3>
<i class="fas fa-phone-alt phonei"></i>
Toll free: 1947
</h3>
<h3>
<div class="envelope">
<i class="fas fa-envelope envelopei"></i>
</div>
</h3>
</div>
<div class="helpdeskDiv">
<a class="helpdesk" href="help.html" target="_blank">Help
Desk</a>
</div>
<div class="follow-us">
<h2>Follow Us</h2>
<div class="icons">
<a href="https://www.facebook.com/NationalPortalIndia/" target="_blank">
<i class="fab fa-facebook-f fbi"></i>
</a>
<a href="https://twitter.com/mygovindia?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor" target="_blank">
<i class="fab fa-twitter twi"></i>
</a>
<a href="https://www.youtube.com/watch?v=Gz2igetpSoU" target="_blank">
<i class="fab fa-youtube yti"></i>
</a>
<a href="https://www.instagram.com/mygovindia/?hl=en" target="_blank">
<i class="fab fa-instagram igi"></i>
</a>
<a href="https://www.linkedin.com/company/government-of-india" target="_blank">
<i class="fab fa-linkedin-in li"></i>
</a>
</div>
</div>
</div>
<div class="two">
<h2>NATIONAL VOTER PORTAL Head Office</h2>
<h3>unique identification authority of india</h3>
<h3>government of india</h3>
<h3>bangla sahib road, behind kali market, gole market, new delhi - 110001</h3>
<h2>Regional Offices</h2>
<select name="place" id="place">
<option value="delhi">Delhi</option>
</select>
<h3>National Voter Portal Regional Office, Delhi</h3>
<h3>Ground floor, pragati maidan metro station, new delhi - 110001</h3>
</div>
<div class="three">
<h4>Website Policy</h4>
<h4>terms and conditions</h4>
<h4>privacy policy</h4>
<h4>hyperlinking policy</h4>
<h4>copyright policy</h4>
<h4>disclaimer</h4>
<h4>help</h4>
<h4>feedback</h4>
<h4>sitemap</h4>
</div>
<div class="four">
<h2>Government of India</h2>
<h4>Integrity Pledge
<i class="fas fa-external-link-alt"></i>
</h4>
<ul>
<li>
<a href="#">
My Gov <i class="fas fa-external-link-alt"></i>
</a>
</li>
<li>
<a href="#">
National Voter Portal
<i class="fas fa-external-link-alt"></i>
</a>
</li>
<li>
<a href="#">
Digital India <i class="fas fa-external-link-alt"></i>
</a>
</li>
<li>
<a href="#">
GST.gov.in <i class="fas fa-external-link-alt"></i>
</a>
</li>
<li>
<a href="#">
DBT Bharatpur <i class="fas fa-external-link-alt"></i>
</a>
</li>
</ul>
</div>
</div>
<div class="footer-down">
<div class="copyright" style="padding-bottom:20px">
Copyright ©
<script>document.write(new Date().getFullYear())</script> Qazi Maaz Arshad
</div>
</div>
</footer>
<button id="scrollToTopButton" title="Go to top" class="ml-5" >
<i class="fa fa-angle-double-up" aria-hidden="true" style="color: black;font-weight: bolder;"></i>
</button>
<script>
$(document).ready(function(){
var scrollTopButton = document.getElementById("scrollToTopButton");
window.onscroll = function () { scrollFunction() };
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
scrollTopButton.style.display = "block";
} else {
scrollTopButton.style.display = "none";
}
}
$("#scrollToTopButton").click(function(){
$('html ,body').animate({scrollTop : 0},800)
});
});
</script>
<script>
function showPwdToogle() {
var x = document.getElementById("Password1");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
</script>
</body>
</html>