From 09540ab485b28e8166e590ae352e60f07bf09762 Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Thu, 23 Nov 2023 16:54:33 +0800 Subject: [PATCH 1/3] update monitor detail table ui layout --- .../monitor-data-table.component.html | 18 +++++++++++++++--- .../monitor-detail.component.html | 10 +++++++--- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html b/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html index 85411011350..919159eb9d2 100644 --- a/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html +++ b/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html @@ -1,4 +1,10 @@ - + @@ -19,7 +25,13 @@ - + @@ -50,7 +62,7 @@ - + {{ 'monitors.collect.time' | i18n }}:{{ time | _date : 'HH:mm:ss' }} diff --git a/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html b/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html index 3e86c03ea90..055043c9308 100644 --- a/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html +++ b/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html @@ -129,9 +129,13 @@ {{ 'monitors.detail.realtime' | i18n }}
-
- -
+
From 53f5ab218c8433b4d0bf43745159ac5eae538dce Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Thu, 23 Nov 2023 17:24:36 +0800 Subject: [PATCH 2/3] update monitor detail table ui layout --- .../monitor-data-chart.component.html | 20 ++++++++++--------- .../monitor-data-table.component.html | 4 ++-- .../monitor-detail.component.html | 20 +++++++++---------- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.html b/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.html index ffefdb04a96..bacaf2cef14 100644 --- a/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.html +++ b/web-app/src/app/routes/monitor/monitor-data-chart/monitor-data-chart.component.html @@ -1,9 +1,11 @@ -
+ +
+
diff --git a/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html b/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html index 919159eb9d2..1924ab34fec 100644 --- a/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html +++ b/web-app/src/app/routes/monitor/monitor-data-table/monitor-data-table.component.html @@ -1,7 +1,7 @@ @@ -28,7 +28,7 @@ diff --git a/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html b/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html index 055043c9308..0c4f984f88c 100644 --- a/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html +++ b/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html @@ -143,16 +143,16 @@ {{ 'monitors.detail.history' | i18n }} -
-
- -
+
+
From a71e0a1a7dc85bdbb11785026b979fb9e4f65360 Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Thu, 23 Nov 2023 18:03:16 +0800 Subject: [PATCH 3/3] update monitor detail table ui layout --- .../monitor-detail.component.html | 263 +++++++++--------- web-app/src/assets/i18n/en-US.json | 2 +- web-app/src/assets/i18n/zh-CN.json | 2 +- web-app/src/assets/i18n/zh-TW.json | 2 +- 4 files changed, 128 insertions(+), 141 deletions(-) diff --git a/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html b/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html index 0c4f984f88c..3f62e19f004 100644 --- a/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html +++ b/web-app/src/app/routes/monitor/monitor-detail/monitor-detail.component.html @@ -31,134 +31,132 @@ - - -
-

ID

-

{{ monitorId }}

-
-
-

{{ 'monitors.detail.name' | i18n }}

-

{{ monitor.name }}

-
-
-

HOST

-

{{ monitor.host }}

-
-
-

{{ 'monitors.detail.port' | i18n }}

-

{{ port }}

-
-
-

{{ 'monitors.detail.description' | i18n }}

-

{{ monitor.description }}

-
-
-

{{ 'monitors.detail.status' | i18n }}

-
- - - {{ 'monitor.status.un-manage' | i18n }} - - - - {{ 'monitor.status.available' | i18n }} - - - - {{ 'monitor.status.unavailable' | i18n }} - -
-
-
-

{{ 'monitor.intervals' | i18n }}

-

{{ monitor.intervals }}s

-
-
-

{{ 'common.new-time' | i18n }}

-

{{ monitor.gmtCreate | date : 'YYYY-MM-dd HH:mm:ss' }}

-
-
-

{{ 'common.edit-time' | i18n }}

-

{{ monitor.gmtUpdate | date : 'YYYY-MM-dd HH:mm:ss' }}

-
-
-
- - - - - - - - {{ 'monitors.detail.realtime' | i18n }} - -
- -
-
- - - - {{ 'monitors.detail.history' | i18n }} - -
- + + + + + + + {{ 'monitors.detail.realtime' | i18n }} + +
+
+ +
+

ID

+

{{ monitorId }}

+
+
+

{{ 'monitors.detail.name' | i18n }}

+

{{ monitor.name }}

+
+
+

HOST

+

{{ monitor.host }}

+
+
+

{{ 'monitors.detail.port' | i18n }}

+

{{ port }}

+
+
+

{{ 'monitors.detail.description' | i18n }}

+

{{ monitor.description }}

+
+
+

{{ 'monitors.detail.status' | i18n }}

+
+ + + {{ 'monitor.status.un-manage' | i18n }} + + + + {{ 'monitor.status.available' | i18n }} + + + + {{ 'monitor.status.unavailable' | i18n }} + +
+
+
+

{{ 'monitor.intervals' | i18n }}

+

{{ monitor.intervals }}s

+
+
+

{{ 'common.new-time' | i18n }}

+

{{ monitor.gmtCreate | date : 'YYYY-MM-dd HH:mm:ss' }}

+
+
+

{{ 'common.edit-time' | i18n }}

+

{{ monitor.gmtUpdate | date : 'YYYY-MM-dd HH:mm:ss' }}

+
+
- - - - - + +
+
+ + + + {{ 'monitors.detail.history' | i18n }} + +
+ +
+
+
+
+
@@ -171,17 +169,6 @@ -