Refactored, redesigned Authmethods

This commit is contained in:
2025-12-15 14:28:12 +01:00
parent 2dcc389f4b
commit dc3ce5ca88
59 changed files with 667 additions and 294 deletions
+11
View File
@@ -0,0 +1,11 @@
{% if loggedin %}
<button hx-get="/auth/sessioninfo" hx-target="#main-frame">Username</button>
<button onclick="if(confirm('Abmelden?')){location.href = '/auth/logout';}">Abmelden</button>
{% else %}
<button hx-get="/auth/login" hx-target="#main-frame">Anmelden</button>
<button hx-get="/auth/newuser" hx-target="#main-frame">Neuen Account erstellen</button>
{% endif %}
<a href="/docs/impressum.html">Impressum</a>
<a href="/docs/datenschutz.html">Datenschutz</a>
<a href="/docs/kontakt.html">Kontakt</a>