From 1fcc21839a5a9d007229c50e876a6e2a0b0c64d2 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Mon, 9 Jan 2023 14:30:49 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=B8=80=E4=BA=9B=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/app-status/index.vue | 36 ++++++++----------- .../src/components/complex-table/index.vue | 2 +- .../src/components/drawer-header/index.vue | 13 ++++--- frontend/src/components/status/index.vue | 25 ++++++++++--- .../views/website/website/backup/index.vue | 2 +- .../website/config/safety/ccdeny/index.vue | 2 +- .../config/safety/file-block-list/index.vue | 2 +- .../website/config/safety/ip-list/index.vue | 2 +- .../config/safety/value-list/index.vue | 2 +- frontend/src/views/website/website/index.vue | 4 +-- .../views/website/website/status/index.vue | 7 ++-- .../views/website/website/upload/index.vue | 2 +- 12 files changed, 55 insertions(+), 44 deletions(-) diff --git a/frontend/src/components/app-status/index.vue b/frontend/src/components/app-status/index.vue index a36cd42c7..1f466872e 100644 --- a/frontend/src/components/app-status/index.vue +++ b/frontend/src/components/app-status/index.vue @@ -3,26 +3,14 @@
- -
- {{ data.app }} -
+ + {{ data.app }} + + + {{ $t('app.version') }}:{{ data.version }} + - -
- {{ $t('app.version') }}: - {{ data.version }} -
-
- -
- {{ $t('commons.table.status') }}: - - - -
-
- + {{ $t('app.up') }} @@ -30,12 +18,14 @@ {{ $t('app.down') }} - {{ $t('app.restart') }} + + {{ $t('app.restart') }} + {{ $t('commons.button.set') }} @@ -145,4 +135,8 @@ onMounted(() => { body { margin: 0; } + +.status-content { + margin-left: 50px; +} diff --git a/frontend/src/components/complex-table/index.vue b/frontend/src/components/complex-table/index.vue index 76e0db45a..703db07cd 100644 --- a/frontend/src/components/complex-table/index.vue +++ b/frontend/src/components/complex-table/index.vue @@ -41,7 +41,7 @@ diff --git a/frontend/src/components/status/index.vue b/frontend/src/components/status/index.vue index b2976781a..79eb9260e 100644 --- a/frontend/src/components/status/index.vue +++ b/frontend/src/components/status/index.vue @@ -1,7 +1,9 @@