-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathForgotPassword.html
77 lines (69 loc) · 2.16 KB
/
ForgotPassword.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
<!DOCTYPE html>
<html>
<head>
<title>Graphical Password Authentication System</title>
<!-- CSS File-->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- JS Files-->
<script src="js/jquery-2.2.3.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
</head>
<body>
<!-- main -->
<div class="main-agileits">
<h1>Graphical Password Authentication System - Forgot Password</h1>
<!-- form -->
<div class="mainw3-agileinfo form" style="margin-left:425px;">
<div id="login">
<form method="get" action="http://localhost:9999/password/fp">
<center><span style="color:white;">Enter your Roll Number and your log in details shall be sent to your registered Email ID</span></center>
<br><br>
<div class="field-wrap">
<label> Roll No<span class="req">*</span> </label>
<input type="number" name="rollno" min=1 max=120 required>
</div>
<center><button class="button button-block" formaction="http://localhost:9999/password/fp"/>Send Email</button></center>
</form>
</div>
</div>
<!-- //form -->
</div>
<!-- //main -->
<!-- copyright -->
<center>
<div class="w3copyright-agile">
<p>Rohan Pillai (15BIT049) | Shrey Vaghela (15BIT064)</p>
</div>
</center>
<!-- //copyright -->
<!-- JS -->
<script>
$('.form').find('input, textarea').on('keyup blur focus', function (e) {
var $this = $(this),
label = $this.prev('label');
if (e.type === 'keyup') {
if ($this.val() === '') {
label.removeClass('active highlight');
} else {
label.addClass('active highlight');
}
} else if (e.type === 'blur') {
if( $this.val() === '' ) {
label.removeClass('active highlight');
} else {
label.removeClass('highlight');
}
} else if (e.type === 'focus') {
if( $this.val() === '' ) {
label.removeClass('highlight');
}
else if( $this.val() !== '' ) {
label.addClass('highlight');
}
}
});
</script>
<!-- //JS -->
</body>
</html>