summaryrefslogtreecommitdiffstats
path: root/templates/download-progress.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/download-progress.html')
-rw-r--r--templates/download-progress.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/download-progress.html b/templates/download-progress.html
new file mode 100644
index 00000000..81b31901
--- /dev/null
+++ b/templates/download-progress.html
@@ -0,0 +1,6 @@
+<div class="progress progress-striped active">
+ <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="{{percent}}" aria-valuemin="0" aria-valuemax="100" style="width: {{percent}}%">
+ <span class="sr-only">{{percent}}% Complete</span>
+ </div>
+ <script> setTimeout(function() { $('#{{id}}').load('api.php?do=download&progress={{progress}}&file={{file}}&id={{id}}&pid={{pid}}'); }, 2000); // </script>
+</div>