kopia lustrzana https://github.com/magicbug/Cloudlog
Added Datatable to CQ and WAS award.
rodzic
44eee371d6
commit
f1ddfc42af
|
@ -144,7 +144,7 @@
|
|||
$i = 1;
|
||||
if ($cq_array) {
|
||||
echo '
|
||||
<table class="table table-sm table-bordered table-hover table-striped table-condensed text-center">
|
||||
<table style="width:100%" class="table tablecq table-sm table-bordered table-hover table-striped table-condensed text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>#</td>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
if ($was_array) {
|
||||
$i = 1;
|
||||
echo '
|
||||
<table class="table table-sm table-bordered table-hover table-striped table-condensed text-center">
|
||||
<table style="width:100%" class="table table-sm tablewas table-bordered table-hover table-striped table-condensed text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>#</td>
|
||||
|
|
|
@ -1615,6 +1615,16 @@ $(document).ready(function(){
|
|||
|
||||
<?php if ($this->uri->segment(2) == "cq") { ?>
|
||||
<script>
|
||||
$('.tablecq').DataTable({
|
||||
"pageLength": 25,
|
||||
responsive: false,
|
||||
ordering: false,
|
||||
"scrollY": "400px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false,
|
||||
"scrollX": true
|
||||
});
|
||||
|
||||
function displayCqContacts(cqzone, band) {
|
||||
var baseURL= "<?php echo base_url();?>";
|
||||
$.ajax({
|
||||
|
@ -1645,6 +1655,16 @@ $(document).ready(function(){
|
|||
|
||||
<?php if ($this->uri->segment(2) == "was") { ?>
|
||||
<script>
|
||||
$('.tablewas').DataTable({
|
||||
"pageLength": 25,
|
||||
responsive: false,
|
||||
ordering: false,
|
||||
"scrollY": "400px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false,
|
||||
"scrollX": true
|
||||
});
|
||||
|
||||
function displayWasContacts(was, band) {
|
||||
var baseURL= "<?php echo base_url();?>";
|
||||
$.ajax({
|
||||
|
|
Ładowanie…
Reference in New Issue