summaryrefslogtreecommitdiffstats
path: root/templates/page-remote-tgz-list.html
diff options
context:
space:
mode:
authorSimon Rettberg2013-11-07 17:10:43 +0100
committerSimon Rettberg2013-11-07 17:10:43 +0100
commit8ae2b52e4db45f26c32a4ad9bc65494480936cbf (patch)
tree804bcfba15cdb7ff9c22b211adaf1d096a649559 /templates/page-remote-tgz-list.html
parentWorking on download of remote configs (diff)
downloadslx-admin-8ae2b52e4db45f26c32a4ad9bc65494480936cbf.tar.gz
slx-admin-8ae2b52e4db45f26c32a4ad9bc65494480936cbf.tar.xz
slx-admin-8ae2b52e4db45f26c32a4ad9bc65494480936cbf.zip
Make download work
Diffstat (limited to 'templates/page-remote-tgz-list.html')
-rw-r--r--templates/page-remote-tgz-list.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/page-remote-tgz-list.html b/templates/page-remote-tgz-list.html
new file mode 100644
index 00000000..7cf08dfd
--- /dev/null
+++ b/templates/page-remote-tgz-list.html
@@ -0,0 +1,11 @@
+<div class="container">
+ {{#files}}
+ <div class="panel panel-default">
+ <div class="panel-heading"><h4><a class="btn btn-success" href="#" onclick="this.style.display='none';loadContent('#{{id}}', 'api.php?do=download&amp;type=tgz&amp;file={{file}}&amp;id={{id}}')">Download</a> &raquo; {{file}}</h4></div>
+ <div class="panel-body" id="{{id}}">{{description}}</div>
+ </div>
+ {{/files}}
+ {{^files}}
+ <div class="row well well-sm">Keine Konfigurationspakete gefunden!</div>
+ {{/files}}
+</div>