diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-19 23:46:25 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-19 23:46:25 +0100 |
commit | ce5ef8487d625bb30f17f84d80732a2baeede31b (patch) | |
tree | f7a4e8daaff7a8214b7a25548da4395d340482b8 /module/web/templates/default/dashboard.html | |
parent | separeted dashboard.less (diff) | |
download | pyload-ce5ef8487d625bb30f17f84d80732a2baeede31b.tar.xz |
added handlebars templates
Diffstat (limited to 'module/web/templates/default/dashboard.html')
-rw-r--r-- | module/web/templates/default/dashboard.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/module/web/templates/default/dashboard.html b/module/web/templates/default/dashboard.html index b5fdf406b..52b4dc82f 100644 --- a/module/web/templates/default/dashboard.html +++ b/module/web/templates/default/dashboard.html @@ -23,7 +23,7 @@ <%= stats.linkstotal %> Files (xy / z /t)
</span>
<span class="pull-right">
- <%= stats.sizedone %> / <%= stats.sizetotal %>
+ <%= formatSize stats.sizedone %> / <%= formatSize stats.sizetotal %>
</span>
</div>
@@ -37,17 +37,17 @@ <script type="text/template" id="template-file">
<div>
<div class="file-row first">
- File <%= fid %>: <%= name %>
+ File <% fid %>: <% name %>
</div>
<div class="file-row second">
- <%= download.statusmsg %>
+ <% download.statusmsg %>
<span class="pull-right">
- Size: <%= size %>
+ Size: <% formatSize size %>
</span>
</div>
<div class="file-row third">
- <%= download.plugin %>
+ <% download.plugin %>
</div>
</div>
</script>
|