summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJonathan Bauer2014-06-04 18:11:00 +0200
committerJonathan Bauer2014-06-04 18:11:00 +0200
commit375b2cf8233c50c52f08750d0a38df86d6836927 (patch)
tree1e1d71987a1090d726ee34758c9e318553d32075 /templates
parentFixed some bugs from Sateserver v05 (diff)
downloadslx-admin-375b2cf8233c50c52f08750d0a38df86d6836927.tar.gz
slx-admin-375b2cf8233c50c52f08750d0a38df86d6836927.tar.xz
slx-admin-375b2cf8233c50c52f08750d0a38df86d6836927.zip
listing of module's content
Diffstat (limited to 'templates')
-rw-r--r--templates/page-sysconfig-main.html3
-rw-r--r--templates/sysconfig/custom-filelist.html21
2 files changed, 23 insertions, 1 deletions
diff --git a/templates/page-sysconfig-main.html b/templates/page-sysconfig-main.html
index b3606113..84f98408 100644
--- a/templates/page-sysconfig-main.html
+++ b/templates/page-sysconfig-main.html
@@ -63,6 +63,7 @@
<tr>
<td>{{module}}</td>
<td>
+ <button class="btn btn-default btn-xs" name="list" value="{{moduleid}}"><span class="glyphicon glyphicon-eye-open"></span> Ansehen</button>
<!-- a class="btn btn-default btn-xs"><span class="glyphicon glyphicon-edit"></span> Bearbeiten</a -->
</td>
<td>
@@ -110,4 +111,4 @@
<div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">Schließen</a></div>
</div>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/templates/sysconfig/custom-filelist.html b/templates/sysconfig/custom-filelist.html
new file mode 100644
index 00000000..fc851ff8
--- /dev/null
+++ b/templates/sysconfig/custom-filelist.html
@@ -0,0 +1,21 @@
+<form role="form" method="post" action="?do=SysConfig">
+ <input type="hidden" name="modid" value="{{modid}}">
+ <input type="hidden" name="token" value="{{token}}">
+
+ <table class="table table-bordered table-condensed">
+ {{#files}}
+ <tr>
+ {{#isdir}}
+ <td class="fileEntry isdir" colspan="2">{{name}}</td>
+ {{/isdir}}
+ {{^isdir}}
+ <td class="fileEntry">{{name}}</td>
+ <td>{{size}}</td>
+ {{/isdir}}
+ </tr>
+ {{/files}}
+ </table>
+ <div class="pull-left">
+ <button type="submit" class="btn btn-primary" action="?do=SysConfig">Zurück &laquo;</button>
+ </div>
+</form> \ No newline at end of file