From e135764f300db82854f7dc33f99f411c6d024fe2 Mon Sep 17 00:00:00 2001 From: kamidu Date: Tue, 30 Aug 2016 16:37:22 +0530 Subject: [PATCH] Improving the ux of devic listing page --- .../devicemgt/app/pages/mdm.page.devices/devices.hbs | 4 ++-- .../app/pages/mdm.page.devices/public/js/device-listing.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/devices.hbs b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/devices.hbs index 21917011c..ca88bd53b 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/devices.hbs +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/devices.hbs @@ -36,7 +36,7 @@ {{#zone "navbarActions"}} {{!-- #if permissions.enroll --}} -
  • +
  • @@ -51,7 +51,7 @@
  • {{!-- /if --}} -
  • +
  • diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/public/js/device-listing.js b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/public/js/device-listing.js index da5d4182c..d9a7c28ea 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/public/js/device-listing.js +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.devices/public/js/device-listing.js @@ -452,6 +452,8 @@ function initPage() { $("#loading-content").remove(); $("#device-table").remove(); $("#no-device-view").removeClass(' hidden'); + $("#advanced-search-btn").addClass(' hidden'); + $("#enroll-btn").addClass(' hidden'); } } }, function (message) {