mirror of
https://github.com/TwiN/gatus.git
synced 2026-02-04 12:56:48 +00:00
Improve badge colors
This commit is contained in:
@@ -113,7 +113,7 @@ func getBadgeColorFromUptime(uptime float64) string {
|
||||
return "#ccc311"
|
||||
} else if uptime >= 0.8 {
|
||||
return "#ccb311"
|
||||
} else if uptime >= 0.5 {
|
||||
} else if uptime >= 0.65 {
|
||||
return "#cc8111"
|
||||
}
|
||||
return "#c7130a"
|
||||
|
||||
Reference in New Issue
Block a user