kopia lustrzana https://github.com/magicbug/Cloudlog
Merge pull request #657 from AndreasK79/timeline_datatable
Added Datatable to the table in timelinepull/666/head
commit
77a48dd064
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue