summaryrefslogtreecommitdiffstats
path: root/templates/remote-tgz-list.html
diff options
context:
space:
mode:
authorSimon Rettberg2013-11-05 20:25:55 +0100
committerSimon Rettberg2013-11-05 20:25:55 +0100
commite277baed387b642bb7e6707b49e55da4719a9c79 (patch)
tree350343881ddc35fe53862e971506bc405a9a7fad /templates/remote-tgz-list.html
parentTolle neue APIs Sachen (diff)
downloadslx-admin-e277baed387b642bb7e6707b49e55da4719a9c79.tar.gz
slx-admin-e277baed387b642bb7e6707b49e55da4719a9c79.tar.xz
slx-admin-e277baed387b642bb7e6707b49e55da4719a9c79.zip
Working on download of remote configs
Diffstat (limited to 'templates/remote-tgz-list.html')
-rw-r--r--templates/remote-tgz-list.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/remote-tgz-list.html b/templates/remote-tgz-list.html
new file mode 100644
index 00000000..e7abc78a
--- /dev/null
+++ b/templates/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('#download{{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="download{{id}}">{{description}}</div>
+ </div>
+ {{/files}}
+ {{^files}}
+ <div class="row well well-sm">Keine Konfigurationspakete gefunden!</div>
+ {{/files}}
+</div>