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.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/pyload/web/app/templates/default/header/progressbar.html b/pyload/web/app/templates/default/header/progressbar.html
index 41645c92f..e32edb335 100644
--- a/pyload/web/app/templates/default/header/progressbar.html
+++ b/pyload/web/app/templates/default/header/progressbar.html
@@ -1,27 +1,27 @@
- <%= if single %>
- <% name %> (<% statusmsg %>)
- <% else %>
- <%= if downloads %>
- <% downloads %> downloads running <%= if speed %>(<% formatSize speed %>/s)<%/if%>
- <% else %>
+ {{#if single }}
+ {{ name }} ({{ statusmsg }})
+ {{ else }}
+ {{#if downloads }}
+ {{ downloads }} downloads running {{#if speed }}({{ formatSize speed }}/s){{/if}}
+ {{ else }}
No running tasks
- <%/if%>
- <%/if%>
+ {{/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%>
+ {{#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%>
+ {{#if linksqueue }}
+ {{ linksqueue }} downloads left ({{ formatSize sizequeue }})
+ {{/if}}
<span class="pull-right">
- <% formatTime etaqueue %>
+ {{ formatTime etaqueue }}
</span>
</div> \ No newline at end of file