From 37b98cb83505a078a41ce2bd53c5a6dd12331c17 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 24 Nov 2013 00:52:51 +0100 Subject: [PATCH] TorrentPotato styling of inputs --- .../torrent/torrentpotato/__init__.py | 5 +++-- couchpotato/static/style/settings.css | 19 ++++++++++++++++++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/providers/torrent/torrentpotato/__init__.py b/couchpotato/core/providers/torrent/torrentpotato/__init__.py index 3d711e9c..2e4b4662 100644 --- a/couchpotato/core/providers/torrent/torrentpotato/__init__.py +++ b/couchpotato/core/providers/torrent/torrentpotato/__init__.py @@ -11,7 +11,7 @@ config = [{ 'list': 'torrent_providers', 'name': 'TorrentPotato', 'order': 10, - 'description': 'CouchPotato torrent provider providers.', + 'description': 'CouchPotato torrent provider. Checkout the wiki page about this provider for more info.', 'wizard': True, 'options': [ { @@ -37,6 +37,7 @@ config = [{ }, { 'name': 'name', + 'label': 'Username', 'default': '', }, { @@ -45,7 +46,7 @@ config = [{ 'label': 'Pass Key', 'description': 'Can be found on your profile page', 'type': 'combined', - 'combine': ['use', 'host', 'name', 'pass_key', 'extra_score'], + 'combine': ['use', 'host', 'pass_key', 'name', 'extra_score'], }, ], }, diff --git a/couchpotato/static/style/settings.css b/couchpotato/static/style/settings.css index 744531a9..e47284db 100644 --- a/couchpotato/static/style/settings.css +++ b/couchpotato/static/style/settings.css @@ -546,11 +546,28 @@ display: none; } .page .combined_table .head abbr.host { - margin-right: 190px; + margin-right: 195px; } + .page .combined_table input.host { + width: 215px; + } + .page .combined_table .head abbr.name { + margin-right: 67px; + } + .page .combined_table input.name { + width: 120px; + } .page .combined_table .head abbr.api_key { + margin-right: 178px; + } + .page .combined_table .head abbr.pass_key { margin-right: 171px; } + .page .combined_table input.api_key, + .page .combined_table input.pass_key { + width: 213px; + } + .page .combined_table .head .extra_score, .page .combined_table .extra_score { width: 70px;