-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpassword-reset.php
More file actions
61 lines (55 loc) · 2.83 KB
/
Copy pathpassword-reset.php
File metadata and controls
61 lines (55 loc) · 2.83 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo htmlspecialchars($pageTitle); ?></title>
<link href="<?php echo $basePath; ?>/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet">
<link href="<?php echo $basePath; ?>/css/other.css" rel="stylesheet" type="text/css">
</head>
<body class="password-reset-page">
<div class="container">
<div class="auth-container">
<div class="auth-header">
<div class="auth-icon">
<i class="bi bi-key"></i>
</div>
<h1 class="auth-title">Reset Password</h1>
<p class="auth-subtitle">Enter your email address and we'll send you a link to reset your password.</p>
</div>
<?php if (isset($error) && !empty($error)): ?>
<div class="alert alert-danger" role="alert">
<i class="bi bi-exclamation-triangle me-2"></i>
<?= htmlspecialchars($error) ?>
</div>
<?php endif; ?>
<?php if (isset($message) && !empty($message)): ?>
<div class="alert alert-success" role="alert">
<i class="bi bi-check-circle me-2"></i>
<?= htmlspecialchars($message) ?>
</div>
<?php endif; ?>
<form action="<?php echo $basePath; ?>/password/reset" method="POST" novalidate>
<div class="mb-3">
<label for="email" class="form-label">
<i class="bi bi-envelope me-2"></i>Email Address
</label>
<input type="email" class="form-control" id="email" name="email" required autofocus>
</div>
<div class="d-grid mb-3">
<button type="submit" class="btn btn-warning">
<i class="bi bi-send me-2"></i>Send Reset Link
</button>
</div>
</form>
<div class="text-center">
<a href="<?php echo $basePath; ?>/login" class="auth-link">
<i class="bi bi-arrow-left me-1"></i>Back to Sign In
</a>
</div>
</div>
</div>
<script src="<?php echo $basePath; ?>/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>