added basic login support

This commit is contained in:
2025-10-12 00:21:32 +02:00
parent 0ab7c52cfc
commit 4b0a9bdd6d
8 changed files with 254 additions and 4 deletions

View File

@@ -56,6 +56,13 @@
</head>
<body>
<form hx-post="/login" hx-swap="none">
<input type="hidden" name="csrf_token" value="{{csrf_token}}">
<input name="email">
<input name="password" type="password">
<button>Login</button>
</form>
<div class="app-panel"
hx-get="/redirect?file=shadowrun.html"
hx-trigger="click"