From 2e35a7e46f0929438c1c206e3116caa829f07dc6 Mon Sep 17 00:00:00 2001 From: Thomas Duval Date: Fri, 5 Oct 2018 16:54:37 +0200 Subject: Update code to 4.6 official version Change-Id: Ibd0da0e476e24b2685f54693efc11f7a58d40a62 --- moon_dashboard/moon/static/moon/policy/policy.html | 74 +++++++++++++++++++--- 1 file changed, 65 insertions(+), 9 deletions(-) (limited to 'moon_dashboard/moon/static/moon/policy/policy.html') diff --git a/moon_dashboard/moon/static/moon/policy/policy.html b/moon_dashboard/moon/static/moon/policy/policy.html index 70789fbb..ba13bec2 100644 --- a/moon_dashboard/moon/static/moon/policy/policy.html +++ b/moon_dashboard/moon/static/moon/policy/policy.html @@ -10,7 +10,7 @@
-
+

{$ policy.name $}

@@ -24,6 +24,46 @@ Genre: {$ policy.genre ? policy.genre : 'none' $} +
+ +

Warning!

+

+ Some data are unused, please check them and delete them if necessary. + Show unused data + Hide unused data +

+
+ +
+
+

Unused Subject data

+
+

{$ subject.name $}

+ +
+
+ +
+

Unused Object data

+
+

{$ object.name $}

+ +
+
+ +
+

Unused Action data

+
+

{$ action.name $}

+ +
+
+ +
+ +

Rules

@@ -85,7 +125,7 @@

- {$ data.name $} + {$ data.name $} + +

+

Click to add

+
+ +
+

Policy perimeters

- +
+ + {$ perimeter.name $} + + +
+

Click to assign

Assigned perimeters

- +

Click to unassign

-- cgit 1.2.3-korg