1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-02 16:58:49 +09:00

[Client] Improve server home widget

This commit is contained in:
syuilo 2017-06-11 06:09:05 +09:00
parent 7c86b866bf
commit e971d5bd3e

View File

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