mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-25 01:13:40 +01:00
Improve badge colors
This commit is contained in:
parent
1cbee5b732
commit
1a8452f375
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user