first commit

This commit is contained in:
2025-12-06 07:47:30 +00:00
commit 17a0bf05cc
23 changed files with 1458 additions and 0 deletions

9
templates/login.html Normal file
View File

@@ -0,0 +1,9 @@
{{ define "content" }}
<form method="POST" class="max-w-md mx-auto bg-gray-800 p-6 rounded">
<input type="hidden" name="csrf_token" value="{{ .CSRFToken }}">
<input type="text" name="username" placeholder="Username" class="w-full mb-4 p-2 bg-gray-700 rounded" required>
<input type="password" name="password" placeholder="Password" class="w-full mb-4 p-2 bg-gray-700 rounded" required>
<input type="text" name="mfa_code" placeholder="MFA Code (if enabled)" class="w-full mb-4 p-2 bg-gray-700 rounded">
<button type="submit" class="w-full bg-blue-600 p-2 rounded">Login</button>
</form>
{{ end }}