aboutsummaryrefslogtreecommitdiff
path: root/internal/server/templates
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-20 06:32:58 -0800
committerFuwn <[email protected]>2026-01-20 06:32:58 -0800
commita5e4fa5f372c6b2fb6e6194094015e5744c410dc (patch)
tree27378a93fdc8d27cebf79ca2c0e11480af68a8b6 /internal/server/templates
parentfeat: Add custom_head option for injecting HTML into head (diff)
downloadkaze-a5e4fa5f372c6b2fb6e6194094015e5744c410dc.tar.xz
kaze-a5e4fa5f372c6b2fb6e6194094015e5744c410dc.zip
feat: Add uptime tooltip showing last failure time and reason
Diffstat (limited to 'internal/server/templates')
-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 cd37584..c192a66 100644
--- a/internal/server/templates/index.html
+++ b/internal/server/templates/index.html
@@ -104,7 +104,7 @@
</div>
</div>
<div class="flex items-center gap-2 flex-shrink-0">
- <span class="text-sm font-medium {{if ge .UptimePercent 99.0}}text-emerald-600 dark:text-emerald-400{{else if ge .UptimePercent 95.0}}text-yellow-600 dark:text-yellow-400{{else}}text-red-600 dark:text-red-400{{end}}">{{formatUptime .UptimePercent}}</span>
+ <span class="text-sm font-medium {{if ge .UptimePercent 99.0}}text-emerald-600 dark:text-emerald-400{{else if ge .UptimePercent 95.0}}text-yellow-600 dark:text-yellow-400{{else}}text-red-600 dark:text-red-400{{end}}"{{if not $monitor.DisablePingTooltips}} data-tooltip='{{.UptimeTooltip}}'{{end}}>{{formatUptime .UptimePercent}}</span>
</div>
</div>
<!-- History Bar -->