diff --git a/deluge/ui/webui/webui_plugin/pages.py b/deluge/ui/webui/webui_plugin/pages.py index f31aff872..d73497a47 100644 --- a/deluge/ui/webui/webui_plugin/pages.py +++ b/deluge/ui/webui/webui_plugin/pages.py @@ -48,7 +48,7 @@ import lib.webpy022 as web from lib.webpy022.http import seeother, url from lib.static_handler import static_handler -import base64 + from operator import attrgetter import os diff --git a/deluge/ui/webui/webui_plugin/run_webserver b/deluge/ui/webui/webui_plugin/run_webserver deleted file mode 100755 index 7122e41dd..000000000 --- a/deluge/ui/webui/webui_plugin/run_webserver +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env python -import deluge_webserver -deluge_webserver.ws.init_05() -deluge_webserver.run() - diff --git a/deluge/ui/webui/webui_plugin/templates/deluge/torrent_add.html b/deluge/ui/webui/webui_plugin/templates/deluge/torrent_add.html index 067845ac5..0488f6f8b 100644 --- a/deluge/ui/webui/webui_plugin/templates/deluge/torrent_add.html +++ b/deluge/ui/webui/webui_plugin/templates/deluge/torrent_add.html @@ -1,9 +1,15 @@ -$def with (add_form) +$def with (add_form, options_form) $:render.header(_("Add Torrent"))
-
+ + +
+ + $:add_form.as_table() +
+ + + -
- - +$_('Options') + -

Options

-
Options are not used yet!
+
-

$_("Allocation/Location")

+
+ +
+ + +
+
+ + $:render.footer()