From d6caf1c8395338a21e03b12876fab240823bcc2f Mon Sep 17 00:00:00 2001 From: ngosang Date: Wed, 17 Jun 2015 01:24:59 +0200 Subject: [PATCH] [Web UI] Reorder the tabs/groups in Options window --- src/webui/www/public/preferences.html | 27 +- src/webui/www/public/preferences_content.html | 233 +++++++++--------- 2 files changed, 127 insertions(+), 133 deletions(-) diff --git a/src/webui/www/public/preferences.html b/src/webui/www/public/preferences.html index 882e59bc2..50bed9489 100644 --- a/src/webui/www/public/preferences.html +++ b/src/webui/www/public/preferences.html @@ -13,11 +13,10 @@
@@ -27,25 +26,21 @@ // Tabs MochaUI.initializeTabs('preferencesTabs'); -$('PrefConnectionLink').addEvent('click', function(e){ - $$('.PrefTab').addClass('invisible'); - $('ConnectionTab').removeClass('invisible'); -}); -$('PrefBittorrentLink').addEvent('click', function(e) { - $$('.PrefTab').addClass('invisible'); - $('BittorrentTab').removeClass('invisible'); -}); $('PrefDownloadsLink').addEvent('click', function(e) { $$('.PrefTab').addClass('invisible'); $('DownloadsTab').removeClass('invisible'); }); -$('PrefProxyLink').addEvent('click', function(e) { +$('PrefConnectionLink').addEvent('click', function(e){ $$('.PrefTab').addClass('invisible'); - $('ProxyTab').removeClass('invisible'); + $('ConnectionTab').removeClass('invisible'); }); -$('PrefFilterLink').addEvent('click', function(e) { +$('PrefSpeedLink').addEvent('click', function(e) { $$('.PrefTab').addClass('invisible'); - $('FilterTab').removeClass('invisible'); + $('SpeedTab').removeClass('invisible'); +}); +$('PrefBittorrentLink').addEvent('click', function(e) { + $$('.PrefTab').addClass('invisible'); + $('BittorrentTab').removeClass('invisible'); }); $('PrefWebUILink').addEvent('click', function(e) { $$('.PrefTab').addClass('invisible'); diff --git a/src/webui/www/public/preferences_content.html b/src/webui/www/public/preferences_content.html index ca76f6cd4..b5d15372e 100644 --- a/src/webui/www/public/preferences_content.html +++ b/src/webui/www/public/preferences_content.html @@ -1,4 +1,71 @@ -
+
+
+ QBT_TR(Hard Disk)QBT_TR +
+ + +
+
+ + + +
+
+ QBT_TR(Automatically add torrents from:)QBT_TR
+ + + + +
QBT_TR(Watched Folder)QBT_TRQBT_TR(Download here)QBT_TR
Add

+ + +    +
+ + +
+
+ + +
+
+ +
+ QBT_TR(Email notification upon download completion)QBT_TR + +
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+ +
+ QBT_TR(Run an external program on torrent completion)QBT_TR + +
+
+QBT_TR(The following parameters are supported:)QBT_TR +
    +
  • %f: QBT_TR(Torrent path)QBT_TR
  • +
  • %n: QBT_TR(Torrent name)QBT_TR
  • +
+
+
+ + + + - - - -