From e82b40f5b71930dc8bd60c805f1c3bb12b4ab353 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Mon, 9 Jan 2023 10:38:54 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BF=AE=E6=94=B9=E7=BD=91=E7=AB=99?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wordpress/versions/6.0.1/config.json | 2 +- apps/wordpress/versions/6.0.2/config.json | 2 +- cmd/server/nginx_conf/ssl.conf | 2 +- cmd/server/nginx_conf/website_default.conf | 1 - .../components/app-layout/footer/index.scss | 8 +- .../components/app-layout/footer/index.vue | 18 +- frontend/src/components/app-status/index.vue | 9 +- frontend/src/components/back-button/index.vue | 11 +- .../src/components/container-log/index.vue | 2 +- .../src/components/drawer-header/index.vue | 19 ++ frontend/src/config/nprogress.ts | 10 +- frontend/src/lang/modules/zh.ts | 5 + frontend/src/layout/index.scss | 5 +- frontend/src/layout/index.vue | 14 +- frontend/src/layout/layout-content.vue | 69 +++-- frontend/src/layout/layout-view.vue | 8 +- frontend/src/styles/common.scss | 14 +- frontend/src/styles/var.scss | 2 +- frontend/src/views/website/ssl/index.vue | 20 +- .../views/website/website/backup/index.vue | 70 ++--- .../website/website/config/basic/index.vue | 4 +- .../views/website/website/config/index.vue | 60 ++-- .../website/website/config/log/index.vue | 2 +- .../website/config/log/log-fiile/index.vue | 2 +- .../website/website/config/resource/index.vue | 10 +- .../website/config/resource/nginx/index.vue | 2 +- .../website/website/config/safety/index.vue | 2 +- .../views/website/website/create/index.vue | 62 ++-- .../src/views/website/website/group/index.vue | 16 +- frontend/src/views/website/website/index.vue | 271 +++++++++--------- .../src/views/website/website/nginx/index.vue | 53 ++-- .../website/nginx/performance/index.vue | 102 ++++--- .../website/website/nginx/source/index.vue | 2 +- .../views/website/website/status/index.vue | 59 ++++ .../views/website/website/upload/index.vue | 124 ++++---- 35 files changed, 631 insertions(+), 431 deletions(-) create mode 100644 frontend/src/components/drawer-header/index.vue create mode 100644 frontend/src/views/website/website/status/index.vue diff --git a/apps/wordpress/versions/6.0.1/config.json b/apps/wordpress/versions/6.0.1/config.json index 28c4bfdbd..3b80651c0 100644 --- a/apps/wordpress/versions/6.0.1/config.json +++ b/apps/wordpress/versions/6.0.1/config.json @@ -35,7 +35,7 @@ }, { "type": "number", - "labelZh": "端口", + "labelZh": "应用端口", "labelEn": "Port", "required": true, "default": 8080, diff --git a/apps/wordpress/versions/6.0.2/config.json b/apps/wordpress/versions/6.0.2/config.json index 28c4bfdbd..3b80651c0 100644 --- a/apps/wordpress/versions/6.0.2/config.json +++ b/apps/wordpress/versions/6.0.2/config.json @@ -35,7 +35,7 @@ }, { "type": "number", - "labelZh": "端口", + "labelZh": "应用端口", "labelEn": "Port", "required": true, "default": 8080, diff --git a/cmd/server/nginx_conf/ssl.conf b/cmd/server/nginx_conf/ssl.conf index 95687972f..159d20c10 100644 --- a/cmd/server/nginx_conf/ssl.conf +++ b/cmd/server/nginx_conf/ssl.conf @@ -6,4 +6,4 @@ ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; add_header Strict-Transport-Security "max-age=31536000"; -error_page 497 https://$host$request_uri; \ No newline at end of file +error_page 497 https://$host$request_uri; diff --git a/cmd/server/nginx_conf/website_default.conf b/cmd/server/nginx_conf/website_default.conf index ac1c39ed8..d73b00817 100644 --- a/cmd/server/nginx_conf/website_default.conf +++ b/cmd/server/nginx_conf/website_default.conf @@ -8,7 +8,6 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-Proto https; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; diff --git a/frontend/src/components/app-layout/footer/index.scss b/frontend/src/components/app-layout/footer/index.scss index 1ed01f58f..7c1790ce5 100644 --- a/frontend/src/components/app-layout/footer/index.scss +++ b/frontend/src/components/app-layout/footer/index.scss @@ -1,5 +1,5 @@ .footer { - height: 30px; + height: 45px; background: #ffffff; border-top: 1px solid #e4e7ed; a { @@ -8,4 +8,10 @@ text-decoration: none; letter-spacing: 0.5px; } + span { + font-size: 14px; + color: #858585; + text-decoration: none; + letter-spacing: 0.5px; + } } diff --git a/frontend/src/components/app-layout/footer/index.vue b/frontend/src/components/app-layout/footer/index.vue index f67fe13e4..e0adf6890 100644 --- a/frontend/src/components/app-layout/footer/index.vue +++ b/frontend/src/components/app-layout/footer/index.vue @@ -2,11 +2,25 @@
-