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 @@
-
+
-
-
+
+