aboutsummaryrefslogtreecommitdiffstats
path: root/web/command/html/home.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.net>2025-07-13 21:23:34 +0100
committerLeonardo Bishop <me@leonardobishop.net>2025-07-13 21:23:34 +0100
commit684787bcb72aece2aa914597a3bc8788432e66f7 (patch)
treea55fdcfc6f7f4d2f7ae86ba0a94e8d366f5c5cda /web/command/html/home.go
parentcdb75d3fcbc9339b897f8c6ff4d69a577f017393 (diff)
Add flags
Diffstat (limited to 'web/command/html/home.go')
-rw-r--r--web/command/html/home.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/command/html/home.go b/web/command/html/home.go
index f0e783d..490b2b8 100644
--- a/web/command/html/home.go
+++ b/web/command/html/home.go
@@ -25,6 +25,10 @@ func HomePage(siteIndex *index.SiteIndex) Node {
Text("Status"),
),
Span(
+ Class("header flags"),
+ Text("Flags"),
+ ),
+ Span(
Class("header actions"),
Text("Actions"),
),
@@ -41,6 +45,10 @@ func HomePage(siteIndex *index.SiteIndex) Node {
Text(site.EvaluateSiteStatus()),
),
Span(
+ Class("flags"),
+ Text(site.ConvertFlagsToString()),
+ ),
+ Span(
Class("actions"),
navButton("Details", fmt.Sprintf("/site/%s/", site.Name)),
),