From be57af065d302c6ea29016532fd1c416fa19fabe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=B6=E7=88=B8?= Date: Tue, 10 Dec 2019 15:49:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E9=9A=94=E7=AC=A6?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/template/page/home.html | 45 +++++++++++--------------------- 1 file changed, 15 insertions(+), 30 deletions(-) diff --git a/resource/template/page/home.html b/resource/template/page/home.html index ef1e362..c9bff81 100644 --- a/resource/template/page/home.html +++ b/resource/template/page/home.html @@ -7,33 +7,19 @@
- + :class="server.Host.CountryCode + ' flag'"> @#server.Name#@
@@ -67,9 +53,9 @@
网络
- /s + @#server.State.NetInSpeed#@/s - /s + @#server.State.NetOutSpeed#@/s
硬盘
@@ -82,8 +68,7 @@
在线
- - + @#server.State.Uptime#@
@@ -97,7 +82,7 @@ const servers = {{.Servers }}; var statusCards = new Vue({ el: 'div.status.cards', - delimiters: [''], + delimiters: ['@#', '#@'], data: { servers, },