admin page updates
This commit is contained in:
@@ -4,6 +4,11 @@ import "git.haelnorr.com/h/oslstats/internal/view/baseview"
|
||||
|
||||
templ DashboardLayout(activeSection string) {
|
||||
@baseview.Layout("Admin Dashboard") {
|
||||
<!-- Flatpickr CSS and JS (loaded globally for admin dashboard) -->
|
||||
<link rel="stylesheet" href="/static/vendored/flatpickr@4.6.13.min.css"/>
|
||||
<link rel="stylesheet" href="/static/css/flatpickr-catppuccin.css"/>
|
||||
<script src="/static/vendored/flatpickr@4.6.13.min.js" defer></script>
|
||||
|
||||
<div class="max-w-screen-2xl mx-auto px-2">
|
||||
<!-- Page Title -->
|
||||
<h1 class="text-2xl font-bold text-text mb-4">Admin Dashboard</h1>
|
||||
@@ -25,7 +30,7 @@ templ DashboardLayout(activeSection string) {
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/static/js/admin.js"></script>
|
||||
<script src="/static/js/admin.js" defer></script>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user