From bc59ac6819deea8a90e8bec03e376b5bb0c3b827 Mon Sep 17 00:00:00 2001 From: Imesh Chandrasiri Date: Thu, 19 Jan 2017 14:08:59 +0530 Subject: [PATCH] Adding action buttons to listing views --- .../app/pages/cdmf.page.device.view/view.hbs | 39 +++++++++++++++++++ .../app/pages/cdmf.page.devices/devices.hbs | 27 +++++++++++++ .../app/pages/cdmf.page.user.view/view.hbs | 30 ++++++++++++++ 3 files changed, 96 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.view/view.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.view/view.hbs index 1a58360409..689881c493 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.view/view.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.device.view/view.hbs @@ -38,6 +38,45 @@ {{/zone}} +{{#zone "navbarActions"}} +
  • + + + + + + View Analytics + +
  • +
  • + + + + + + Device Grouping + +
  • +
  • + + + + + + Edit + +
  • +
  • + + + + + + Delete + +
  • +{{/zone}} + {{#zone "content"}} {{unit deviceViewUnitName}} {{unit "cdmf.unit.lib.data-table"}} diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/devices.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/devices.hbs index b5f0f93954..37fb95a809 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/devices.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/devices.hbs @@ -66,6 +66,33 @@ View Analytics +
  • + + + + + + Group Sharing + +
  • +
  • + + + + + + Edit + +
  • +
  • + + + + + + Delete + +
  • {{else}} {{#if permissions.enroll}}
  • diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.user.view/view.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.user.view/view.hbs index 01acd48ffa..72590d7d87 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.user.view/view.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.user.view/view.hbs @@ -35,6 +35,36 @@
  • {{/zone}} +{{#zone "navbarActions"}} +
  • + + + + + + Reset password + +
  • +
  • + + + + + + Edit + +
  • +
  • + + + + + + Delete + +
  • +{{/zone}} + {{#zone "content"}} {{#if canView}} {{#zone "contentTitle"}}