%header = 'pyLoad Webinterface' %js = ['mootools-1.2.3-core.js','mootools-1.2.3.1-more.js'] %if page== "home": js.append('default/home.js') %end %if page== "loggedin": red=True %else: red=False %end %if page != "loggedin" and page != "login": js.append('default/status.js') %end %include header title=header, use_js=js, use_css=['default.css','window.css'], redirect=red %include window id="addlinks", width=400, caption="Add links", body="", button="Add"
%if page != "login": User:{{user}} %else: Please Login! %end

pyLoad — Webinterface

%if page != "loggedin" and page != "login":
Status:
Speed: 
Files in queue: 
%end
%if page == "login":
Login


%elif page== "home":

Downloads:

% for link in links:

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

%elif page=="loggedin": You were successfully logged in %end
%include footer use_js=[]