weed admin: remove system health status

This commit is contained in:
chrislu
2025-07-02 23:57:36 -07:00
parent e89941f390
commit 2cfe079a1f
5 changed files with 127 additions and 213 deletions

View File

@@ -19,22 +19,6 @@ func getStatusColor(status string) string {
}
}
// getHealthColor returns Bootstrap color class for health status
func getHealthColor(health string) string {
switch health {
case "excellent":
return "success"
case "good":
return "primary"
case "fair":
return "warning"
case "poor":
return "danger"
default:
return "secondary"
}
}
// formatBytes converts bytes to human readable format
func formatBytes(bytes int64) string {
if bytes == 0 {