aboutsummaryrefslogtreecommitdiffstats
path: root/web/command/html/site.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/site.go
parentcdb75d3fcbc9339b897f8c6ff4d69a577f017393 (diff)
Add flags
Diffstat (limited to 'web/command/html/site.go')
-rw-r--r--web/command/html/site.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/web/command/html/site.go b/web/command/html/site.go
index b4239b1..7616e6b 100644
--- a/web/command/html/site.go
+++ b/web/command/html/site.go
@@ -25,7 +25,7 @@ func SitePage(mainConfig *config.MainConfig, site *site.Site) Node {
Class("control-group"),
navButton("Upload new version", "upload"),
- navButton("Disable site", "disable"),
+ navButton("Set flags", "flags"),
navButton("Delete site", "delete"),
),
),
@@ -65,8 +65,11 @@ func SitePage(mainConfig *config.MainConfig, site *site.Site) Node {
),
}),
- H2(Text("API endpoints")),
- P(Code(Text(fmt.Sprintf("http://%s/api/site/%s/upload", mainConfig.Command.Host, site.Name)))),
+ H2(Text("Information")),
+
+ P(Text("API endpoint for new versions: "), Code(Text(fmt.Sprintf("POST https://%s/api/site/%s/upload", mainConfig.Command.Host, site.Name)))),
+
+ P(Text("Data directory on system: "), Code(Text(site.Path))),
navButton("Go back", "/"),
)