From 4294ecaf26c3a584214262eb87332b3a0f5c3bb3 Mon Sep 17 00:00:00 2001
From: yumaojun <719118794@qq.com>
Date: Thu, 10 Dec 2015 22:56:24 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86rule=20=E5=92=8C=20r?=
=?UTF-8?q?ole=E3=80=80=E7=9A=84detail=20=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
templates/jperm/perm_role_detail.html | 120 ++++++++++++--------------
templates/jperm/perm_rule_detail.html | 104 +++++++++++-----------
2 files changed, 105 insertions(+), 119 deletions(-)
diff --git a/templates/jperm/perm_role_detail.html b/templates/jperm/perm_role_detail.html
index b20cd9833..6b9c7493a 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 %}
+
+ |
+
+