Added ability to login

This commit is contained in:
2024-02-24 09:54:25 +01:00
parent 068bf045a7
commit 2e08600814
7 changed files with 102 additions and 46 deletions

8
web/templates/login.html Normal file
View File

@ -0,0 +1,8 @@
{{define "page-content"}}
<h2>Anmeldung</h2>
<form>
<input name="username" placeholder="Benutzername" type="text" />
<input name="password" placeholder="Passwort" type="password" />
<input type="submit" value="Anmelden" hx-post="/login/" hx-target="#page-content" />
</form>
{{end}}