diff options
Diffstat (limited to 'module/web/templates/default/base.html')
-rw-r--r-- | module/web/templates/default/base.html | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index f8dd10c4e..822d7c710 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -39,15 +39,24 @@ });
</script>
<script type="text/template" id="template-header">
- <%= if downloads %>
- <% downloads %> downloads running <%= if speed %>(<% formatSize speed %>/s)<%/if%>
+ <%= if single %>
+ <% name %> (<% statusmsg %>)
<% else %>
- No running tasks
+ <%= if downloads %>
+ <% downloads %> downloads running <%= if speed %>(<% formatSize speed %>/s)<%/if%>
+ <% else %>
+ No running tasks
+ <%/if%>
<%/if%>
<i class="iconf-list pull-right"></i>
<div class="progress" id="globalprogress">
- <div class="bar" style="width: 48%">48%</div>
+ <%= if single %>
+ <div class="bar" style="width: <% percent %>%"> <% formatTime eta %>
+ <% else %>
+ <div class="bar" style="width: 0%">
+ <%/if%>
+ </div>
</div>
</script>
<script type="text/template" id="template-header-status">
|