UI: Page sortierbare Tabelle

This commit is contained in:
Messerbill 2015-06-08 22:05:44 +02:00
parent 619b9ed53c
commit f4238384ca
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,5 @@
function init_saimod_sys_page() {
$("#sai_mod_page_table").tablesorter();
$('#tabs_page a').click(function (e) {
$('#tabs_page li').each(function(){
$(this).removeClass('active');});
@ -35,6 +36,7 @@ function api_menu(){
$('#menu_all').parent().addClass('active');}
}
function init_saimod_sys_page_list(){
$("#sai_mod_page_table").tablesorter();
api_menu();}
function init_saimod_sys_page_delete(){
$('#del_page_del').click(function() {

View File

@ -1,5 +1,5 @@
<table class="col-sm-12 table table-hover table-striped table-condensed" style="overflow: auto;">
<thead class="cf">
<table class="col-sm-12 table table-hover table-striped table-condensed tablesorter" id="sai_mod_page_table" style="overflow: auto;">
<thead>
<tr>
<th>id</th>
<th>name</th>
@ -13,6 +13,8 @@
<th>func</th>
<th>php_class</th-->
</tr>
</thead>
${content}
</thead>
<tbody>
${content}
</tbody>
</table>