| {% extends "base.html" %} |
|
|
| {% block title %}Forgot Password - PyRunner{% endblock %} |
|
|
| {% block content %} |
| <div class="min-h-[calc(100vh-12rem)] flex items-center justify-center px-4 py-12"> |
| <div class="w-full max-w-md"> |
| <div class="text-center mb-10"> |
| <div class="w-16 h-16 bg-code-accent/20 rounded-2xl flex items-center justify-center mx-auto mb-6"> |
| <svg class="w-8 h-8 text-code-accent" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/> |
| </svg> |
| </div> |
| <h1 class="text-2xl font-bold text-code-text mb-2">Forgot Password</h1> |
| <p class="text-code-muted">Enter your email to receive a password reset link</p> |
| </div> |
|
|
| <div class="bg-code-surface border border-code-border rounded-xl p-8"> |
| <form method="post" class="space-y-5"> |
| {% csrf_token %} |
|
|
| <div> |
| <label for="email" class="block text-sm font-medium text-code-muted mb-2"> |
| Email address |
| </label> |
| <input |
| type="email" |
| id="email" |
| name="email" |
| required |
| autocomplete="email" |
| autofocus |
| placeholder="you@example.com" |
| class="w-full px-4 py-3 bg-code-bg border border-code-border rounded-lg text-code-text placeholder-code-muted/50 focus:outline-none focus:ring-2 focus:ring-code-accent/50 focus:border-code-accent transition-all" |
| > |
| </div> |
|
|
| <button |
| type="submit" |
| class="w-full py-3 px-4 bg-code-accent hover:bg-code-accent/90 text-white font-semibold rounded-lg transition-colors" |
| > |
| Send Reset Link |
| </button> |
| </form> |
|
|
| <div class="mt-6 text-center"> |
| <a href="{% url 'auth:login' %}" class="text-sm text-code-muted hover:text-code-accent transition-colors"> |
| Back to sign in |
| </a> |
| </div> |
| </div> |
| </div> |
| </div> |
| {% endblock %} |
|
|