Platform | -- |
Ownership | -- |
Action upon non-compliance | -- |
Status | -- |
Assigned Users | -- |
Assigned Roles | -- |
-
Platform | ++ |
Groups | ++ |
Action upon non-compliance | ++ |
Status | ++ |
Assigned Users | ++ |
Assigned Roles | ++ |
+
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/js/device-view.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/js/device-view.js index 0ca5ddc820..0241ceefcf 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/js/device-view.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/js/device-view.js @@ -49,6 +49,7 @@ function loadOperationsLog(update) { var operationsLogTable = "#operations-log-table"; + if (update) { operationTable = $(operationsLogTable).DataTable(); $("#operations-spinner").removeClass("hidden"); @@ -135,9 +136,13 @@ function loadPolicyCompliance() { var policyCompliance = $("#policy-view"); var policyComplianceTemplate = policyCompliance.attr("src"); + console.log("deviceId:"+deviceId); + console.log("deviceType:"+deviceType); var deviceId = policyCompliance.data("device-id"); var deviceType = policyCompliance.data("device-type"); var activePolicy = null; + console.log("deviceId:"+deviceId); + console.log("deviceType:"+deviceType); $.template( "policy-view", @@ -163,6 +168,8 @@ var viewModel = {}; viewModel["policy"] = activePolicy; viewModel["deviceType"] = deviceType; + viewModel["deviceId"] = deviceId; + viewModel["appContext"] = context; data = JSON.parse(data); var content; if (data["complianceData"]) { diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/templates/policy-compliance.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/templates/policy-compliance.hbs index 3313320afd..198741bc57 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/templates/policy-compliance.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.view/public/templates/policy-compliance.hbs @@ -37,7 +37,7 @@
No: | -Application Name/Description | -Package Name | -- |
---|---|---|---|
- No entries added yet . - | -
No: | -Application Name / Description | -Package Name | -- |
---|---|---|---|
- No entries added yet . - | -
No: | -Key | -Value | -- |
---|---|---|---|
- No entries added yet . - | -
No: | -Safari Domain | -- |
---|---|---|
- No entries added yet . - | -
No: | -App Identifier | -VPN UUID | -- |
---|---|---|---|
- No entries added yet . - | -
No: | -Application Name/Description | -Package Name | -- |
---|---|---|---|
- No entries added yet . - | -
No: | -Roaming Consortium OI | -- |
---|---|---|
- No entries added yet . - | -
No: | -NAI Realm Name | -- |
---|---|---|
- No entries added yet . - | -
No: | -Mobile Country Code ( MCC ) | -Mobile Network Code ( MNC ) | -- |
---|---|---|---|
- No entries added yet . - | -
No: | -Device Name | -Password | -- |
---|---|---|---|
- No entries added yet . - | -
No: | -Destination | -- |
---|---|---|
- No entries added yet . - | -
No: | -Description | -Search Base | -Scope | -- |
---|---|---|---|---|
- No entries added yet . - | -
No: | -APN | -Username | -Password | -Proxy | -Port | -- |
---|---|---|---|---|---|---|
- No entries added yet . - | -
No: | -APN | -Auth.Type | -Username | -Password | -Proxy | -Port | -- |
---|---|---|---|---|---|---|---|
- No entries added yet . - | -
No: | -Application Bundle ID | -- |
---|---|---|
- No entries added yet . - | -
No: | -Application Name/Description | -Package Name | -- |
---|---|---|---|
- No entries added yet . - | -