Login für eingeladene Prüflinge implementiert

This commit is contained in:
2023-10-10 20:57:53 +02:00
parent 608879d008
commit 726c8b6dcb
3 changed files with 50 additions and 2 deletions

16
templates/login.html Normal file
View File

@ -0,0 +1,16 @@
{{ define "content" }}
<form>
<h2>Login</h2>
<label for="login-input">Code</label>
<input type="text" name="login" id="login-input" />
<button type="submit" hx-post="/external-login/" hx-target="#content">
Anmelden
</button>
<button type="submit" hx-post="/internal-login/" hx-target="#content">
Intern
</button>
</form>
{{ end }}