From ae774dba61387376725d8423f449fcdb74f41f62 Mon Sep 17 00:00:00 2001 From: Eric Zhao Date: Thu, 14 Mar 2019 12:51:24 +0800 Subject: [PATCH] dashboard: update machine list page Signed-off-by: Eric Zhao --- .../main/webapp/resources/app/styles/main.css | 4 ++++ .../webapp/resources/app/views/machine.html | 19 +++---------------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/sentinel-dashboard/src/main/webapp/resources/app/styles/main.css b/sentinel-dashboard/src/main/webapp/resources/app/styles/main.css index f6073368..bb1db2bf 100755 --- a/sentinel-dashboard/src/main/webapp/resources/app/styles/main.css +++ b/sentinel-dashboard/src/main/webapp/resources/app/styles/main.css @@ -533,6 +533,10 @@ body { max-width: 300px; } +.width-300 { + max-width: 300px; +} + .card.highlight { border-color: #d9534f; } diff --git a/sentinel-dashboard/src/main/webapp/resources/app/views/machine.html b/sentinel-dashboard/src/main/webapp/resources/app/views/machine.html index 3cf69e59..6cfcff9c 100755 --- a/sentinel-dashboard/src/main/webapp/resources/app/views/machine.html +++ b/sentinel-dashboard/src/main/webapp/resources/app/views/machine.html @@ -1,14 +1,3 @@ - - - - - - - - - - -
{{app}} @@ -26,10 +15,8 @@
机器列表 - 实例总数 {{machines.length}}, 健康 {{healthyCount}}, 失联 {{machines.length-healthyCount}}. - - - + 实例总数 {{machines.length}}, 健康 {{healthyCount}}, 失联 {{machines.length - healthyCount}}. +
@@ -57,7 +44,7 @@ 失联 {{entry.lastHeartbeat | date: 'yyyy/MM/dd HH:mm:ss'}} - +