Not sure what I've done. I'm done. Please let me free
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div id="headerbar">
|
||||
<div class="headerbar-left">
|
||||
{% if loggedin %}
|
||||
<button hx-get="/auth/sessioninfo" hx-target="#main-frame">Username</button>
|
||||
<!--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>
|
||||
|
||||
Reference in New Issue
Block a user