add logo for each backends

This commit is contained in:
Romain Bignon 2010-07-31 16:22:14 +02:00
commit 490d0a6a39
23 changed files with 25 additions and 1 deletions

View file

@ -15,6 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os
from weboob.capabilities.travel import ICapTravel, Station, Departure
from weboob.tools.backend import BaseBackend
@ -32,6 +33,7 @@ class CanalTPBackend(BaseBackend, ICapTravel):
VERSION = '0.1'
LICENSE = 'GPLv3'
DESCRIPTION = "French trains"
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
BROWSER = CanalTP
def iter_station_search(self, pattern):

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -15,6 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os
from weboob.capabilities.bank import ICapBank, AccountNotFound
from weboob.tools.backend import BaseBackend
@ -28,6 +29,7 @@ class CragrBackend(BaseBackend, ICapBank):
VERSION = '0.1'
DESCRIPTION = 'Credit Agricole french bank\'s website'
LICENSE = 'GPLv3'
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
CONFIG = {'login': BaseBackend.ConfigField(description='Account ID'),
'password': BaseBackend.ConfigField(description='Password of account', is_masked=True),

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -17,6 +17,8 @@
from __future__ import with_statement
import os
from weboob.tools.backend import BaseBackend
from weboob.tools.browser import BrowserUnavailable
from weboob.capabilities.messages import ICapMessages, ICapMessagesReply, Message
@ -35,6 +37,7 @@ class DLFPBackend(BaseBackend, ICapMessages, ICapMessagesReply):
VERSION = '0.1'
LICENSE = 'GPLv3'
DESCRIPTION = "Da Linux French Page"
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
CONFIG = {'username': BaseBackend.ConfigField(description='Username on website'),
'password': BaseBackend.ConfigField(description='Password of account', is_masked=True),

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -19,6 +19,7 @@
from __future__ import with_statement
from logging import warning
import os
from weboob.capabilities.messages import ICapMessages, Message
from weboob.tools.backend import BaseBackend
@ -36,6 +37,7 @@ class FourChanBackend(BaseBackend, ICapMessages):
VERSION = '0.1'
LICENSE = 'GPLv3'
DESCRIPTION = "4chan website"
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
CONFIG = {'boards': BaseBackend.ConfigField(description='Boards'),
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

@ -15,6 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os
from weboob.capabilities.torrent import ICapTorrent
from weboob.tools.backend import BaseBackend
@ -32,6 +33,7 @@ class GazelleBackend(BaseBackend, ICapTorrent):
VERSION = '0.1'
DESCRIPTION = 'gazelle bittorrent tracker'
LICENSE = 'GPLv3'
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
CONFIG = {'username': BaseBackend.ConfigField(description='Username on website'),
'password': BaseBackend.ConfigField(description='Password of account', is_masked=True),

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -35,7 +35,7 @@ class InaBackend(BaseBackend, ICapVideo):
VERSION = '0.1'
DESCRIPTION = 'INA french video archives'
LICENSE = 'GPLv3'
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.gif')
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
BROWSER = InaBrowser

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -16,6 +16,8 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os
from weboob.capabilities.travel import ICapTravel, Station, Departure
from weboob.tools.backend import BaseBackend
@ -29,6 +31,7 @@ class TransilienBackend(BaseBackend, ICapTravel):
VERSION = '0.1'
LICENSE = 'GPLv3'
DESCRIPTION = "Transports in Paris"
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
BROWSER = Transilien
def iter_station_search(self, pattern):

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -18,6 +18,8 @@
from __future__ import with_statement
import os
from weboob.capabilities.video import ICapVideo
from weboob.tools.backend import BaseBackend
@ -35,6 +37,7 @@ class YoujizzBackend(BaseBackend, ICapVideo):
VERSION = '0.1'
DESCRIPTION = 'Youjizz videos website'
LICENSE = 'GPLv3'
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
BROWSER = YoujizzBrowser

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -18,6 +18,8 @@
from __future__ import with_statement
import os
from weboob.capabilities.video import ICapVideo
from weboob.tools.backend import BaseBackend
@ -35,6 +37,7 @@ class YoupornBackend(BaseBackend, ICapVideo):
VERSION = '0.1'
DESCRIPTION = 'Youporn videos website'
LICENSE = 'GPLv3'
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
BROWSER = YoupornBrowser

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -19,6 +19,7 @@
from __future__ import with_statement
import datetime
import os
from weboob.capabilities.video import ICapVideo
from weboob.tools.backend import BaseBackend
@ -37,6 +38,7 @@ class YoutubeBackend(BaseBackend, ICapVideo):
VERSION = '0.1'
DESCRIPTION = 'Youtube videos website'
LICENSE = 'GPLv3'
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
BROWSER = YoutubeBrowser

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -18,6 +18,7 @@
import urllib2
from xml.dom import minidom
import os
# TODO store datetime objects instead of strings
# from datetime import datetime
@ -36,6 +37,7 @@ class YWeatherBackend(BaseBackend, ICapWeather):
VERSION = '0.1'
DESCRIPTION = 'Yahoo Weather'
LICENSE = 'GPLv3'
ICON = os.path.join(os.path.dirname(__file__), 'data/logo.png')
URL = 'http://weather.yahooapis.com/forecastrss?w=%s&u=%s'

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 B