From 95d09b338ac7aed2b387bf143a5cfd1c4b29f612 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 15 Dec 2009 17:48:30 +0100 Subject: new Django webinterface(in development), small fixes --- module/web/templates/default.tpl | 230 --------------------------------------- 1 file changed, 230 deletions(-) delete mode 100644 module/web/templates/default.tpl (limited to 'module/web/templates/default.tpl') diff --git a/module/web/templates/default.tpl b/module/web/templates/default.tpl deleted file mode 100644 index 3f5e8d8e8..000000000 --- a/module/web/templates/default.tpl +++ /dev/null @@ -1,230 +0,0 @@ -%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']}} -
- - - -
-{{int((link['size'] - link['kbleft']) / 1024)}}/{{int(link['size']) / 1024}} MB -
- - -
-{{int(link['speed'])}} kb/s -
- - -
-{{link['eta']}} -
- - -
- - - - - -%end - -
- - -%elif page=="loggedin": - - -You were successfully logged in - -%elif page=="queue": - -
    - -%for package in links: - -
  • {{package.name}}
  • - -%end - -
- -Currently in Development - -%elif page=="downloads": - -Currently in Development - - -%end -
- - - -
- -%include footer use_js=[] \ No newline at end of file -- cgit v1.2.3