mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added Datatable to the table in timeline
This commit is contained in:
@@ -1781,6 +1781,16 @@ $(document).ready(function(){
|
||||
</script>
|
||||
<?php if ($this->uri->segment(1) == "timeline") { ?>
|
||||
<script>
|
||||
$('.timelinetable').DataTable({
|
||||
"pageLength": 25,
|
||||
responsive: false,
|
||||
ordering: false,
|
||||
"scrollY": "500px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false,
|
||||
"scrollX": true
|
||||
});
|
||||
|
||||
function displayTimelineContacts(adif, band) {
|
||||
var baseURL= "<?php echo base_url();?>";
|
||||
$.ajax({
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<?php
|
||||
$i = count($dxcc_timeline_array);
|
||||
if ($dxcc_timeline_array) {
|
||||
echo '<table class="table table-bordered table-hover table-striped table-condensed text-center">
|
||||
echo '<table style="width:100%" class="table timelinetable table-bordered table-hover table-striped table-condensed text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>#</td>
|
||||
|
||||
Reference in New Issue
Block a user