initial 1312 funktioniert ein bisschen
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<h2>Einloggen</h2>
|
||||
<form hx-post="/auth/login" hx-target="#auth-rendertarget" hx-indicator=".loading">
|
||||
<input type="text" name="user" placeholder="Nutzername" value="{{ username }}"><br>
|
||||
<input type="password" name="pass" placeholder="Passphrase"><br>
|
||||
<label>Automatisch abmelden in:</label>
|
||||
<select name="timeout">
|
||||
<option value="1200">20 Minuten</option>
|
||||
<option value="3600" selected="selected">1 Stunde</option>
|
||||
<option value="18000">5 Stunden</option>
|
||||
<option value="86400">24 Stunden</option>
|
||||
<option value="31536000">1 Jahr</option>
|
||||
</select>
|
||||
<button type="submit">Anmelden</button>
|
||||
<div>
|
||||
{{response}}
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user