forked from Kritika75/TheCawnporeMag.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreset-password.html
More file actions
47 lines (47 loc) · 2.07 KB
/
reset-password.html
File metadata and controls
47 lines (47 loc) · 2.07 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reset Password</title>
<link rel="stylesheet" href="styles/login.css">
<!-- Font Awesome for eye icon -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer">
</head>
<body>
<div class="container">
<h2>Set New Password</h2>
<p class="form-description">Please enter your new password below.</p>
<form id="reset-password-form">
<input type="hidden" id="token" value="">
<div class="input-group">
<label for="password">New Password</label>
<div class="password-field-container">
<input id="password" type="password" placeholder="New Password" required>
<button type="button" id="togglePassword" aria-label="Toggle password visibility">
<i class="fas fa-eye" aria-hidden="true"></i>
</button>
</div>
<div class="validation-message" id="password-validation"></div>
</div>
<div class="input-group">
<label for="confirm-password">Confirm Password</label>
<div class="password-field-container">
<input id="confirm-password" type="password" placeholder="Confirm Password" required>
<button type="button" id="toggleConfirmPassword" aria-label="Toggle password visibility">
<i class="fas fa-eye" aria-hidden="true"></i>
</button>
</div>
<div class="validation-message" id="confirm-password-validation"></div>
</div>
<button type="submit">Reset Password</button>
</form>
<p class="form-link"><a href="login.html">Back to Login</a></p>
</div>
<button class="back-button" onclick="window.location.href='index.html'"> ← Back To Home</button>
<script src="scripts/auth.js"></script>
<script src="scripts/reset-password.js"></script>
</body>
</html>