diff --git a/templates/jperm/perm_role_detail.html b/templates/jperm/perm_role_detail.html
index f9ceefc43..475d8e3d3 100644
--- a/templates/jperm/perm_role_detail.html
+++ b/templates/jperm/perm_role_detail.html
@@ -30,21 +30,15 @@
-
-
-
- 时间 |
- 名称 |
-
-
-
+
+ 时间 |
+ 名称 |
{% for rule in rules %}
- {{ rule.date_added | date:"Y-m-d H:i:s"}} |
- {{ rule.name }} |
+ {{ rule.date_added | date:"Y-m-d H:i:s"}} |
+ {{ rule.name }} |
{% endfor %}
-
@@ -74,38 +68,31 @@
-
-
-
-
- 用户 |
-
-
+
+
+ 用户 |
+ 用户组 |
+
+
+
+ {% for user in users %}
+
+ {{ user.name }} |
+
+ {% endfor %}
+
+ |
+
+
+ {% for group in user_groups %}
+
+ {{ group.name }} |
+
+ {% endfor %}
+
+ |
-
- {% for user in users %}
-
- {{ user.name }} |
-
- {% endfor %}
-
-
-
-
-
-
-
- 用户组 |
-
-
-
-
- {% for group in user_groups %}
-
- {{ group.name }} |
-
- {% endfor %}
-
+
@@ -114,7 +101,7 @@
-
-
-
- 主机 |
-
- {% for asset in assets %}
-
- {{ asset.ip }} |
-
- {% endfor %}
-
-
-
-
-
- 主机组 |
-
- {% for group in asset_groups %}
-
- {{ group.name }} |
-
- {% endfor %}
+
+
+ 主机 |
+ 主机组 |
+
+
+
+ {% for asset in assets %}
+
+ {{ asset.ip }} |
+
+ {% endfor %}
+
+ |
+
+
+ {% for group in asset_groups %}
+
+ {{ group.name }} |
+
+ {% endfor %}
+
+ |
+
+
diff --git a/templates/jperm/perm_rule_detail.html b/templates/jperm/perm_rule_detail.html
index e9184253e..ccecce500 100644
--- a/templates/jperm/perm_rule_detail.html
+++ b/templates/jperm/perm_rule_detail.html
@@ -83,38 +83,31 @@
-
-
-
-
- 用户 |
-
-
+
+
+ 用户 |
+ 用户组 |
+
+
+
+ {% for user in users %}
+
+ {{ user.name }} |
+
+ {% endfor %}
+
+ |
+
+
+ {% for group in user_groups %}
+
+ {{ group.name }} |
+
+ {% endfor %}
+
+ |
-
- {% for user in users %}
-
- {{ user.name }} |
-
- {% endfor %}
-
-
-
-
-
-
-
- 用户组 |
-
-
-
-
- {% for group in user_groups %}
-
- {{ group.name }} |
-
- {% endfor %}
-
+
@@ -123,7 +116,7 @@
-
-
-
- 主机 |
-
- {% for asset in assets %}
-
- {{ asset.ip }} |
-
- {% endfor %}
-
-
-
-
-
- 主机组 |
-
- {% for group in asset_groups %}
-
- {{ group.name }} |
-
- {% endfor %}
+
+
+ 主机 |
+ 主机组 |
+
+
+
+ {% for asset in assets %}
+
+ {{ asset.ip }} |
+
+ {% endfor %}
+
+ |
+
+
+ {% for group in asset_groups %}
+
+ {{ group.name }} |
+
+ {% endfor %}
+
+ |
+
+