fix icon urls
parent
c4c329b600
commit
51a8f94bc3
|
@ -502,7 +502,7 @@ class OpenSearch(object):
|
|||
lang2 if lang2 in TWITTER_LANGS else 'en')
|
||||
|
||||
self.viewport = "width=device-width" # , initial-scale=1.0"
|
||||
self.touch_icon = '/pics/apple-touch-icon'
|
||||
self.touch_icon = '/gutenberg/apple-icon.png'
|
||||
self.touch_icon_precomposed = None # not yet used
|
||||
|
||||
if 'user_dialog' in s:
|
||||
|
|
86
Icons.py
86
Icons.py
|
@ -17,53 +17,47 @@ from __future__ import unicode_literals
|
|||
# This list is used to generate a sprite.
|
||||
|
||||
THUMBS = {
|
||||
'alias' : 'pics/24/messagebox_info.png',
|
||||
'alpha' : 'pics/24/applixware.png',
|
||||
'audiobook' : 'pics/24/amarok.png',
|
||||
'author' : 'pics/24/kuser.png',
|
||||
'back' : 'pics/24/previous.png',
|
||||
'bibrec' : 'pics/24/messagebox_info.png',
|
||||
'bookshelf' : 'pics/24/bookcase.png',
|
||||
'date' : 'pics/24/date.png',
|
||||
'download' : 'pics/24/dock.png',
|
||||
'external' : 'pics/24/browser.png',
|
||||
'folder' : 'pics/24/folder_yellow_open.png',
|
||||
'home' : 'pics/24/gohome.png',
|
||||
'internal' : 'pics/24/pg-logo.png',
|
||||
'language' : 'pics/24/locale.png',
|
||||
'more' : 'pics/24/edit_add.png',
|
||||
'popular' : 'pics/24/bookmark.png',
|
||||
'print' : 'pics/24/print.png',
|
||||
'quantity' : 'pics/24/licq.png',
|
||||
'random' : 'pics/24/roll.png',
|
||||
'rss' : 'pics/24/rss.png',
|
||||
'search' : 'pics/24/viewmag.png',
|
||||
'subject' : 'pics/24/edu_science.png',
|
||||
'suggestion' : 'pics/24/ktip.png',
|
||||
'book' : 'pics/24/kdict.png',
|
||||
'book_no_images' : 'pics/24/book-cut.png',
|
||||
'alias' : 'gutenberg/messagebox_info.png',
|
||||
'alpha' : 'gutenberg/applixware.png',
|
||||
'audiobook' : 'gutenberg/amarok.png',
|
||||
'author' : 'gutenberg/kuser.png',
|
||||
'back' : 'gutenberg/previous.png',
|
||||
'bibrec' : 'gutenberg/messagebox_info.png',
|
||||
'bookshelf' : 'gutenberg/bookcase.png',
|
||||
'date' : 'gutenberg/date.png',
|
||||
'download' : 'gutenberg/dock.png',
|
||||
'external' : 'gutenberg/browser.png',
|
||||
'folder' : 'gutenberg/folder_yellow_open.png',
|
||||
'home' : 'gutenberg/gohome.png',
|
||||
'internal' : 'gutenberg/pg-logo.png',
|
||||
'language' : 'gutenberg/locale.png',
|
||||
'more' : 'gutenberg/edit_add.png',
|
||||
'popular' : 'gutenberg/bookmark.png',
|
||||
'print' : 'gutenberg/print.png',
|
||||
'quantity' : 'gutenberg/licq.png',
|
||||
'random' : 'gutenberg/roll.png',
|
||||
'rss' : 'gutenberg/rss.png',
|
||||
'search' : 'gutenberg/viewmag.png',
|
||||
'subject' : 'gutenberg/edu_science.png',
|
||||
'suggestion' : 'gutenberg/ktip.png',
|
||||
'book' : 'gutenberg/kdict.png',
|
||||
'book_no_images' : 'gutenberg/book-cut.png',
|
||||
|
||||
'cancel' : 'pics/16/no.png',
|
||||
'help' : 'pics/16/help.png',
|
||||
'next' : 'pics/16/next.png',
|
||||
'cancel' : 'gutenberg/no.png',
|
||||
'help' : 'gutenberg/help.png',
|
||||
'next' : 'gutenberg/next.png',
|
||||
|
||||
'external_link' : 'pics/link.png',
|
||||
'qrtab' : 'pics/qricon.png',
|
||||
'smsearch' : 'pics/16/viewmag.png',
|
||||
|
||||
'logo' : 'pics/android-touch-icon.png',
|
||||
'logo_yellow' : 'pics/android-touch-icon-yellow.png',
|
||||
'paypal' : 'pics/paypal-donate-button-LG.gif',
|
||||
'flattr' : 'pics/flattr-badge-large.png',
|
||||
'facebook' : 'pics/facebook-20x20.png',
|
||||
'dropbox' : 'pics/dropbox-22x22.png',
|
||||
'gdrive' : 'pics/gdrive-24x21.png',
|
||||
'msdrive' : 'pics/msdrive-24x24.png',
|
||||
'twitter' : 'pics/twitter_whiteonblue-20x20.png',
|
||||
|
||||
# 'hosted' : 'pics/ibiblio-hosted-110x32.png',
|
||||
# 'apache' : 'pics/apache-powered-118x41.gif',
|
||||
# 'python' : 'pics/python-powered-w-81x32.png',
|
||||
# 'postgres' : 'pics/postgres-powered-88x31.gif',
|
||||
'external_link' : 'gutenberg/link.png',
|
||||
'qrtab' : 'gutenberg/qricon.png',
|
||||
'smsearch' : 'gutenberg/viewmag.png',
|
||||
|
||||
'logo' : 'gutenberg/android-touch-icon.png',
|
||||
'logo_yellow' : 'gutenberg/android-touch-icon-yellow.png',
|
||||
'paypal' : 'gutenberg/paypal-donate-button-LG.gif',
|
||||
'flattr' : 'gutenberg/flattr-badge-large.png',
|
||||
'facebook' : 'gutenberg/f_icon.png',
|
||||
'dropbox' : 'gutenberg/dropbox-22x22.png',
|
||||
'gdrive' : 'gutenberg/gdrive-24x21.png',
|
||||
'msdrive' : 'gutenberg/msdrive-24x24.png',
|
||||
'twitter' : 'gutenberg/t_icon.png',
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
//]]></script>
|
||||
<script type="text/javascript"
|
||||
src="/js/pg-desktop-one.js?${cherrypy.config['js_mtime']}" />
|
||||
<link rel="shortcut icon" href="/gutenberg/favicon" />
|
||||
<link rel="shortcut icon" href="/gutenberg/favicon.ico" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ which contains *all* Project Gutenberg metadata in one RDF/XML file.
|
|||
<uri>https://www.gutenberg.org</uri>
|
||||
<email>webmaster@gutenberg.org</email>
|
||||
</author>
|
||||
<icon>${os.qualify ('/pics/favicon.png')}</icon>
|
||||
<icon>${os.qualify ('/gutenberg/favicon.ico')}</icon>
|
||||
|
||||
<py:choose test="os.opensearch_support">
|
||||
<py:when test="2">
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<script
|
||||
src="/js/pg-desktop-one.js?${cherrypy.config['js_mtime']}" />
|
||||
|
||||
<link rel="shortcut icon" href="/gutenberg/favicon" />
|
||||
<link rel="shortcut icon" href="/gutenberg/favicon.ico" />
|
||||
<link rel="canonical" href="${os.canonical_url}" />
|
||||
|
||||
<link rel="search"
|
||||
|
|
Loading…
Reference in New Issue