diff options
author | 2013-06-08 17:37:43 +0200 | |
---|---|---|
committer | 2013-06-08 17:37:44 +0200 | |
commit | 2cf160d497e501bf254bd8be054c0f5880ab90ca (patch) | |
tree | 03a720b6142cc03fe7ef258fa8d17da92b30a462 /module/web/app/templates/default/header/progressbar.html | |
parent | Merge pull request #151 from vuolter/invertedconf (diff) | |
download | pyload-2cf160d497e501bf254bd8be054c0f5880ab90ca.tar.xz |
restructured webui to single-page-app, removed jinja
Diffstat (limited to 'module/web/app/templates/default/header/progressbar.html')
-rw-r--r-- | module/web/app/templates/default/header/progressbar.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/module/web/app/templates/default/header/progressbar.html b/module/web/app/templates/default/header/progressbar.html new file mode 100644 index 000000000..41645c92f --- /dev/null +++ b/module/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 |