UI: Files sortierbare Tabelle
This commit is contained in:
parent
61947a374d
commit
98337ffdd3
@ -1,4 +1,5 @@
|
||||
function init_saimod_sys_files() {
|
||||
$("#sai_mod_files_table").tablesorter();
|
||||
$('#tabs_files a').click(function (e) {
|
||||
$('#tabs_files li').each(function(){
|
||||
$(this).removeClass('active');});
|
||||
@ -8,6 +9,7 @@ function init_saimod_sys_files() {
|
||||
}
|
||||
|
||||
function init_saimod_sys_files_list(){
|
||||
$("#sai_mod_files_table").tablesorter();
|
||||
$(".imgdelbtn").click(function(){
|
||||
$.getJSON('./sai.php?sai_mod=.SYSTEM.SAI.saimod_sys_files&action=del&cat='+$(this).attr("cat")+'&id='+$(this).attr("id"), function(data){
|
||||
if(data.status){
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
<table class="table table-hover table-condensed" style="overflow: auto;">
|
||||
<table class="table table-hover table-condensed tablesorter" id="sai_mod_files_table" style="overflow: auto;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Extension</th>
|
||||
@ -7,7 +8,10 @@
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
${content}
|
||||
</tbody>
|
||||
<tr>
|
||||
<br>
|
||||
<th><form enctype="multipart/form-data" id="form_${cat}"><input class="form-control" type="file" name="datei_${cat}"></th>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user