Tidy the dashboard and setup pages, add one-click API keys
Test and publish / test (push) Successful in 20s
Test and publish / publish (push) Has been cancelled

Both pages share style.css and a top bar with Dashboard and Setup tabs.
The dashboard gains summary tiles, card sections and friendly kind names.
The setup page puts each collector in a collapsible section with its own
Generate key button, which picks a free name, copies the key and fills
it into that collector's steps. Command blocks get Copy buttons.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-14 21:32:57 +01:00
co-authored by Claude Opus 5.5
parent e6a93be15c
commit 13602272fc
6 changed files with 337 additions and 169 deletions
+1
View File
@@ -45,6 +45,7 @@ func New(s *store.Store, admin auth.Checker, loc *time.Location, log *slog.Logge
})
mux.HandleFunc("GET /readyz", srv.ready)
mux.HandleFunc("GET /tracker.user.js", web.UserScript)
mux.HandleFunc("GET /style.css", web.Style)
mux.Handle("GET /{$}", srv.adminPage(web.Page(web.Index)))
mux.Handle("GET /setup", srv.adminPage(web.Page(web.Setup)))