first commit

This commit is contained in:
dev-chiefworks
2022-05-31 16:21:53 -04:00
commit f76abffdcd
5978 changed files with 1078901 additions and 0 deletions
@@ -0,0 +1,158 @@
<div class="row">
<div class="col-lg-4">
<div class="panel panel-flat">
<div class="jumbotron" style="background-color:#F3DFE5; padding:10px;">
<?php if ($msg) { ?>
<div class="col-12">
<div class="alert alert-danger alert-dismissible bg-danger text-white border-0" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<?php echo $msg ? $msg : '' ?>
</div>
</div>
<?php } ?>
<font id="message" color=red></font>
<h3>Geofence Area Anchor ADDING</h3>
<form id="geofence-area-anchor-form" name="geofence-area-anchor-form" method="post" action="create" autocomplete="off">
<div class="form-group">
<label for="geo-area-city">Geofence Area City</label>
<?= $geofence_area_city_card ?>
</div>
<div class="form-group">
<label for="geofence-area-id">Geofence Area</label>
<?php if (isset($geofence_area_card)) { ?>
<?= $geofence_area_card ?>
<?php } else { ?>
<select class="form-control" name="geofence_area_card" id="geofence_area_card">
<option value="">Select</option>
</select>
<?php } ?>
<input
type="hidden"
id="old_geofence_area_id"
name="old_geofence_area_id"
value="<?= isset($old_geofence_area_id) ? $old_geofence_area_id : '' ?>"
/>
</div>
<div class="form-group">
<label for="address">Address</label>
<select id="address" name="address">
<?php
if (isset($address_id)) {
echo '<option value="' . $address_id . '" selected >' . $address . '</option>';
}
?>
</select>
<input
type="hidden"
id="old_address_id"
name="old_address_id"
value="<?= isset($old_address_id) ? $old_address_id : '' ?>"
/>
</div>
<div class="form-group">
<label for="title">Title</label>
<input type="text" value="<?= isset($title) ? $title : '' ?>" class="form-control" name="title" id="title" maxlength="50" placeholder="Title" />
</div>
<div class="form-group">
<button type="submit" id="btn-add" class="btn btn-info btn-block btn-sm">Add</button>
<button type="button" id="btn-update" class="btn btn-info btn-block btn-sm hidden">Update</button>
</div>
<input
type="hidden"
id="city_filter"
name="city_filter"
value="<?= $city_filter ?? '' ?>"
/>
<input
type="hidden"
id="geo_area_filter"
name="geo_area_filter"
value="<?= $geo_area_filter ?? '' ?>"
/>
<input
type="hidden"
id="country_filter"
name="country_filter"
value="<?= $country_filter ?? '' ?>"
/>
</form>
</div>
</div>
</div>
<div class="col-lg-8">
<div class="panel panel-white">
<div class="row col-lg-12">
<div class="filter-form row mb-20">
<form id="filter-form" name="filter-form" method="get" autocomplete="off">
<div class="form-group">
<div class="col-lg-3">
<label for="country_card">Country</label>
<?= $country_card ?>
</div>
<div class="col-lg-3">
<label for="city_card">City</label>
<?php if (isset($city_card)) { ?>
<?= $city_card ?>
<?php } else { ?>
<select class="form-control" name="city_card" id="city_card">
<option value="">Select</option>
</select>
<?php } ?>
</div>
<div class="col-lg-6">
<label for="geofence_area_filter_card">Geofence Area</label>
<?php if (isset($geofence_area_filter_card)) { ?>
<?= $geofence_area_filter_card ?>
<?php } else { ?>
<select class="form-control" name="geofence_area_filter_card" id="geofence_area_filter_card">
<option value="">Select</option>
</select>
<?php } ?>
</div>
</div>
</form>
</div>
<div class="panel-heading row mb-20">
<div class="heading-elements">
<div id="pagination"></div>
</div>
</div>
<table id="geofence-area-anchor-list" class="table-bordered table-condensed table-hover table-striped table-condensed col-lg-12" style="padding:0px; background-color:lightgreen;">
<thead class="bg-indigo">
<th>ID</th>
<th>Geofence Area</th>
<th>Address</th>
<th>Title</th>
<th></th>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
</div>
<script src="/assets/js/app.js" type="text/javascript"></script>
<script src="/assets/js/plugins/forms/selects/select2.min.js"></script>
<script src="/assets/js/pages/geofence_area_anchor/list.js" type='text/javascript'></script>