From 2c696b72225a6f7dd91e52712b91a3d1be5fa41d Mon Sep 17 00:00:00 2001 From: Dunith Dhanushka Date: Mon, 16 Jan 2017 18:41:10 +0530 Subject: [PATCH 1/3] Displaying the sidebar while page loads --- .../GadgetGeoDashboard_1.0.0/geo-dashboard/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/analytics/iot-analytics/org.wso2.carbon.iot.geo.dashboard/src/main/resources/carbonapps/GadgetGeoDashboard_1.0.0/geo-dashboard/js/app.js b/components/analytics/iot-analytics/org.wso2.carbon.iot.geo.dashboard/src/main/resources/carbonapps/GadgetGeoDashboard_1.0.0/geo-dashboard/js/app.js index 5d4bfab3d5..825b523a39 100644 --- a/components/analytics/iot-analytics/org.wso2.carbon.iot.geo.dashboard/src/main/resources/carbonapps/GadgetGeoDashboard_1.0.0/geo-dashboard/js/app.js +++ b/components/analytics/iot-analytics/org.wso2.carbon.iot.geo.dashboard/src/main/resources/carbonapps/GadgetGeoDashboard_1.0.0/geo-dashboard/js/app.js @@ -120,6 +120,8 @@ function initializeMap() { } }); + //setting the sidebar to be opened when page loads + $("a[href='#left_side_pannel']").trigger('click'); } /* Attribution control */ @@ -417,4 +419,4 @@ function clearFocus() { spatialObject.removeFromMap(); selectedSpatialObject = null; } -} \ No newline at end of file +} From 97d4fb1ef9146eacf25dc2b3343633c86f572cea Mon Sep 17 00:00:00 2001 From: Dunith Dhanushka Date: Mon, 16 Jan 2017 18:54:42 +0530 Subject: [PATCH 2/3] Removing advanced Geo fencing controls --- .../geo-dashboard/index.xml | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/components/analytics/iot-analytics/org.wso2.carbon.iot.geo.dashboard/src/main/resources/carbonapps/GadgetGeoDashboard_1.0.0/geo-dashboard/index.xml b/components/analytics/iot-analytics/org.wso2.carbon.iot.geo.dashboard/src/main/resources/carbonapps/GadgetGeoDashboard_1.0.0/geo-dashboard/index.xml index 6f1ca09064..4dbde58f80 100644 --- a/components/analytics/iot-analytics/org.wso2.carbon.iot.geo.dashboard/src/main/resources/carbonapps/GadgetGeoDashboard_1.0.0/geo-dashboard/index.xml +++ b/components/analytics/iot-analytics/org.wso2.carbon.iot.geo.dashboard/src/main/resources/carbonapps/GadgetGeoDashboard_1.0.0/geo-dashboard/index.xml @@ -285,23 +285,7 @@ --> -
  • - Advanced Settings - - -
  • + @@ -894,4 +878,4 @@ ]]> - \ No newline at end of file + From b4f876d961e1803b68310a7d0ce31b51132c578a Mon Sep 17 00:00:00 2001 From: Dunith Dhanushka Date: Mon, 16 Jan 2017 18:57:45 +0530 Subject: [PATCH 3/3] Updating the label text for Geo fencing link --- .../cdmf.unit.device.type.android.device-view/device-view.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.device-view/device-view.hbs b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.device-view/device-view.hbs index 4d66722555..38e3284f0a 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.device-view/device-view.hbs +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.device-view/device-view.hbs @@ -338,12 +338,12 @@ data-long="{{device.location.longitude}}">
    - - View device on the map + Add Geo Fencing {{else}}