From b59cc520f53eb241a60e53e9dd6fc82643f7e9ea Mon Sep 17 00:00:00 2001
From: ljmwkx <1340053001@qq.com>
Date: Tue, 18 Jun 2024 21:25:29 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
yuthon_tianhe/controllers/controllers.py | 8 ++++----
yuthon_tianhe/static/src/css/style.scss | 2 +-
yuthon_tianhe/static/src/css/web_login_style.css | 2 +-
yuthon_tianhe/views/left_login_template.xml | 2 +-
yuthon_tianhe/views/right_login_template.xml | 4 ++--
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/yuthon_tianhe/controllers/controllers.py b/yuthon_tianhe/controllers/controllers.py
index c50c31432..f7146d406 100644
--- a/yuthon_tianhe/controllers/controllers.py
+++ b/yuthon_tianhe/controllers/controllers.py
@@ -19,11 +19,11 @@ class YuThonLogin(OAuthLogin):
style = param_obj.get_param('login_background.style')
if style == 'left' and response.qcontext['response_template'] == 'web.login':
- response.qcontext['response_template'] = 'yuthon_login.left_login_template'
- response.template = 'yuthon_login.left_login_template'
+ response.qcontext['response_template'] = 'yuthon_tianhe.left_login_template'
+ response.template = 'yuthon_tianhe.left_login_template'
if style == 'right' and response.qcontext['response_template'] == 'web.login':
- response.qcontext['response_template'] = 'yuthon_login.right_login_template'
- response.template = 'yuthon_login.right_login_template'
+ response.qcontext['response_template'] = 'yuthon_tianhe.right_login_template'
+ response.template = 'yuthon_tianhe.right_login_template'
return response
diff --git a/yuthon_tianhe/static/src/css/style.scss b/yuthon_tianhe/static/src/css/style.scss
index 43a85e770..57084f1ce 100644
--- a/yuthon_tianhe/static/src/css/style.scss
+++ b/yuthon_tianhe/static/src/css/style.scss
@@ -128,7 +128,7 @@
max-width:100vw !important;
min-width: 85vw !important;
float: none;
- background-image: url(/yuthon_login/static/src/img/background.png);
+ background-image: url(/yuthon_tianhe/static/src/img/background.png);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
diff --git a/yuthon_tianhe/static/src/css/web_login_style.css b/yuthon_tianhe/static/src/css/web_login_style.css
index 37ab6884b..2f3923802 100644
--- a/yuthon_tianhe/static/src/css/web_login_style.css
+++ b/yuthon_tianhe/static/src/css/web_login_style.css
@@ -14,7 +14,7 @@
background-size: cover;
-webkit-filter: blur(0px);
z-index: -1;
- background-image: url(/yuthon_login/static/src/img/background.png);
+ background-image: url(/yuthon_tianhe/static/src/img/background.png);
}
.body_login {
display: inline-block;
diff --git a/yuthon_tianhe/views/left_login_template.xml b/yuthon_tianhe/views/left_login_template.xml
index 7ee1cc96a..eaa2319ea 100644
--- a/yuthon_tianhe/views/left_login_template.xml
+++ b/yuthon_tianhe/views/left_login_template.xml
@@ -29,7 +29,7 @@
-
+
-
-
+
+