Updated sessions,notifications

This commit is contained in:
2025-12-06 08:09:31 +00:00
parent a15ced34c0
commit d34e9284e2
17 changed files with 352 additions and 108 deletions

View File

@@ -1,8 +1,10 @@
{{ define "content" }}
<h1 class="text-2xl mb-4">Dashboard</h1>
<p>Welcome to Unifi Custom Blocklist Manager.</p>
<form method="POST" action="/apply">
<input type="hidden" name="csrf_token" value="{{ .CSRFToken }}">
<button type="submit" class="bg-green-600 p-2 rounded">Apply Changes</button>
</form>
<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 }}