Updated sessions,notifications
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
{{ 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>
|
||||
<div class="min-h-screen 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 }}
|
||||
Reference in New Issue
Block a user