ui: dc/NodeView: mark only usage over 75% with a warning

As 60% is pretty low, and normally still OK and even wanted to have
(no need for having an over-dimensioned setup with lots of unused
resources).

Note, this is not a off-by-one, I want to compare real bigger > 75%

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-05-18 12:26:11 +02:00
parent ffc947807c
commit 2dcb6bb046

View File

@ -117,7 +117,7 @@ Ext.define('PVE.widget.ProgressBar', {
if (value > 0.89) { if (value > 0.89) {
me.addCls('critical'); me.addCls('critical');
} else if (value > 0.59) { } else if (value > 0.75) {
me.addCls('warning'); me.addCls('warning');
} }
}, },