42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Forgot Password — Website Checker</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
|
</head>
|
|
<body class="login-wrap">
|
|
<div class="login-box">
|
|
|
|
<div class="login-logo">
|
|
<span class="brand-icon">🌐</span>
|
|
<h1>Website Checker</h1>
|
|
<p>Password Reset</p>
|
|
</div>
|
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% for cat, msg in messages %}
|
|
<div class="alert alert-{{ cat }} mb-2">{{ msg }}</div>
|
|
{% endfor %}
|
|
{% endwith %}
|
|
|
|
<form method="post" action="{{ url_for('auth.forgot_password') }}">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
<div class="form-group">
|
|
<label for="email">Email Address</label>
|
|
<input type="email" id="email" name="email"
|
|
autocomplete="email" autofocus required
|
|
placeholder="your@email.com">
|
|
</div>
|
|
<button class="btn btn-primary w-full" type="submit">Send Reset Link</button>
|
|
</form>
|
|
|
|
<p style="text-align:center;margin-top:1rem;font-size:.875rem">
|
|
<a href="{{ url_for('auth.login') }}" style="color:var(--accent)">Back to sign in</a>
|
|
</p>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|