Merge pull request #851 from rasika/geo-fence-issues

Fixing geofence issues
4.x.x
Madhawa Perera 7 years ago committed by GitHub
commit efde7df025

@ -478,6 +478,40 @@
</div>
</div>
</div>
<div class="modal" id="editExitGeoJSON" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button class="close" type="button" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">
</h4>
<div class="col-lg-5 col-md-6 col-centered">
<h4>
Adding GeoJson
<br>
</h4>
</div>
</div>
<div class="modal-body">
<div class="col-lg-8 col-md-8 col-centered">
<div>
<label for="importGeoJsonFile">Import GeoJson</label>
<input id="importGeoJsonFile" type="file">
<hr />
<label for="enterGeoJson">Enter GeoJson</label>
<textarea id="enterGeoJson" class="form-control" rows="10"></textarea>
</div>
<div class="pull-right">
<button id="updateGeoJson" class="btn btn-primary" onclick="importGeoJson()">Import</button>
<button type="button" class="btn btn-default" onclick="closeAll()">Cancel</button>
<br />
<br />
</div>
</div>
</div>
</div>
</div>
</div>
<div style="display: none">
<div id="markerPopup" class="popover top">
<div class="arrow"></div>
@ -710,9 +744,9 @@
createGeoToolListItem(geoPublicUri + '/assets/html_templates/modal/stationery_alert.html',
'Add Stationary Alert', 'glyphicon glyphicon-link', geoToolsMenu);
createGeoToolListItem(geoPublicUri + '/assets/html_templates/modal/within_alert.html',
'Add Geo Fence Enter Alert', 'glyphicon glyphicon-log-in', geoToolsMenu);
'Add Geofence Alert', 'glyphicon glyphicon-log-in', geoToolsMenu);
createGeoToolListItem(geoPublicUri + '/assets/html_templates/modal/exit_alert.html',
'Add Geo Fence Exit Alert', 'glyphicon glyphicon-log-out', geoToolsMenu);
'Add Geofence Exit Alert', 'glyphicon glyphicon-log-out', geoToolsMenu);
{{/if}}
}
});

@ -24,7 +24,7 @@
</thead>
<tbody>
<div class="alert alert-info fence-not-exist" role="alert">
<strong>Oh snap!</strong> Can't find any geo-fence areas,please draw a new area or try again.
<strong>Oh snap!</strong> Can't find any geofence area, please draw a new area or try again.
</div>
</tbody>
@ -35,7 +35,7 @@
onclick="openTools('Exit')">Draw area
</button>
<button style="background-color: #f4f4f4;" type="button" class="btn btn-default"
onclick="$('#editExitinGeoJSON').modal('toggle')">Enter area
onclick="$('#editExitGeoJSON').modal('toggle')">Enter area
</button>
<br/>
<br/>

@ -56,7 +56,7 @@
</thead>
<tbody>
<div class="alert alert-info fence-not-exist" role="alert">
<strong>Oh snap!</strong> Can't find any geo-fence areas,please draw a new area or try again.
<strong>Oh snap!</strong> Can't find any geofence area, please draw a new area or try again.
</div>
</tbody>
</table>

@ -75,7 +75,7 @@
else{
%>
<div class="alert alert-danger" role="alert">
<strong>Oh snap!</strong> Can't find any geo-fence areas,please draw a new area or try again.
<strong>Oh snap!</strong> Can't find any geofence area, please draw a new area or try again.
</div>
<%
}

@ -24,7 +24,7 @@
</thead>
<tbody>
<div class="alert alert-info fence-not-exist" role="alert">
<strong>Oh snap!</strong> Can't find any geo-fence areas,please draw a new area or try again.
<strong>Oh snap!</strong> Can't find any geofence area, please draw a new area or try again.
</div>
</tbody>

Loading…
Cancel
Save