SpreadSheets600's picture
Add admin edit flows and improve mobile admin layouts
ef710c0
{% extends "base.html" %}
{% block content %}
<div class="max-w-7xl mx-auto px-4 sm:px-6">
<div class="min-h-[70vh] flex flex-col justify-center">
<div class="text-center mb-12">
<h1 class="font-display text-4xl sm:text-6xl font-bold tracking-tight mb-4">
<span class="bg-gradient-to-r from-purple-400 to-pink-500 bg-clip-text text-transparent">
Admin Access
</span>
</h1>
<p class="font-mono text-gray-400">Enter secret code to verify</p>
</div>
<form method="POST" class="glass p-8 rounded-2xl max-w-md mx-auto">
<div class="mb-6">
<label class="block font-mono text-sm text-gray-400 mb-2">Secret Code</label>
<input type="password" name="code" required
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">
</div>
<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">
Verify
</button>
</form>
<div class="text-center mt-6">
<a href="{{ url_for('main.index') }}" class="font-mono text-sm text-gray-400 hover:text-blue-400 transition">
Back to Home
</a>
</div>
</div>
</div>
{% endblock %}