Rasika Perera 7 years ago
parent f3eaac15c7
commit c31461d278

@ -478,6 +478,40 @@
</div> </div>
</div> </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 style="display: none">
<div id="markerPopup" class="popover top"> <div id="markerPopup" class="popover top">
<div class="arrow"></div> <div class="arrow"></div>

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

@ -56,7 +56,7 @@
</thead> </thead>
<tbody> <tbody>
<div class="alert alert-info fence-not-exist" role="alert"> <div class="alert alert-info fence-not-exist" role="alert">
<strong>Oh snap!</strong> Can't find any geofence area,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> </div>
</tbody> </tbody>
</table> </table>

@ -75,7 +75,7 @@
else{ else{
%> %>
<div class="alert alert-danger" role="alert"> <div class="alert alert-danger" role="alert">
<strong>Oh snap!</strong> Can't find any geofence area,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> </div>
<% <%
} }

@ -24,7 +24,7 @@
</thead> </thead>
<tbody> <tbody>
<div class="alert alert-info fence-not-exist" role="alert"> <div class="alert alert-info fence-not-exist" role="alert">
<strong>Oh snap!</strong> Can't find any geofence area,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> </div>
</tbody> </tbody>

Loading…
Cancel
Save