aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-20 05:53:19 -0800
committerFuwn <[email protected]>2026-01-20 05:53:19 -0800
commit8b2feace0014fecc316e4c21235ca452e84c249b (patch)
treed2f12b4fb3e492bef40cac40178bf0592b78d1b8
parentstyle: Use arrow icons for tab title status (diff)
downloadkaze-8b2feace0014fecc316e4c21235ca452e84c249b.tar.xz
kaze-8b2feace0014fecc316e4c21235ca452e84c249b.zip
style: Update tab title format to show up/down counts
-rw-r--r--internal/server/templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/templates/index.html b/internal/server/templates/index.html
index 0b855d5..6b28edb 100644
--- a/internal/server/templates/index.html
+++ b/internal/server/templates/index.html
@@ -12,7 +12,7 @@
{{end}}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>{{if eq .OverallStatus "All Systems Operational"}}↑{{else if eq .OverallStatus "Partial Outage"}}↓{{.StatusCounts.Degraded}}{{else}}↓{{.StatusCounts.Down}}{{end}} {{.Site.Name}}</title>
+ <title>{{.Site.Name}} [↑{{.StatusCounts.Up}}{{if gt .StatusCounts.Down 0}}/{{.StatusCounts.Down}}↓{{end}}]</title>
<meta name="description" content="{{.Site.Description}}">
{{if .Site.Favicon}}
<link rel="icon" href="{{.Site.Favicon}}">