From df31f71879c5d00af6d682ba2f8bb34ffffc561c Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Wed, 7 Dec 2022 16:06:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=20AppStatus=20?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/app-status/index.vue | 49 +++++-- frontend/src/lang/modules/zh.ts | 4 +- frontend/src/styles/common.scss | 37 ++++-- frontend/src/views/website/website/index.vue | 125 ++++++++++-------- .../src/views/website/website/nginx/index.vue | 22 +-- .../website/website/nginx/status/index.vue | 10 ++ 6 files changed, 159 insertions(+), 88 deletions(-) diff --git a/frontend/src/components/app-status/index.vue b/frontend/src/components/app-status/index.vue index a9e01dbe5..f66565855 100644 --- a/frontend/src/components/app-status/index.vue +++ b/frontend/src/components/app-status/index.vue @@ -3,7 +3,7 @@
- +
{{ data.app }}
@@ -18,18 +18,20 @@
{{ $t('commons.table.status') }}: - +
- -
- {{ $t('website.lastBackupAt') }}: - {{ data.lastBackupAt }} - {{ $t('website.null') }} -
-
+ + {{ $t('app.up') }} + + + {{ $t('app.down') }} + + + {{ $t('app.restart') }} + {{ $t('commons.button.set') }}
@@ -45,10 +47,12 @@