Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
1. update storage size.
  • Loading branch information
LittleJake committed Sep 16, 2021
1 parent fb0550c commit fc821bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/index/view/index/info_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h4>CPU 15 Min</h4>
<div class="mdui-col-lg-3">
{volist name="json['Disk']" id="row"}
<h4>{$key}</h4>
<p>{$row.used} / {$row.total}</p>
<p>{$row.used} MB / {$row.total} MB</p>
<div id="disk_status_{$i}" class="line"></div>
{/volist}
</div>
Expand Down Expand Up @@ -213,7 +213,7 @@ <h4>{:lang('Swap')}</h4>
option.legend = {top: 30, data: Object.keys(e.load)};
Object.keys(e.load).forEach(function(k){
option.series.push({
name: k, type: 'line', smooth: true, symbol: 'none', sampling: 'average',
name: k + " MB", type: 'line', smooth: true, symbol: 'none', sampling: 'average',
areaStyle: {}, data: e.load[k]
});
});
Expand Down

0 comments on commit fc821bf

Please sign in to comment.