diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-bar/public/js/operation-bar.js b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-bar/public/js/operation-bar.js index cc3d8d962..a3186092a 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-bar/public/js/operation-bar.js +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.operation-bar/public/js/operation-bar.js @@ -110,7 +110,7 @@ function loadOperationBar(deviceType) { var successCallback = function (data) { var permittedOperations = []; var i; - var permissionList = JSON.parse($("#operations-mod").data("permissions")); + var permissionList = $("#operations-mod").data("permissions"); var totalFeatures = JSON.parse(data); for (i = 0; i < permissionList[deviceType].length; i++) { var j; diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/view.hbs b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/view.hbs index 4dfc3b86c..8345741ac 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/view.hbs +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/view.hbs @@ -2,373 +2,358 @@ {{unit "cdmf.unit.lib.qrcode"}} {{unit "mdm.unit.device.qr-modal"}} -{{#zone "contentTitle"}} - {{#if isAuthorized}} -
-
- -
-
- {{/if}} -{{/zone}} - {{#zone "content"}} {{#if isAuthorized}} -
-
-
-
-
-
-
Device Overview
- {{#defineZone "device-detail-properties"}} - - - - - - - {{#if device.viewModel.model}} - - - - - {{/if}} - - - - - {{#if device.viewModel.udid}} +

+ Device {{device.name}} + {{#if device.viewModel.model}} + + ( {{device.viewModel.vendor}} {{device.viewModel.model}} ) + + {{/if}} +

+
+
+
+
+
+
+
Device Overview
+ {{#defineZone "device-detail-properties"}} +
Device{{device.viewModel.vendor}} {{device.properties.model}}
Model{{device.viewModel.model}}
IMEI{{device.viewModel.imei}}
+ - - + + - {{/if}} - {{#if device.viewModel.os_build_date}} + {{#if device.viewModel.model}} + + + + + {{/if}} - - + + - {{/if}} - {{#if device.viewModel.phoneNumber}} + {{#if device.viewModel.udid}} + + + + + {{/if}} + {{#if device.viewModel.os_build_date}} + + + + + {{/if}} + {{#if device.viewModel.phoneNumber}} + + + + + {{/if}} - - + + - {{/if}} - - - - - -
UDID{{device.viewModel.udid}}Device{{device.viewModel.vendor}} {{device.properties.model}}
Model{{device.viewModel.model}}
Firmware Build Date{{device.viewModel.os_build_date}}IMEI{{device.viewModel.imei}}
UDID{{device.viewModel.udid}}
Firmware Build Date{{device.viewModel.os_build_date}}
Phone Number{{device.viewModel.phoneNumber}}
Phone Number{{device.viewModel.phoneNumber}}Status + {{#equal device.status "ACTIVE"}}  Active{{/equal}} + {{#equal device.status "INACTIVE"}}  Inactive{{/equal}} + {{#equal device.status "BLOCKED"}}  Blocked{{/equal}} + {{#equal device.status "REMOVED"}}  Removed{{/equal}} +
Status - {{#equal device.status "ACTIVE"}}  Active{{/equal}} - {{#equal device.status "INACTIVE"}}  Inactive{{/equal}} - {{#equal device.status "BLOCKED"}}  Blocked{{/equal}} - {{#equal device.status "REMOVED"}}  Removed{{/equal}} -
- {{/defineZone}} -
Operations
-
- {{unit "mdm.unit.device.operation-bar" deviceType=device.type}} + + + {{/defineZone}} +
Operations
+
+ {{unit "mdm.unit.device.operation-bar" deviceType=device.type}} +
-
-
- -
- {{#defineZone "device-detail-properties"}} -
-
- +
+ + {{#defineZone "device-detail-properties"}} +
+
+ -
- - -
-

       Loading Device Details . . .
-
-
-