From 172f6a10b9d3f2fc1878147132af73e96d9bd67e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 18 Aug 2009 21:32:51 +0200 Subject: some webinterface functions --- module/web/templates/default.tpl | 57 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 54 insertions(+), 3 deletions(-) (limited to 'module/web/templates') diff --git a/module/web/templates/default.tpl b/module/web/templates/default.tpl index 0940dc046..c9c4da272 100644 --- a/module/web/templates/default.tpl +++ b/module/web/templates/default.tpl @@ -63,6 +63,8 @@

pyLoad — Webinterface

+
+
%if page == "login": @@ -79,17 +81,66 @@

-%else: +%elif page== "home":

Downloads:

% for link in links:

-{{str(link)}} -

+
+ +{{link['name']}} +
+ + +{{link['speed']}} +
+{{link['eta']}} +
+{{link['size']}} +
+ +
+ + + + %end +

+ +%elif page=="loggedin": + + +You were successfully logged in + + + %end
-- cgit v1.2.3