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

Fixing Geo fencing UI issues
revert-70aa11f8
Rasika Perera 8 years ago committed by GitHub
commit 2c502386b8

@ -526,7 +526,7 @@
<div class="form-group">
<label class="text-primary" for="areaName">Fence name</label>
<input class="form-control" id="areaName" placeholder="Fence name" type="text">
<span class="help-block">Name of the selected area(i.e colombo)</span>
<span class="help-block">Name of the selected area(e.g. colombo)</span>
</div>
<div>
<div class="btn-group btn-group-sm btn-group-justified">
@ -557,7 +557,7 @@
<div class="form-group">
<label class="text-primary" for="areaName">Fence name</label>
<input class="form-control" id="areaName" placeholder="Fence name" type="text">
<span class="help-block">Name of the selected area(i.e colombo)</span>
<span class="help-block">Name of the selected area(e.g. colombo)</span>
</div>
<div>
<div class="btn-group btn-group-sm btn-group-justified">
@ -589,7 +589,7 @@
<div class="form-group">
<label class="text-primary" for="areaName">Fence name</label>
<input class="form-control" id="areaName" placeholder="Stationery name" type="text">
<span class="help-block">Name of the selected area(i.e colombo)</span>
<span class="help-block">Name of the selected area(e.g. colombo)</span>
<label class="text-primary" for="fRadius">Fluctuation radius</label>
<input class="form-control" id="fRadius" onblur="reformatRadius(this.form.fRadius.value);" placeholder="m" type="text">
@ -626,7 +626,7 @@
<div class="form-group">
<label class="text-primary" for="areaName">Fence name</label>
<input class="form-control" id="areaName" placeholder="Area Name" type="text">
<span class="help-block">Name of the selected area(i.e colombo)</span>
<span class="help-block">Name of the selected area(e.g. colombo)</span>
</div>
<div>
<div class="btn-group btn-group-sm btn-group-justified">

@ -34,7 +34,7 @@
<button class="close" type="button" data-dismiss="modal" aria-hidden="true">&times;</button>
<div class="col-lg-5 col-md-6 col-centered">
<h4>
Set 'Stationery' alerts
Set 'Stationary' alerts
<br>
</h4>
</div>
@ -46,8 +46,8 @@
<table class="table table-hover" id="stationary-alert-table">
<thead>
<tr>
<th>Stationery Name</th>
<th>Stationery Time</th>
<th>Stationary Name</th>
<th>Stationary Time</th>
<th>Fluctuation Radius</th>
<th>Query Name</th>
<th>Created On</th>

@ -34,6 +34,7 @@ function initializeExit() {
}
} else{
$(".fence-not-exist").show();
$("#exit-alert").hide();
}
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
viewFence(this.parentElement,'Exit');

@ -38,6 +38,7 @@ function initStationaryAlert() {
}
} else{
$(".fence-not-exist").show();
$("#stationary-alert-table").hide();
}
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
viewFence(this.parentElement,'Stationery');

@ -34,6 +34,7 @@ function initializeWithin() {
}
} else{
$(".fence-not-exist").show();
$("#within-alert").hide();
}
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
viewFence(this.parentElement,'WithIn');

Loading…
Cancel
Save