From fc916d4e4cc85e8a9cecedee72c2b3286920ee96 Mon Sep 17 00:00:00 2001 From: Saad Sahibjan Date: Thu, 17 Oct 2019 19:35:40 +0530 Subject: [PATCH] Add policy type and corrective action UI for edit policy --- .../app/units/cdmf.unit.policy.edit/edit.hbs | 69 ++++++++++++++-- .../app/units/cdmf.unit.policy.edit/edit.js | 2 + .../public/js/policy-edit.js | 82 ++++++++++++++++++- 3 files changed, 144 insertions(+), 9 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/edit.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/edit.hbs index 542e7dcc0d..f471497415 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/edit.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.edit/edit.hbs @@ -1,7 +1,8 @@ {{#zone "content"}} {{#if isAuthorized }} + data-tenant-id="{{@user.tenantId}}" data-iscloud="{{isCloud}}" data-storeapps="{{storeApps}}" + data-corrective-policies="{{correctivePolicies}}">
@@ -16,15 +17,22 @@
-
+
2
+ +
+
+
+
+
+
3

-
3
+
4

@@ -48,7 +56,7 @@
-

Step 3: Republish to devices

+

Step 4: Republish to devices