From 1f3f5f0566409d39d64016038ee81efd2bec06fa Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Jun 2017 02:24:32 +0900 Subject: [PATCH] [Client] Improve server home widget --- .../app/desktop/tags/home-widgets/server.tag | 123 ++++++++++++++++-- 1 file changed, 111 insertions(+), 12 deletions(-) diff --git a/src/web/app/desktop/tags/home-widgets/server.tag b/src/web/app/desktop/tags/home-widgets/server.tag index c0187edcb..44249352e 100644 --- a/src/web/app/desktop/tags/home-widgets/server.tag +++ b/src/web/app/desktop/tags/home-widgets/server.tag @@ -2,8 +2,9 @@

%i18n:desktop.tags.mk-server-home-widget.title%

%i18n:common.loading%

- - + + + - + - CPU { cpuP }% + CPU { cpuP }% - MEM { memP }% + MEM { memP }% - + + + + + + + { p }% + +
+

Storage

+

Total: { bytesToSize(total) }

+

Available: { bytesToSize(available) }

+

Used: { bytesToSize(used) }

+
+ + +

Maintainer: { meta.maintainer }

@@ -183,4 +283,3 @@ this.meta = this.opts.meta;
-