[Station Logbooks] Added datatable.js
这个提交包含在:
父节点
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();
|
||||
} );
|
||||
正在加载…
在新工单中引用