Merge pull request #657 from AndreasK79/timeline_datatable
Added Datatable to the table in timeline
这个提交包含在:
当前提交
77a48dd064
共有 2 个文件被更改,包括 11 次插入 和 1 次删除
|
|
@ -1781,6 +1781,16 @@ $(document).ready(function(){
|
||||||
</script>
|
</script>
|
||||||
<?php if ($this->uri->segment(1) == "timeline") { ?>
|
<?php if ($this->uri->segment(1) == "timeline") { ?>
|
||||||
<script>
|
<script>
|
||||||
|
$('.timelinetable').DataTable({
|
||||||
|
"pageLength": 25,
|
||||||
|
responsive: false,
|
||||||
|
ordering: false,
|
||||||
|
"scrollY": "500px",
|
||||||
|
"scrollCollapse": true,
|
||||||
|
"paging": false,
|
||||||
|
"scrollX": true
|
||||||
|
});
|
||||||
|
|
||||||
function displayTimelineContacts(adif, band) {
|
function displayTimelineContacts(adif, band) {
|
||||||
var baseURL= "<?php echo base_url();?>";
|
var baseURL= "<?php echo base_url();?>";
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
<?php
|
<?php
|
||||||
$i = count($dxcc_timeline_array);
|
$i = count($dxcc_timeline_array);
|
||||||
if ($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>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>#</td>
|
<td>#</td>
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用