Browse Source

TorrentPotato styling of inputs

pull/2527/head
Ruud 12 years ago
parent
commit
37b98cb835
  1. 5
      couchpotato/core/providers/torrent/torrentpotato/__init__.py
  2. 19
      couchpotato/static/style/settings.css

5
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 <a href="https://github.com/RuudBurger/CouchPotatoServer/wiki/CouchPotato-Torrent-Provider">the wiki page about this provider</a> 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'],
},
],
},

19
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;

Loading…
Cancel
Save