mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-24 11:11:10 +00:00
Added Datatable to the mode list.
This commit is contained in:
@@ -1811,6 +1811,16 @@ $(document).ready(function(){
|
||||
|
||||
<?php if ($this->uri->segment(1) == "mode") { ?>
|
||||
<script>
|
||||
$('.modetable').DataTable({
|
||||
"pageLength": 25,
|
||||
responsive: false,
|
||||
ordering: false,
|
||||
"scrollY": "500px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false,
|
||||
"scrollX": true
|
||||
});
|
||||
|
||||
function deactivateMode(modeid) {
|
||||
var baseURL= "<?php echo base_url();?>";
|
||||
$.ajax({
|
||||
|
||||
@@ -14,14 +14,16 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-text">This is the place you can customize your modes-list by activating/deactivating modes to be shown in the select-list.</p>
|
||||
<p><a href="<?php echo site_url('mode/create'); ?>" class="btn btn-primary"><i class="fas fa-plus"></i> Create a Mode</a></p>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<table style="width:100%" class="modetable table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Mode</th>
|
||||
<th scope="col">Sub-Mode</th>
|
||||
<th scope="col">SSB/DATA/CW</th>
|
||||
<th scope="col">Active</th>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"></th>
|
||||
<th scope="col"></th>
|
||||
</tr>
|
||||
@@ -53,7 +55,7 @@
|
||||
<table>
|
||||
</table>
|
||||
|
||||
<p><a href="<?php echo site_url('mode/create'); ?>" class="btn btn-primary"><i class="fas fa-plus"></i> Create a Mode</a></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user