mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #825 from rasika/geo-fence-issues
Fixing Geo fencing UI issues
This commit is contained in:
commit
2c502386b8
@ -526,7 +526,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="text-primary" for="areaName">Fence name</label>
|
<label class="text-primary" for="areaName">Fence name</label>
|
||||||
<input class="form-control" id="areaName" placeholder="Fence name" type="text">
|
<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>
|
<div>
|
||||||
<div class="btn-group btn-group-sm btn-group-justified">
|
<div class="btn-group btn-group-sm btn-group-justified">
|
||||||
@ -557,7 +557,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="text-primary" for="areaName">Fence name</label>
|
<label class="text-primary" for="areaName">Fence name</label>
|
||||||
<input class="form-control" id="areaName" placeholder="Fence name" type="text">
|
<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>
|
<div>
|
||||||
<div class="btn-group btn-group-sm btn-group-justified">
|
<div class="btn-group btn-group-sm btn-group-justified">
|
||||||
@ -589,7 +589,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="text-primary" for="areaName">Fence name</label>
|
<label class="text-primary" for="areaName">Fence name</label>
|
||||||
<input class="form-control" id="areaName" placeholder="Stationery name" type="text">
|
<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>
|
<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">
|
<input class="form-control" id="fRadius" onblur="reformatRadius(this.form.fRadius.value);" placeholder="m" type="text">
|
||||||
@ -626,7 +626,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="text-primary" for="areaName">Fence name</label>
|
<label class="text-primary" for="areaName">Fence name</label>
|
||||||
<input class="form-control" id="areaName" placeholder="Area Name" type="text">
|
<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>
|
<div>
|
||||||
<div class="btn-group btn-group-sm btn-group-justified">
|
<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">×</button>
|
<button class="close" type="button" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
<div class="col-lg-5 col-md-6 col-centered">
|
<div class="col-lg-5 col-md-6 col-centered">
|
||||||
<h4>
|
<h4>
|
||||||
Set 'Stationery' alerts
|
Set 'Stationary' alerts
|
||||||
<br>
|
<br>
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
@ -46,8 +46,8 @@
|
|||||||
<table class="table table-hover" id="stationary-alert-table">
|
<table class="table table-hover" id="stationary-alert-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Stationery Name</th>
|
<th>Stationary Name</th>
|
||||||
<th>Stationery Time</th>
|
<th>Stationary Time</th>
|
||||||
<th>Fluctuation Radius</th>
|
<th>Fluctuation Radius</th>
|
||||||
<th>Query Name</th>
|
<th>Query Name</th>
|
||||||
<th>Created On</th>
|
<th>Created On</th>
|
||||||
|
|||||||
@ -34,6 +34,7 @@ function initializeExit() {
|
|||||||
}
|
}
|
||||||
} else{
|
} else{
|
||||||
$(".fence-not-exist").show();
|
$(".fence-not-exist").show();
|
||||||
|
$("#exit-alert").hide();
|
||||||
}
|
}
|
||||||
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
|
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
|
||||||
viewFence(this.parentElement,'Exit');
|
viewFence(this.parentElement,'Exit');
|
||||||
|
|||||||
@ -38,6 +38,7 @@ function initStationaryAlert() {
|
|||||||
}
|
}
|
||||||
} else{
|
} else{
|
||||||
$(".fence-not-exist").show();
|
$(".fence-not-exist").show();
|
||||||
|
$("#stationary-alert-table").hide();
|
||||||
}
|
}
|
||||||
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
|
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
|
||||||
viewFence(this.parentElement,'Stationery');
|
viewFence(this.parentElement,'Stationery');
|
||||||
|
|||||||
@ -34,6 +34,7 @@ function initializeWithin() {
|
|||||||
}
|
}
|
||||||
} else{
|
} else{
|
||||||
$(".fence-not-exist").show();
|
$(".fence-not-exist").show();
|
||||||
|
$("#within-alert").hide();
|
||||||
}
|
}
|
||||||
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
|
$('.viewGeoFenceRow td:not(:last-child)').click(function () {
|
||||||
viewFence(this.parentElement,'WithIn');
|
viewFence(this.parentElement,'WithIn');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user