From 699f5f09bfe176c925997127315974faf333e486 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 2 Sep 2009 17:13:07 +0200 Subject: dynamic webinterface --- module/web/templates/default.tpl | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) (limited to 'module/web/templates') diff --git a/module/web/templates/default.tpl b/module/web/templates/default.tpl index b184f4017..9bd9b71fb 100644 --- a/module/web/templates/default.tpl +++ b/module/web/templates/default.tpl @@ -125,15 +125,18 @@ Files in queue:  %elif page== "home":

Downloads:

+
+ % for link in links: -

+

+

{{link['name']}}
-{{link['speed']}} -
+ +
+{{int((link['size'] - link['kbleft']) / 1024)}}/{{int(link['size']) / 1024}} MB +
+ + +
+{{int(link['speed'])}} kb/s +
+ + +
{{link['eta']}} -
-{{link['size']}} -
+
+
@@ -159,11 +173,11 @@ pb{{link['id']}} = new dwProgressBar({