Add partial email support and todo list

This commit is contained in:
2026-08-29 19:57:31 +03:00
parent d93690a36b
commit 8a2cbe5b8b
12 changed files with 187 additions and 10 deletions
+13
View File
@@ -0,0 +1,13 @@
{% extends 'base.html' %}
{% block title %}Password | Eternity Project{% endblock %}
{% block content %}
<section class="auth-layout">
<div class="auth-copy"><span class="signal-label">ACCOUNT SECURITY</span><h1>{% if mode == 'forgot' %}Recover the<br>signal.{% elif mode == 'reset' %}Set a new<br>password.{% else %}Update your<br>password.{% endif %}</h1><p>{% if mode == 'forgot' %}Enter the email address connected to your account. A secure reset link will arrive by email.{% else %}Choose a password with at least 10 characters.{% endif %}</p></div>
<form class="auth-form" method="post">
{% if mode == 'forgot' %}<label>Email<input name="email" type="email" autocomplete="email" required placeholder="you@example.com"></label>{% endif %}
{% if mode == 'change' %}<label>Current password<input name="current_password" type="password" autocomplete="current-password" required></label>{% endif %}
{% if mode != 'forgot' %}<label>New password<input name="password" type="password" autocomplete="new-password" required minlength="10" placeholder="10+ characters"></label>{% endif %}
<button class="button" type="submit">{% if mode == 'forgot' %}Send reset link{% else %}Save password{% endif %} <span aria-hidden="true">→</span></button>
</form>
</section>
{% endblock %}