summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/templates/default/header/progressbar.html
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app/templates/default/header/progressbar.html')
-rw-r--r--pyload/web/app/templates/default/header/progressbar.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/pyload/web/app/templates/default/header/progressbar.html b/pyload/web/app/templates/default/header/progressbar.html
new file mode 100644
index 000000000..41645c92f
--- /dev/null
+++ b/pyload/web/app/templates/default/header/progressbar.html
@@ -0,0 +1,27 @@
+ <%= if single %>
+ <% name %> (<% statusmsg %>)
+ <% else %>
+ <%= if downloads %>
+ <% downloads %> downloads running <%= if speed %>(<% formatSize speed %>/s)<%/if%>
+ <% else %>
+ No running tasks
+ <%/if%>
+ <%/if%>
+ <i class="icon-list pull-right"></i>
+ <!-- TODO active animation -->
+ <div class="progress" id="globalprogress">
+ <%= if single %>
+ <div class="bar" style="width: <% percent %>%">
+ <% else %>
+ <div class="bar <%= if downloads %>running<%/if%>">
+ <%/if%>
+ </div>
+ </div>
+ <div class="sub">
+ <%= if linksqueue %>
+ <% linksqueue %> downloads left (<% formatSize sizequeue %>)
+ <%/if%>
+ <span class="pull-right">
+ <% formatTime etaqueue %>
+ </span>
+ </div> \ No newline at end of file