Compare commits
No commits in common. "9c247ab3cfcbc66086606c7e829f0187a559e21b" and "eef24582b28c9c04fa69c85497b054c0b65524db" have entirely different histories.
9c247ab3cf
...
eef24582b2
@ -268,7 +268,6 @@ class AdminSystem {
|
||||
`<div class="sys-net-legend"><span><i class="dot ok"></i>↓ ${this.rate(lastRx)}</span><span><i class="dot accent"></i>↑ ${this.rate(lastTx)}</span></div>`,
|
||||
'rx / tx', 'net_rx')}
|
||||
${this.chartCard('Load (1m)', C.areaChart(this.series('load1'), { color: 'accent', fmt: v => v.toFixed(2) }), `${cpu.cores || '?'} cores`, 'load1')}
|
||||
${this.chartCard('Disk usage', C.areaChart(this.series('disk'), { color: 'status-success', max: 100, fmt: v => `${Math.round(v)}%` }), 'root %', 'disk')}
|
||||
${hasSwap ? this.chartCard('Swap usage', C.areaChart(this.series('swap'), { color: 'status-warning', max: 100, fmt: v => `${Math.round(v)}%` }), 'last %', 'swap') : ''}
|
||||
</div>`;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user