Files
unifi-adblocker/templates/dashboard.html

10 lines
513 B
HTML

{{ define "content" }}
<div class="max-w-4xl mx-auto">
<h1 class="text-3xl font-bold mb-4">Dashboard</h1>
<p class="text-gray-300 mb-6">Welcome to {{ .AppName }}. Use the menu above to manage blocklists and domains.</p>
<form method="POST" action="/apply">
<input type="hidden" name="csrf_token" value="{{ .CSRFToken }}">
<button type="submit" class="bg-green-600 hover:bg-green-700 text-white font-bold py-2 px-4 rounded transition">Apply Changes</button>
</form>
</div>
{{ end }}