UI: Mod sortierbare Tabelle

This commit is contained in:
Messerbill 2015-06-08 22:32:05 +02:00
parent c28ddc55ef
commit ea48285b04
3 changed files with 28 additions and 16 deletions

View File

@ -1,4 +1,5 @@
function init_saimod_sys_mod() {
$("#sai_mod_sys_table").tablesorter();
$('#tabs_mod a').click(function (e) {
$('#tabs_mod li').each(function(){
$(this).removeClass('active');});
@ -7,18 +8,21 @@ function init_saimod_sys_mod() {
};
function init_saimod_sys_mod_system() {
$("#sai_mod_sys_table").tablesorter();
$('#tabs_mod li').each(function(){
$(this).removeClass('active');});
$('#menu_mod_system').parent().addClass('active');
}
function init_saimod_sys_mod_project() {
$("#sai_mod_sys_table").tablesorter();
$('#tabs_mod li').each(function(){
$(this).removeClass('active');});
$('#menu_mod_project').parent().addClass('active');
}
function init_saimod_sys_mod_lib() {
$("#sai_mod_sys_table").tablesorter();
$('#tabs_mod li').each(function(){
$(this).removeClass('active');});
$('#menu_mod_lib').parent().addClass('active');

View File

@ -1,8 +1,12 @@
<table class="table table-hover table-condensed sai_table" style="overflow: auto;">
<table class="table table-hover table-condensed sai_table tablesorter" style="overflow: auto;">
<thead>
<tr>
<th>${table_class}</th>
<th>${table_version}</th>
<th>${table_interface}</th>
</tr>
</thead>
<tbody>
${entries}
</tbody>
</table>

View File

@ -1,9 +1,13 @@
<table class="table table-hover table-condensed sai_table" style="overflow: auto;">
<table class="table table-hover table-condensed sai_table tablesorter" style="overflow: auto;">
<thead>
<tr>
<th>Classname</th>
<th>Public</th>
<th>You can Access?</th>
</tr>
</thead>
<tbody>
${saistart}
${entries}
</tbody>
</table>