[Station Locations] Added datatable.js to allow sorting etc

pull/1377/head
Peter Goodhall 2022-01-20 14:44:32 +00:00
rodzic 9d0afa5075
commit 70c408ac82
3 zmienionych plików z 9 dodań i 1 usunięć

Wyświetl plik

@ -50,6 +50,11 @@ function load_was_map() {
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/buttons.html5.min.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>assets/js/selectize.js"></script>
<?php if ($this->uri->segment(1) == "station") { ?>
<!-- Javascript used for Notes Area -->
<script src="<?php echo base_url() ;?>assets/js/sections//station_locations.js"></script>
<?php } ?>
<?php if ($this->uri->segment(1) == "search" && $this->uri->segment(2) == "filter") { ?>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/query-builder.standalone.min.js"></script>

Wyświetl plik

@ -38,7 +38,7 @@
<?php } ?>
<div class="table-responsive">
<table class="table table-striped">
<table id="station_locations_table" class="table table-striped">
<thead>
<tr>
<th scope="col">Profile Name</th>

Wyświetl plik

@ -0,0 +1,3 @@
$(document).ready( function () {
$('#station_locations_table').DataTable();
} );