12 lines
507 B
HTML
12 lines
507 B
HTML
{% 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>
|