Spaces:
Runtime error
Runtime error
Commit ·
04c1d08
1
Parent(s): 3ab695a
feat: add admin verification template with secret code input
Browse files
app/templates/admin/verify.html
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% extends "base.html" %}
|
| 2 |
+
|
| 3 |
+
{% block content %}
|
| 4 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6">
|
| 5 |
+
<div class="min-h-[70vh] flex flex-col justify-center">
|
| 6 |
+
<div class="text-center mb-12">
|
| 7 |
+
<h1 class="font-display text-6xl font-bold tracking-tight mb-4">
|
| 8 |
+
<span class="bg-gradient-to-r from-purple-400 to-pink-500 bg-clip-text text-transparent">
|
| 9 |
+
Admin Access
|
| 10 |
+
</span>
|
| 11 |
+
</h1>
|
| 12 |
+
<p class="font-mono text-gray-400">Enter secret code to verify</p>
|
| 13 |
+
</div>
|
| 14 |
+
|
| 15 |
+
<form method="POST" class="glass p-8 rounded-2xl max-w-md mx-auto">
|
| 16 |
+
<div class="mb-6">
|
| 17 |
+
<label class="block font-mono text-sm text-gray-400 mb-2">Secret Code</label>
|
| 18 |
+
<input type="password" name="code" required
|
| 19 |
+
class="w-full bg-white/5 border border-white/10 rounded-xl px-4 py-3 font-mono focus:outline-none focus:border-purple-500 transition">
|
| 20 |
+
</div>
|
| 21 |
+
|
| 22 |
+
<button type="submit" class="w-full btn-magnetic glass px-6 py-4 rounded-xl font-mono font-semibold border-2 border-purple-500/50 hover:border-purple-400 animate-glow">
|
| 23 |
+
Verify
|
| 24 |
+
</button>
|
| 25 |
+
</form>
|
| 26 |
+
|
| 27 |
+
<div class="text-center mt-6">
|
| 28 |
+
<a href="{{ url_for('main.index') }}" class="font-mono text-sm text-gray-400 hover:text-blue-400 transition">
|
| 29 |
+
Back to Home
|
| 30 |
+
</a>
|
| 31 |
+
</div>
|
| 32 |
+
</div>
|
| 33 |
+
</div>
|
| 34 |
+
{% endblock %}
|