UI: Text sortierbare Tabelle
This commit is contained in:
parent
f4238384ca
commit
61947a374d
@ -1,4 +1,5 @@
|
|||||||
function init_saimod_sys_text() {
|
function init_saimod_sys_text() {
|
||||||
|
$("#sai_mod_text_table").tablesorter();
|
||||||
$('#tabs_text a').click(function (e) {
|
$('#tabs_text a').click(function (e) {
|
||||||
$('#tabs_text li').each(function(){
|
$('#tabs_text li').each(function(){
|
||||||
$(this).removeClass('active');});
|
$(this).removeClass('active');});
|
||||||
@ -31,12 +32,14 @@ function text2_menu(){
|
|||||||
};
|
};
|
||||||
|
|
||||||
function init_saimod_sys_text_notag(){
|
function init_saimod_sys_text_notag(){
|
||||||
|
$("#sai_mod_text_table").tablesorter();
|
||||||
$('#tabs_text li').each(function(){
|
$('#tabs_text li').each(function(){
|
||||||
$(this).removeClass('active');});
|
$(this).removeClass('active');});
|
||||||
$('#menu_tag_notag').parent().addClass('active');
|
$('#menu_tag_notag').parent().addClass('active');
|
||||||
}
|
}
|
||||||
|
|
||||||
function init_saimod_sys_text_tag(){
|
function init_saimod_sys_text_tag(){
|
||||||
|
$("#sai_mod_text_table").tablesorter();
|
||||||
text_menu();
|
text_menu();
|
||||||
text2_menu();
|
text2_menu();
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<table class="sai_table table table-hover table-condensed" style="overflow: auto;">
|
<table class="sai_table table table-hover table-condensed tablesorter" id="sai_mod_text_table" style="overflow: auto;">
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>${table_id}</th>
|
<th>${table_id}</th>
|
||||||
<th>${table_lang}</th>
|
<th>${table_lang}</th>
|
||||||
@ -8,5 +9,8 @@
|
|||||||
<th>${table_author_edit}</th>
|
<th>${table_author_edit}</th>
|
||||||
<th>${table_time_edit}</th>
|
<th>${table_time_edit}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
${entries}
|
${entries}
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
Loading…
x
Reference in New Issue
Block a user