[Client] Improve server home widget

This commit is contained in:
syuilo 2017-06-11 06:09:05 +09:00
parent 7c86b866bf
commit e971d5bd3e
1 changed files with 6 additions and 6 deletions

View File

@ -267,9 +267,9 @@
<mk-server-home-widget-pie ref="pie"/>
<div>
<p><i class="fa fa-flask"></i>Memory</p>
<p>Total: { bytesToSize(total) }</p>
<p>Used: { bytesToSize(used) }</p>
<p>Free: { bytesToSize(free) }</p>
<p>Total: { bytesToSize(total, 1) }</p>
<p>Used: { bytesToSize(used, 1) }</p>
<p>Free: { bytesToSize(free, 1) }</p>
</div>
<style>
:scope
@ -333,9 +333,9 @@
<mk-server-home-widget-pie ref="pie"/>
<div>
<p><i class="fa fa-hdd-o"></i>Storage</p>
<p>Total: { bytesToSize(total) }</p>
<p>Available: { bytesToSize(available) }</p>
<p>Used: { bytesToSize(used) }</p>
<p>Total: { bytesToSize(total, 1) }</p>
<p>Available: { bytesToSize(available, 1) }</p>
<p>Used: { bytesToSize(used, 1) }</p>
</div>
<style>
:scope