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