-
Notifications
You must be signed in to change notification settings - Fork 2
/
forgotPassword.html
119 lines (110 loc) · 6.11 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Forgot Password</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link rel="icon" type="image/png" href="assets/img/favicon.ico"/>
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="assets/vendor/bootstrap/css/bootstrap.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="assets/fonts/iconic/css/material-design-iconic-font.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="assets/vendor/animate/animate.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="assets/vendor/css-hamburgers/hamburgers.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="assets/vendor/animsition/css/animsition.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="assets/vendor/select2/select2.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="assets/vendor/daterangepicker/daterangepicker.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="assets/css/util.css">
<link rel="stylesheet" type="text/css" href="assets/css/main.css">
<!--===============================================================================================-->
</head>
<script>
function checkPass() {
//Store the password field objects into variables ...
var password = document.getElementById('password');
var confirm = document.getElementById('confirmPassword');
//Store the Confirmation Message Object ...
var message = document.getElementById('confirmMessage');
//Set the colors we will be using ...
var good_color = "#66cc66";
var bad_color = "#ff6666";
//Compare the values in the password field
//and the confirmation field
if(password.value == confirm.value){
//The passwords match.
//Set the color to the good color and inform
//the user that they have entered the correct password
confirm.style.backgroundColor = good_color;
message.style.color = "#ffffff"
message.innerHTML = 'Password Match!';
}
else {
//The passwords do not match.
//Set the color to the bad color and
//notify the user.
confirm.style.backgroundColor = bad_color;
message.style.color = "#ffffff";
message.innerHTML = 'Password Do Not Match!';
}
}
</script>
<body>
<div class="limiter">
<div class="container-login100" style="background-image: url('assets/img/supercar-bg.jpg');">
<div class="wrap-login100">
<form class="login100-form validate-form" action="processSignUp.php" method="POST">
<span class="login100-form-logo">
<i class="zmdi zmdi-account"></i>
</span>
<span class="login100-form-title p-b-34 p-t-27">
Forgot Password?
</span>
<div class="wrap-input100 validate-input" data-validate = "Enter IC Number">
<input class="input100" type="text" name="userID" placeholder="IC Number" required>
<span class="focus-input100" data-placeholder=""></span>
</div>
<div class="wrap-input100 validate-input" data-validate="Enter password">
<input class="input100" type="password" name="password" id="password" placeholder="New Password" onkeyup="checkPass()" required>
<span class="focus-input100" data-placeholder=""></span>
</div>
<div class="wrap-input100 validate-input" data-validate="Enter password">
<input class="input100" type="password" name="confirmPassword" id="confirmPassword" placeholder="Confirm Password" onkeyup="checkPass()" required>
<span class="focus-input100" id="confirmMessage" data-placeholder=""></span>
</div>
<div class="container-login100-form-btn">
<button class="login100-form-btn" type="submit" name="updatePasswordButton">
Update
</button>
</div>
</form>
</div>
</div>
</div>
<div id="dropDownSelect1"></div>
<!--===============================================================================================-->
<script src="assets/vendor/jquery/jquery-3.2.1.min.js"></script>
<!--===============================================================================================-->
<script src="assets/vendor/animsition/js/animsition.min.js"></script>
<!--===============================================================================================-->
<script src="assets/vendor/bootstrap/js/popper.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.min.js"></script>
<!--===============================================================================================-->
<script src="assets/vendor/select2/select2.min.js"></script>
<!--===============================================================================================-->
<script src="assets/vendor/daterangepicker/moment.min.js"></script>
<script src="assets/vendor/daterangepicker/daterangepicker.js"></script>
<!--===============================================================================================-->
<script src="assets/vendor/countdowntime/countdowntime.js"></script>
<!--===============================================================================================-->
<script src="assets/js/main.js"></script>
</body>
</html>