UI: Security sortierbare Tabelle
This commit is contained in:
parent
fea33b3f1f
commit
c28ddc55ef
@ -1,4 +1,5 @@
|
||||
function init_saimod_sys_security() {
|
||||
function init_saimod_sys_security() {
|
||||
$("#sai_mod_security_table").tablesorter();
|
||||
$('#securitytab a').click(function (e) {
|
||||
$('#securitytab li').each(function(){
|
||||
$(this).removeClass('active');});
|
||||
@ -10,12 +11,14 @@ function init_saimod_sys_security() {
|
||||
};
|
||||
|
||||
function init_saimod_sys_security_users() {
|
||||
$("#sai_mod_security_table").tablesorter();
|
||||
$('#securitytab li').each(function(){
|
||||
$(this).removeClass('active');});
|
||||
$('#menu_users').parent().addClass('active');
|
||||
}
|
||||
|
||||
function init_saimod_sys_security_user() {
|
||||
$("#sai_mod_security_table").tablesorter();
|
||||
$('.deleteuserright').click(function(){
|
||||
$.get( './sai.php?sai_mod=.SYSTEM.SAI.saimod_sys_security&action=deleterightuser&rightid='+$(this).attr('right_id')+
|
||||
'&userid='+$(this).attr('user_id'),function(data){
|
||||
@ -39,6 +42,7 @@ function init_saimod_sys_security_user() {
|
||||
}
|
||||
|
||||
function init_saimod_sys_security_rights() {
|
||||
$("#sai_mod_security_table").tablesorter();
|
||||
$('#securitytab li').each(function(){
|
||||
$(this).removeClass('active');});
|
||||
$('#menu_rights').parent().addClass('active');
|
||||
|
||||
@ -1,11 +1,15 @@
|
||||
${addright_btn}
|
||||
</br></br>
|
||||
<table class="table table-hover table-condensed sai_table" style="overflow: auto;">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
${rows}
|
||||
<table class="table table-hover table-condensed sai_table tablesorter" id="sai_mod_security_table" style="overflow: auto;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
${rows}
|
||||
</tbody>
|
||||
</table>
|
||||
@ -1,17 +1,21 @@
|
||||
<div id="table_log">
|
||||
${basic_rows}: ${count}
|
||||
<table class="table table-hover table-condensed">
|
||||
<tr>
|
||||
<th>${time_ago}</th>
|
||||
<th>${table_class}</th>
|
||||
<th>${table_message}</th>
|
||||
<th>${table_file}</th>
|
||||
<th>${table_line}</th>
|
||||
<th>${table_ip}</th>
|
||||
<th>${table_url}</th>
|
||||
<th>${table_user}</th>
|
||||
<th>${table_querytime}</th>
|
||||
</tr>
|
||||
${table}
|
||||
<table class="table table-hover table-condensed tablesorter" id="sai_mod_security_table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>${time_ago}</th>
|
||||
<th>${table_class}</th>
|
||||
<th>${table_message}</th>
|
||||
<th>${table_file}</th>
|
||||
<th>${table_line}</th>
|
||||
<th>${table_ip}</th>
|
||||
<th>${table_url}</th>
|
||||
<th>${table_user}</th>
|
||||
<th>${table_querytime}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
${table}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@ -1,11 +1,15 @@
|
||||
<table class="table sai_table">
|
||||
<tr>
|
||||
<th>ID</td>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
<th>Access</th>
|
||||
<th>Remove</th>
|
||||
</tr>
|
||||
${user_rights_table}
|
||||
<table class="table sai_table tablesorter" id="sai_mod_security_table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</td>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
<th>Access</th>
|
||||
<th>Remove</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
${user_rights_table}
|
||||
</tbody>
|
||||
${user_rights_add}
|
||||
</table>
|
||||
@ -1,15 +1,19 @@
|
||||
Users: ${count}
|
||||
<table class="sai_table table table-hover table-condensed" style="overflow: auto;">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Username</th>
|
||||
<th>E-Mail</th>
|
||||
<th>JoinDate</th>
|
||||
<th>Locale</th>
|
||||
<th>Last Active</th>
|
||||
<th>Flag</th>
|
||||
<!--<th style="width: 110px;">Rights</th>-->
|
||||
<th>reset password</th>
|
||||
</tr>
|
||||
${rows}
|
||||
<table class="sai_table table table-hover table-condensed tablesorter" id="sai_mod_security_table" style="overflow: auto;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Username</th>
|
||||
<th>E-Mail</th>
|
||||
<th>JoinDate</th>
|
||||
<th>Locale</th>
|
||||
<th>Last Active</th>
|
||||
<th>Flag</th>
|
||||
<!--<th style="width: 110px;">Rights</th>-->
|
||||
<th>reset password</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
${rows}
|
||||
</tbody>
|
||||
</table>
|
||||
Loading…
x
Reference in New Issue
Block a user