From 9c0825ce700c7bb7bc00bd3bf190fd975853ab1f Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 15 Dec 2015 16:46:14 +0800 Subject: [PATCH] fix more role open exec window width bug --- juser/views.py | 2 +- templates/jasset/asset_cu_list.html | 2 +- templates/jasset/asset_detail.html | 2 +- templates/jasset/asset_list.html | 2 +- templates/test.html | 34 +++++++++-------------------- 5 files changed, 14 insertions(+), 28 deletions(-) diff --git a/juser/views.py b/juser/views.py index 06ac121a3..f72cd4432 100644 --- a/juser/views.py +++ b/juser/views.py @@ -271,7 +271,7 @@ def send_mail_retry(request): msg = u""" 跳板机地址: %s 用户名:%s - 重设密码:%s/juser/forget_password/ + 重设密码:%s/juser/password/forget/ 请登录web点击个人信息页面重新生成ssh密钥 """ % (URL, user.username, URL) diff --git a/templates/jasset/asset_cu_list.html b/templates/jasset/asset_cu_list.html index cd3c69eb8..24e6144c4 100644 --- a/templates/jasset/asset_cu_list.html +++ b/templates/jasset/asset_cu_list.html @@ -242,7 +242,7 @@ type: 2, title: title, maxmin: true, - area: ['725x', '600px'], + area: ['725px', '600px'], shade: false, content: new_url }); diff --git a/templates/jasset/asset_detail.html b/templates/jasset/asset_detail.html index 48de38e8f..d3d0e8fb8 100644 --- a/templates/jasset/asset_detail.html +++ b/templates/jasset/asset_detail.html @@ -238,7 +238,7 @@ {% for rule in user_rule_perm %} {{ rule }} - 详情 + 详情 {% endfor %} diff --git a/templates/jasset/asset_list.html b/templates/jasset/asset_list.html index f534e7035..404be5ec0 100644 --- a/templates/jasset/asset_list.html +++ b/templates/jasset/asset_list.html @@ -306,7 +306,7 @@ type: 2, title: title, maxmin: true, - area: ['725x', '600px'], + area: ['725px', '600px'], shade: false, content: new_url }); diff --git a/templates/test.html b/templates/test.html index cc24d4ffe..8e0eb8eb8 100644 --- a/templates/test.html +++ b/templates/test.html @@ -54,11 +54,11 @@
- +
- +
@@ -68,27 +68,9 @@
- +
-{#
#} -{#
#} -{# #} -{# #} -{#
#} -{#
#} -{# #} -{# #} -{#
#} -{#
#} -{# #} -{# #} -{#
#} -{#
#} -{# #} -{# #} -{#
#} -{#
#}
@@ -141,22 +123,26 @@
- +
- +
- +
+