From 31ca3c1334bbe85b9cf9df250d87c55ce73c84ee Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 23 Nov 2009 16:43:51 +0000 Subject: [PATCH] - Use new icons in Web UI also --- src/search.qrc | 2 ++ src/webui/css/style.css | 29 +++++++++++++++++++++++++++++ src/webui/index.html | 32 +++++++++++++++++++++++--------- src/webui/scripts/client.js | 16 ++++++++++------ 4 files changed, 64 insertions(+), 15 deletions(-) diff --git a/src/search.qrc b/src/search.qrc index 37caac734..57b56c4ec 100644 --- a/src/search.qrc +++ b/src/search.qrc @@ -6,6 +6,7 @@ search_engine/nova2.py search_engine/engines/isohunt.py search_engine/engines/isohunt.png + search_engine/engines/torrentule.py search_engine/engines/piratebay.py search_engine/engines/torrentreactor.py search_engine/engines/piratebay.png @@ -13,6 +14,7 @@ search_engine/engines/btjunkie.py search_engine/engines/torrentreactor.png search_engine/engines/mininova.png + search_engine/engines/sharetv.py search_engine/engines/mininova.py \ No newline at end of file diff --git a/src/webui/css/style.css b/src/webui/css/style.css index 1ee31c133..ac926bb6f 100644 --- a/src/webui/css/style.css +++ b/src/webui/css/style.css @@ -124,6 +124,7 @@ hr { width: 120px; border-right: 1px solid #ccc; color: #000; + vertical-align: top; } #Filters ul { @@ -142,9 +143,37 @@ hr { #Transfers { vertical-align: top; + height: 100%; +} + +#transferListContainer { + height: 50%; + border-bottom: 1px solid #ccc; + overflow: auto; } .selectedFilter { background-color: #354158; color: #000; } + +div #PropDiv { + height: 50%; +} + +div.PropPanel { + background-color: #e5e5e5; + overflow: auto; +} + +a.propButton { + border: 1px solid rgb(85, 81, 91); + /*border-radius: 3px;*/ + padding: 2px; + margin-left: 3px; + margin-right: 3px; +} + +a.propButton img { + margin-bottom: -4px; +} diff --git a/src/webui/index.html b/src/webui/index.html index 560e6b212..46880327c 100644 --- a/src/webui/index.html +++ b/src/webui/index.html @@ -20,9 +20,9 @@
diff --git a/src/webui/scripts/client.js b/src/webui/scripts/client.js index 8d53840c0..095726c0f 100644 --- a/src/webui/scripts/client.js +++ b/src/webui/scripts/client.js @@ -39,23 +39,27 @@ window.addEvent('domready', function(){ switch (state) { case 'pausedUP': + return ''; case 'pausedDL': - return ''; + return ''; case 'seeding': + return ''; case 'stalledUP': - return ''; + return ''; case 'checkingUP': + return ''; case 'checkingDL': - return ''; + return ''; case 'downloading': return ''; case 'stalledDL': - return ''; + return ''; case 'queuedUP': + return ''; case 'queuedDL': - return ''; + return ''; default: - return ''; + return ''; } return ''; };