Umbau-Projekt (SSR und Rest)

This commit is contained in:
2026-09-03 22:20:55 +02:00
parent 13363cb568
commit c66df283d1
37 changed files with 3719 additions and 344 deletions
+16
View File
@@ -0,0 +1,16 @@
{{define "content"}}
<section id="auth-box">
<form method="post" action="/auth/login">
<h2>Login</h2>
{{with .Err}}<p class="msg">{{.Msg}}</p>{{end}}
<label for="user">Nutzername</label>
<input id="user" name="user" autocomplete="username" required
{{if .Form}}value="{{.Form.User}}"{{end}}>
<label for="pass">Passwort</label>
<input id="pass" name="pass" type="password" autocomplete="current-password" required>
<input name="timeout" type="hidden" value="86400">
<button type="submit">Einloggen</button>
</form>
<p class="muted">Noch kein Konto? <a href="/auth/register">Registrieren</a></p>
</section>
{{end}}