Global loading indicator

This commit is contained in:
2025-12-15 15:42:03 +01:00
parent fef5119a03
commit 3b75ea33b9
6 changed files with 36 additions and 20 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<h2>Einloggen</h2>
<form hx-post="/auth/login" hx-target="#main-frame" >
<form hx-post="/auth/login" hx-target="#main-frame">
<input type="text" name="user" placeholder="Nutzername" value="{{ username }}"><br>
<input type="password" name="pass" placeholder="Passphrase"><br>
<label>Automatisch abmelden in:</label>
+2 -2
View File
@@ -27,12 +27,12 @@
</head>
<body>
<div hx-get="/auth/headerbar" hx-trigger="load"></div>
<div class="htmx-indicator loading"></div>
<div class="htmx-indicator" id="loading"></div>
<h1>Kontrollverlust</h1>
<span>Verbuggte scheise hier. Komm hack mich doch, trau dich!</span>
<div id="uptime-counter"></div>
<div id="main-frame" hx-indicator="loading">
<div id="main-frame" hx-indicator="#loading">
{% block content %}{% endblock %}
</div>
</body>