diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index 4c72540..7c3a89e 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -362,6 +362,7 @@ } } } catch(e) { console.error('renderNodes error:', e); } + } function bar(v) { return v < 60 ? 'bar-green' : (v < 85 ? 'bar-yellow' : 'bar-red'); } function fmtSizeGB(p) { var u=p.used_gb||0, t=p.total_gb||0; return fmtSize(u*1073741824)+' / '+fmtSize(t*1073741824); }