UI: Log sortierbare Tabelle
This commit is contained in:
parent
a8f1741911
commit
df3883c2e9
@ -1,5 +1,6 @@
|
|||||||
google.load("visualization", "1", {packages:["corechart"]});
|
google.load("visualization", "1", {packages:["corechart"]});
|
||||||
function init_saimod_sys_log() {
|
function init_saimod_sys_log() {
|
||||||
|
$("#sai_mod_log_table").tablesorter();
|
||||||
$('#tabs_log a').click(function (e) {
|
$('#tabs_log a').click(function (e) {
|
||||||
$('#tabs_log li').each(function(){
|
$('#tabs_log li').each(function(){
|
||||||
$(this).removeClass('active');});
|
$(this).removeClass('active');});
|
||||||
@ -8,12 +9,14 @@ function init_saimod_sys_log() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function init_saimod_sys_log_log() {
|
function init_saimod_sys_log_log() {
|
||||||
|
$("#sai_mod_log_table").tablesorter();
|
||||||
$('#tabs_log li').each(function(){
|
$('#tabs_log li').each(function(){
|
||||||
$(this).removeClass('active');});
|
$(this).removeClass('active');});
|
||||||
$('#menu_loglist').parent().addClass('active');
|
$('#menu_loglist').parent().addClass('active');
|
||||||
}
|
}
|
||||||
|
|
||||||
function init_saimod_sys_log_stats() {
|
function init_saimod_sys_log_stats() {
|
||||||
|
$("#sai_mod_log_table").tablesorter();
|
||||||
load_visualisation();
|
load_visualisation();
|
||||||
$('#vis_filter_time').change(function(){
|
$('#vis_filter_time').change(function(){
|
||||||
load_visualisation();})
|
load_visualisation();})
|
||||||
|
|||||||
@ -4,7 +4,8 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<div id="table_log">
|
<div id="table_log">
|
||||||
${basic_rows}: ${count}
|
${basic_rows}: ${count}
|
||||||
<table class="table table-hover table-condensed">
|
<table class="table table-hover table-condensed tablesorter" id="sai_mod_log_table">
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>${time_ago}</th>
|
<th>${time_ago}</th>
|
||||||
<th>${table_class}</th>
|
<th>${table_class}</th>
|
||||||
@ -16,6 +17,9 @@
|
|||||||
<th>${table_user}</th>
|
<th>${table_user}</th>
|
||||||
<th>${table_querytime}</th>
|
<th>${table_querytime}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
${table}
|
${table}
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
Loading…
x
Reference in New Issue
Block a user