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,24 @@
{% extends 'base.html' %}
{% load allauth i18n %}
{% block head_title %}{% trans "Reauthenticate" %}{% endblock head_title %}
{% block content %}
<div class="container mx-auto max-w-md mt-6">
<p class="text-gray-700 mb-4">{% trans "Enter your password:" %}</p>
{% url 'account_reauthenticate' as action_url %}
<form method="post" action="{{ action_url }}" class="space-y-4">
{% csrf_token %}
{{ form.non_field_errors }}
{% for field in form %}
<div>
<label for="{{ field.id_for_label }}" class="block font-medium text-gray-700">{{ field.label }}</label>
{{ field }}
{{ field.errors }}
</div>
{% endfor %}
{{ redirect_field }}
<button type="submit" class="btn btn-primary w-full">{% trans "Confirm" %}</button>
</form>
</div>
{% endblock content %}