From f7a56b95ba56a03c2827b801768280445c1f2950 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 8 Oct 2008 17:46:04 +0000 Subject: [PATCH] begin testing gears, redesigning the add torrent window --- deluge/ui/webui/templates/ajax/index.html | 1 + .../ajax/render/html/create_torrent_info.html | 6 +- .../ajax/render/html/window_add_torrent.html | 28 +++--- .../render/html/window_create_torrent.html | 17 ++-- .../ajax/render/js/deluge-strings.js | 3 + .../templates/ajax/static/js/deluge-add.js | 91 ++++++++++++++++--- .../templates/ajax/static/js/gears_init.js | 87 ++++++++++++++++++ .../ajax/static/themes/classic/style.css | 17 +++- 8 files changed, 208 insertions(+), 42 deletions(-) create mode 100644 deluge/ui/webui/templates/ajax/static/js/gears_init.js diff --git a/deluge/ui/webui/templates/ajax/index.html b/deluge/ui/webui/templates/ajax/index.html index c0da053fb..7578e7df9 100644 --- a/deluge/ui/webui/templates/ajax/index.html +++ b/deluge/ui/webui/templates/ajax/index.html @@ -8,6 +8,7 @@ + diff --git a/deluge/ui/webui/templates/ajax/render/html/create_torrent_info.html b/deluge/ui/webui/templates/ajax/render/html/create_torrent_info.html index 0cd744f58..68b8e187f 100644 --- a/deluge/ui/webui/templates/ajax/render/html/create_torrent_info.html +++ b/deluge/ui/webui/templates/ajax/render/html/create_torrent_info.html @@ -1,4 +1,2 @@ -
-
- -
+
+ diff --git a/deluge/ui/webui/templates/ajax/render/html/window_add_torrent.html b/deluge/ui/webui/templates/ajax/render/html/window_add_torrent.html index c35d77604..831f9cc3d 100644 --- a/deluge/ui/webui/templates/ajax/render/html/window_add_torrent.html +++ b/deluge/ui/webui/templates/ajax/render/html/window_add_torrent.html @@ -1,15 +1,15 @@ -
-
- $_('From File') -
- -
-
- -
-
- $_('From Url') -
- -
+

Torrents

+