Added Datatable to the mode list.
这个提交包含在:
父节点
9abc79081d
当前提交
d2a668dde2
共有 2 个文件被更改,包括 14 次插入 和 2 次删除
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
正在加载…
在新工单中引用