[Station Logbooks] Added datatable.js

这个提交包含在:
Peter Goodhall 2022-01-20 14:50:42 +00:00
父节点 70c408ac82
当前提交 1b343f036e
共有 4 个文件被更改,包括 15 次插入4 次删除

查看文件

@ -51,10 +51,14 @@ function load_was_map() {
<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>
<script src="<?php echo base_url() ;?>assets/js/sections/station_locations.js"></script>
<?php } ?>
<?php if ($this->uri->segment(1) == "logbooks") { ?>
<script src="<?php echo base_url() ;?>assets/js/sections/station_logbooks.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>

查看文件

@ -72,7 +72,7 @@
</div>
<div class="table-responsive">
<table class="table table-hover">
<table id="station_logbooks_linked_table" class="table table-hover">
<thead class="thead-light">
<tr>
<th scope="col">Location Name</th>

查看文件

@ -28,7 +28,7 @@
<?php if ($my_logbooks->num_rows() > 0) { ?>
<div class="table-responsive">
<table class="table table-striped">
<table id="station_logbooks_table" class="table table-striped">
<thead>
<tr>
<th scope="col">Name</th>

查看文件

@ -0,0 +1,7 @@
$(document).ready( function () {
$('#station_logbooks_table').DataTable();
} );
$(document).ready( function () {
$('#station_logbooks_linked_table').DataTable();
} );