diff options
author | Simon Rettberg | 2013-11-07 17:10:43 +0100 |
---|---|---|
committer | Simon Rettberg | 2013-11-07 17:10:43 +0100 |
commit | 8ae2b52e4db45f26c32a4ad9bc65494480936cbf (patch) | |
tree | 804bcfba15cdb7ff9c22b211adaf1d096a649559 /templates/page-remote-tgz-list.html | |
parent | Working on download of remote configs (diff) | |
download | slx-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.html | 11 |
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&type=tgz&file={{file}}&id={{id}}')">Download</a> » {{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> |