Merge pull request #657 from AndreasK79/timeline_datatable

Added Datatable to the table in timeline
pull/666/head
Peter Goodhall 2020-10-18 15:01:27 +01:00 zatwierdzone przez GitHub
commit 77a48dd064
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 11 dodań i 1 usunięć

Wyświetl plik

@ -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({

Wyświetl plik

@ -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>