mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fixed warning threshold
This commit is contained in:
parent
6684d5944e
commit
eca275d40a
@ -233,7 +233,7 @@ function setTempProgress(bar, percent) {
|
||||
barTempM = 0;
|
||||
barTempH = 0;
|
||||
} else if(percent <= criticalTemp) {
|
||||
barTempL = WarningTemp;
|
||||
barTempL = warningTemp;
|
||||
barTempM = percent - warningTemp;
|
||||
barTempH = 0;
|
||||
} else {
|
||||
@ -242,6 +242,7 @@ function setTempProgress(bar, percent) {
|
||||
barTempH = percent - criticalTemp;
|
||||
}
|
||||
|
||||
|
||||
$('#' + 'temperaturebarL' + bar).css('width', barTempL + '%').attr('aria-valuenow', barTempL);
|
||||
$('#' + 'temperaturebarM' + bar).css('width', barTempM + '%').attr('aria-valuenow', barTempM);
|
||||
$('#' + 'temperaturebarH' + bar).css('width', barTempH + '%').attr('aria-valuenow', barTempH);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user