You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
3.9 KiB
65 lines
3.9 KiB
<div class="sub">
|
|
<div id="inline-btn">
|
|
<div class="admin_city">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
<div id="">
|
|
<div class="">
|
|
<table id="city_location" class="table-responsive table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th><?=$this->lang->line("city_name")?></th>
|
|
<th style="100%"><?=$this->lang->line("actions")?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<th>#</th>
|
|
<th><?=$this->lang->line("city_name")?></th>
|
|
<th style="100%"><?=$this->lang->line("actions")?></th>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Modals -->
|
|
|
|
<!-- Modal for Add City Location -->
|
|
<div id="cityModal" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
|
|
<div class="modal-dialog">
|
|
<!-- Modal content-->
|
|
<form role="form" data-toggle="validator" novalidate="novalidate" action="javascript:;" id="cityForm">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
<h4 class="modal-title" id="cityModalTitle"></h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
|
|
<div class="form-group">
|
|
<label for="city" class="control-label"><?=$this->lang->line("city_name")?></label>
|
|
<input type="text" class="form-control" id="city" name="city" placeholder="<?=$this->lang->line("city_name")?>" data-error="Please fill out this field." required>
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-dismiss="modal"><?=$this->lang->line('js')["btn"]["_close"]?></button>
|
|
<button type="button" class="btn btn-primary" id="addNewCityBtn" onclick="city_location._validate('add');"><?=$this->lang->line('add_new_city')?></button>
|
|
<button type="button" class="btn btn-primary" style="display:none;" id="updateCityBtn" onclick="city_location._validate('edit');"><?=$this->lang->line('btn')["save_changes"]?></button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|