UI: Page sortierbare Tabelle
This commit is contained in:
parent
619b9ed53c
commit
f4238384ca
@ -1,4 +1,5 @@
|
|||||||
function init_saimod_sys_page() {
|
function init_saimod_sys_page() {
|
||||||
|
$("#sai_mod_page_table").tablesorter();
|
||||||
$('#tabs_page a').click(function (e) {
|
$('#tabs_page a').click(function (e) {
|
||||||
$('#tabs_page li').each(function(){
|
$('#tabs_page li').each(function(){
|
||||||
$(this).removeClass('active');});
|
$(this).removeClass('active');});
|
||||||
@ -35,6 +36,7 @@ function api_menu(){
|
|||||||
$('#menu_all').parent().addClass('active');}
|
$('#menu_all').parent().addClass('active');}
|
||||||
}
|
}
|
||||||
function init_saimod_sys_page_list(){
|
function init_saimod_sys_page_list(){
|
||||||
|
$("#sai_mod_page_table").tablesorter();
|
||||||
api_menu();}
|
api_menu();}
|
||||||
function init_saimod_sys_page_delete(){
|
function init_saimod_sys_page_delete(){
|
||||||
$('#del_page_del').click(function() {
|
$('#del_page_del').click(function() {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<table class="col-sm-12 table table-hover table-striped table-condensed" style="overflow: auto;">
|
<table class="col-sm-12 table table-hover table-striped table-condensed tablesorter" id="sai_mod_page_table" style="overflow: auto;">
|
||||||
<thead class="cf">
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>id</th>
|
<th>id</th>
|
||||||
<th>name</th>
|
<th>name</th>
|
||||||
@ -13,6 +13,8 @@
|
|||||||
<th>func</th>
|
<th>func</th>
|
||||||
<th>php_class</th-->
|
<th>php_class</th-->
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
${content}
|
<tbody>
|
||||||
|
${content}
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
Loading…
x
Reference in New Issue
Block a user