From 70a41275c194420490378ac32c3f3e1793e49822 Mon Sep 17 00:00:00 2001 From: m1m1sha <18262227804@163.com> Date: Sat, 12 Oct 2024 20:17:45 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20display?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Display server tag and whether server supports relay --- easytier-gui/locales/cn.yml | 2 ++ easytier-gui/locales/en.yml | 2 ++ easytier-gui/src/components/Status.vue | 34 ++++++++++++++++++-------- easytier-gui/src/types/network.ts | 1 + 4 files changed, 29 insertions(+), 10 deletions(-) diff --git a/easytier-gui/locales/cn.yml b/easytier-gui/locales/cn.yml index f6936d2..da44a6c 100644 --- a/easytier-gui/locales/cn.yml +++ b/easytier-gui/locales/cn.yml @@ -72,6 +72,8 @@ loss_rate: 丢包率 status: version: 内核版本 local: 本机 + server: 服务器 + relay: 中继 run_network: 运行网络 stop_network: 停止网络 diff --git a/easytier-gui/locales/en.yml b/easytier-gui/locales/en.yml index 7f5a495..23bfdf7 100644 --- a/easytier-gui/locales/en.yml +++ b/easytier-gui/locales/en.yml @@ -71,6 +71,8 @@ loss_rate: Loss Rate status: version: Version local: Local + server: Server + relay: Relay run_network: Run Network stop_network: Stop Network diff --git a/easytier-gui/src/components/Status.vue b/easytier-gui/src/components/Status.vue index eb16ea2..27799e0 100644 --- a/easytier-gui/src/components/Status.vue +++ b/easytier-gui/src/components/Status.vue @@ -410,19 +410,33 @@ function showEventLogs() { {{ t('peer_info') }}