diff options
author | Simon Rettberg | 2014-06-02 20:03:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-06-02 20:03:27 +0200 |
commit | e2bfe6c411a05e3332d754e01ae2ad46a0bcb770 (patch) | |
tree | 33b7b6d1d8cb2626cc26738d7b05f8e69dae4cc2 /templates/minilinux/filelist.html | |
parent | Fix tracking of js taskmanager poller status; remove obsolete hack from taskm... (diff) | |
download | slx-admin-e2bfe6c411a05e3332d754e01ae2ad46a0bcb770.tar.gz slx-admin-e2bfe6c411a05e3332d754e01ae2ad46a0bcb770.tar.xz slx-admin-e2bfe6c411a05e3332d754e01ae2ad46a0bcb770.zip |
Continue to show minilinux download status even when refreshing the page
Diffstat (limited to 'templates/minilinux/filelist.html')
-rw-r--r-- | templates/minilinux/filelist.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/minilinux/filelist.html b/templates/minilinux/filelist.html index abb28aad..fdc3f14e 100644 --- a/templates/minilinux/filelist.html +++ b/templates/minilinux/filelist.html @@ -10,7 +10,9 @@ {{#files}} <li class="list-group-item" id="{{uid}}"> {{name}} - {{#changed}}<span class="btn btn-primary btn-sm" onclick="slxUpdate('{{uid}}', '{{id}}', '{{name}}')">Aktualisieren</span>{{/changed}} + {{#changed}}<span class="btn btn-success btn-sm" onclick="slxUpdate('{{uid}}', '{{id}}', '{{name}}')">Aktualisieren</span>{{/changed}} + {{^changed}}<span class="btn btn-default btn-sm" onclick="slxUpdate('{{uid}}', '{{id}}', '{{name}}')">Erneut herunterladen</span>{{/changed}} + {{{download}}} </li> {{/files}} </ul> @@ -36,4 +38,5 @@ function slxUpdate(uid, id, name) } }); } +tmInit(); </script>
\ No newline at end of file |