First pass at converting unstyled templates to match site style

This commit is contained in:
badblocks 2025-03-12 13:19:14 -07:00
parent 68932b75b6
commit 6e4c6040bd
28 changed files with 426 additions and 411 deletions

View file

@ -0,0 +1,25 @@
{% extends 'base.html' %}
{% load i18n %}
{% load allauth account %}
{% block head_title %}{% trans "Password Reset" %}{% endblock head_title %}
{% block content %}
<div class="container mx-auto max-w-md mt-6">
<h1 class="text-3xl font-bold text-center mb-6">{% trans "Enter Password Reset Code" %}</h1>
<p class="text-center mb-4">
<a class="text-primary underline" href="mailto:{{ email }}">{{ email }}</a>
</p>
{% url 'account_confirm_password_reset_code' as action_url %}
<form method="post" action="{{ action_url }}" class="space-y-4">
{% csrf_token %}
{{ form.non_field_errors }}
<div>
<label for="{{ form.code.id_for_label }}" class="block font-medium text-gray-700">{% trans "Reset Code" %}</label>
{{ form.code }}
{{ form.code.errors }}
</div>
<button type="submit" class="btn btn-primary w-full">{% trans "Confirm" %}</button>
</form>
</div>
{% endblock content %}