aboutsummaryrefslogtreecommitdiff
path: root/weed/admin/view/app/template_helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/admin/view/app/template_helpers.go')
-rw-r--r--weed/admin/view/app/template_helpers.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/weed/admin/view/app/template_helpers.go b/weed/admin/view/app/template_helpers.go
index 04eebb272..eca78f136 100644
--- a/weed/admin/view/app/template_helpers.go
+++ b/weed/admin/view/app/template_helpers.go
@@ -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 {