summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/templates/default/header
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app/templates/default/header')
-rw-r--r--pyload/web/app/templates/default/header/progress.html18
-rw-r--r--pyload/web/app/templates/default/header/progressbar.html34
-rw-r--r--pyload/web/app/templates/default/header/status.html6
3 files changed, 29 insertions, 29 deletions
diff --git a/pyload/web/app/templates/default/header/progress.html b/pyload/web/app/templates/default/header/progress.html
index 65ae9a880..4ef5a1cd6 100644
--- a/pyload/web/app/templates/default/header/progress.html
+++ b/pyload/web/app/templates/default/header/progress.html
@@ -1,14 +1,14 @@
-<% name %>
-<span class="pull-right"><% plugin %></span>
+{{ name }}
+<span class="pull-right">{{ plugin }}</span>
<div class="progress">
- <div class="bar" style="width: <% percent %>%"></div>
+ <div class="bar" style="width: {{ percent }}%"></div>
</div>
-<%= if downloading %>
-<% formatSize done %> of <% formatSize total %> (<% formatSize download.speed %>/s)
-<% else %>
-<% statusmsg %>
-<%/if%>
+{{#if downloading }}
+{{ formatSize done }} of {{ formatSize total }} ({{ formatSize download.speed }}/s)
+{{ else }}
+{{ statusmsg }}
+{{/if}}
<span class="pull-right">
- <% formatTime eta %>
+ {{ formatTime eta }}
</span> \ No newline at end of file
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
diff --git a/pyload/web/app/templates/default/header/status.html b/pyload/web/app/templates/default/header/status.html
index 3a22bb75b..f840b6e33 100644
--- a/pyload/web/app/templates/default/header/status.html
+++ b/pyload/web/app/templates/default/header/status.html
@@ -1,3 +1,3 @@
-<span class="pull-right maxspeed"><% formatSize maxspeed %>/s</span><br>
-<span class="pull-right running"><% paused %></span><br>
-<span class="pull-right reconnect"><%= if reconnect %>true<% else %>false<%/if%></span> \ No newline at end of file
+<span class="pull-right maxspeed">{{ formatSize maxspeed }}/s</span><br>
+<span class="pull-right running">{{ paused }}</span><br>
+<span class="pull-right reconnect">{{#if reconnect }}true{{ else }}false{{/if}}</span> \ No newline at end of file