12 lines
914 B
HTML
12 lines
914 B
HTML
{{ define "content" }}
|
|
<div class="flex items-center justify-center">
|
|
<form method="POST" class="max-w-md w-full mx-4 bg-gray-800 p-6 rounded">
|
|
<h2 class="text-2xl font-bold mb-6 text-center">Login</h2>
|
|
<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 text-white placeholder-gray-400" required>
|
|
<input type="password" name="password" placeholder="Password" class="w-full mb-4 p-2 bg-gray-700 rounded text-white placeholder-gray-400" required>
|
|
<input type="text" name="mfa_code" placeholder="MFA Code (if enabled)" class="w-full mb-6 p-2 bg-gray-700 rounded text-white placeholder-gray-400">
|
|
<button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold p-2 rounded transition">Login</button>
|
|
</form>
|
|
</div>
|
|
{{ end }} |