Files
wichteln/app/templates/admin_login.html
T
nico d56be7b2c0 Wichtel-Werkstatt: Secret-Santa-App mit Räumen, Ausschlüssen und Recovery-Links
- FastAPI + SQLite, serverseitig gerenderte Templates, mobil-zuerst
- Admin-Passwort, einseitige Ausschlüsse, eingefrorene Auslosung
- Teilnehmer sehen Ergebnis per Cookie; Einmal-Recovery-Links bei Verlust
- Docker/podman-tauglich (Entrypoint mit Privilegien-Drop, SELinux-:z)
- Unit-Tests für Auslosung, E2E-Testskript (30 Checks)
2026-08-05 16:07:21 +02:00

18 lines
652 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}
{% block title %}Admin-Login {{ room.name }}{% endblock %}
{% block content %}
<h1 class="room-title">{{ room.name }}</h1>
<section class="card">
<h2>Admin-Bereich 🔑</h2>
{% if error %}<div class="alert alert-error" role="alert">Das Passwort war leider falsch.</div>{% endif %}
<form method="post" action="/r/{{ room.code }}/admin/login" class="stack">
<label>
Admin-Passwort
<input type="password" name="password" required autofocus
autocomplete="current-password">
</label>
<button type="submit" class="btn btn-primary">Anmelden</button>
</form>
</section>
{% endblock %}