update colors

This commit is contained in:
Fornax committed 2020-09-15 15:02:20 +02:00
1 parent 906dd8cb3c
commit 2176d93ae8
1 file changed
+2 -2
+2 -2
View File
@@ -214,9 +214,9 @@ function getStats(order) {
<td>${formatDataVolume(v.free_space, 3)}</td>
<td>${formatDataVolume(v.min_free_space, 3)}</td>`
if (v.free_space < v.min_free_space) {
if (v.free_space < v.min_free_space/2) {
row.classList.add("highlight_red")
} else if (v.free_space < v.min_free_space*2) {
} else if (v.free_space < v.min_free_space) {
row.classList.add("highlight_blue")
} else {
row.classList.add("highlight_green")