From 484cdcf54e32c08d9be4c00fc9a43506e1f64a7a Mon Sep 17 00:00:00 2001 From: tiny-craft <137850705+tiny-craft@users.noreply.github.com> Date: Fri, 14 Jul 2023 11:36:07 +0800 Subject: [PATCH] feat: list all server info in server status page --- .../content_value/ContentServerStatus.vue | 121 ++++++++++++------ .../src/components/sidebar/ConnectionTree.vue | 2 +- frontend/src/langs/en.json | 3 +- frontend/src/langs/zh-cn.json | 3 +- 4 files changed, 88 insertions(+), 41 deletions(-) diff --git a/frontend/src/components/content_value/ContentServerStatus.vue b/frontend/src/components/content_value/ContentServerStatus.vue index c00f4ff..2dc7348 100644 --- a/frontend/src/components/content_value/ContentServerStatus.vue +++ b/frontend/src/components/content_value/ContentServerStatus.vue @@ -1,7 +1,10 @@ diff --git a/frontend/src/components/sidebar/ConnectionTree.vue b/frontend/src/components/sidebar/ConnectionTree.vue index c6fc3fe..a092a6d 100644 --- a/frontend/src/components/sidebar/ConnectionTree.vue +++ b/frontend/src/components/sidebar/ConnectionTree.vue @@ -29,7 +29,7 @@ const selectedKeys = ref([]) watch(selectedKeys, () => { const key = selectedKeys.value[0] - // try remove group name + // try to remove group name const kparts = split(key, '/') const len = size(kparts) if (len > 1) { diff --git a/frontend/src/langs/en.json b/frontend/src/langs/en.json index e8a5ba4..dfc87bb 100644 --- a/frontend/src/langs/en.json +++ b/frontend/src/langs/en.json @@ -141,5 +141,6 @@ "memory_used": "Memory", "unit_day": "D", "unit_hour": "H", - "unit_minute": "M" + "unit_minute": "M", + "all_info": "All Info" } diff --git a/frontend/src/langs/zh-cn.json b/frontend/src/langs/zh-cn.json index 762fc9e..0edae14 100644 --- a/frontend/src/langs/zh-cn.json +++ b/frontend/src/langs/zh-cn.json @@ -144,5 +144,6 @@ "memory_used": "内存使用", "unit_day": "天", "unit_hour": "小时", - "unit_minute": "分钟" + "unit_minute": "分钟", + "all_info": "所有信息" }