mirror of
https://github.com/unraid/webgui.git
synced 2026-01-07 01:59:52 -06:00
Dashboard: add missing ')'
This commit is contained in:
@@ -1513,9 +1513,9 @@ dashboard.on('message',function(msg,meta) {
|
||||
var color = setColor(load,<?=$display['critical']?>,<?=$display['warning']?>);
|
||||
$('.sys0_').text(v[0]);
|
||||
$('#sys0_').finish().animate({width:v[0]},{step:function(){$('#sys0_').css('overflow','visible').removeClass().addClass(color);}});
|
||||
$('#sys0').css({'background':'conic-gradient(<?=$c1?> 0% '+v[2]+',<?=$c2?> '+v[2]+' '+v[3]+',<?=$c3?> '+v[3]+' '+v[0]+',<?=$c0?> '+v[0]+' 100%'});
|
||||
$('#sys0').css({'background':'conic-gradient(<?=$c1?> 0% '+v[2]+',<?=$c2?> '+v[2]+' '+v[3]+',<?=$c3?> '+v[3]+' '+v[0]+',<?=$c0?> '+v[0]+' 100%)'});
|
||||
} else {
|
||||
$('#sys'+k).css({'background':'conic-gradient(<?=$c1?> 0% '+v[0]+',<?=$c0?> '+v[0]+' 100%'});
|
||||
$('#sys'+k).css({'background':'conic-gradient(<?=$c1?> 0% '+v[0]+',<?=$c0?> '+v[0]+' 100%)'});
|
||||
}
|
||||
});
|
||||
<?if ($fans):?>
|
||||
|
||||
Reference in New Issue
Block a user