feat: save guesses and show in admin page

This commit is contained in:
robin committed 2026-11-01 21:46:03 +01:00
1 parent 023152d417
commit 43185dee64
10 files changed
+414 -47

No files matched your search

+10 -3
View File
@@ -11,9 +11,16 @@
<header>
<div class="header-inner">
<a class="brand" href="{{ url_for('main.index') }}">AudioRating</a>
{% if session.get('name') %}
<span class="user">Angemeldet als {{ session['name'] }}</span>
{% endif %}
<div class="header-right">
{% if session.get('name') %}
<span class="user">Angemeldet als {{ session['name'] }}</span>
{% endif %}
{% if config.DEBUG %}
<form method="post" action="{{ url_for('main.debug_reset') }}">
<button type="submit" class="debug-reset" title="Nur im Debug-Modus sichtbar">Reset</button>
</form>
{% endif %}
</div>
</div>
</header>