mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-10-04 12:48:36 +00:00
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:
parent
ffc947807c
commit
2dcb6bb046
@ -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');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user