From 5cb0f9bb94fa97799fd3835f12d770ed0b68194b Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Thu, 1 Jun 2017 05:00:00 +0530 Subject: [PATCH] Fixes to geo-fencing ui --- .../cdmf.unit.geo-dashboard/geo-dashboard.hbs | 101 +++++------------- .../cdmf.unit.geo-dashboard/geo-dashboard.js | 1 + .../public/css/app.css | 1 - .../public/css/leaflet.css | 2 +- .../cdmf.unit.geo-dashboard/public/js/app.js | 29 ++--- .../public/js/geo_fencing.js | 7 +- .../public/js/geo_stationary.js | 1 - .../public/js/websocket.js | 2 +- .../public/css/custom-common.css | 15 +++ 9 files changed, 65 insertions(+), 94 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs index d1656ef4e1..5422d8e421 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs @@ -43,6 +43,7 @@ data-device-location="{{lastLocation}}">
+ {{#unless @unit.params.hideSearch}} - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- + {{/unless}}
@@ -187,13 +120,6 @@ data-device-location="{{lastLocation}}">
- - - - - - -
@@ -202,7 +128,6 @@ data-device-location="{{lastLocation}}">
-