Files
FireworksApp/templates/admin/login.html
T
2026-10-01 22:43:45 +02:00

2 lines
1.5 KiB
HTML

{% load i18n vite %}<!doctype html><html lang="{{ request.LANGUAGE_CODE|default:'en' }}"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>{% translate 'Log in' %} · Sound Signal</title>{% vite_asset "frontend/src/entries/admin-login.js" %}</head><body><main class="card"><div class="brand"><span class="mark">✦</span> Sound Signal</div><p class="eyebrow">{% trans "Secure access" %}</p><h1>{% trans "Welcome back." %}</h1><p class="intro">{% trans "Sign in to review pending audio samples and manage approved events." %}</p>{% if form.errors %}<div class="error">{% translate 'Your username and password did not match. Please try again.' %}</div>{% endif %}{% if user.is_authenticated %}<div class="error">{% blocktranslate trimmed %}You are authenticated as {{ username }}, but are not authorized to access this page. Would you like to log in to a different account?{% endblocktranslate %}</div>{% endif %}<form action="{{ app_path }}" method="post" id="login-form">{% csrf_token %}<label for="{{ form.username.id_for_label }}">{% translate 'Username' %}</label>{{ form.username }}<label for="{{ form.password.id_for_label }}">{% translate 'Password' %}</label>{{ form.password }}{% if next %}<input type="hidden" name="next" value="{{ next }}">{% endif %}<button type="submit">{% translate 'Sign in' %} <span aria-hidden="true">→</span></button></form><p class="foot">{% trans "Sound Signal administration" %}</p></main></body></html>