[wiki/theme] Des icones aux bonnes dimensions
This commit is contained in:
parent
667e065ed1
commit
a0778565c5
2 changed files with 90 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
"""
|
||||
|
||||
from MoinMoin.theme import ThemeBase
|
||||
import crans # C'est le thème crans que l'import
|
||||
|
||||
class Theme(ThemeBase):
|
||||
|
||||
|
@ -44,6 +45,7 @@ class Theme(ThemeBase):
|
|||
u'valid_html401_80x15.gif', u'Valid HTML 4.01'),
|
||||
]
|
||||
|
||||
icons = crans.Theme.icons
|
||||
def img_url(self, img):
|
||||
return "%s/crans/img/%s" % (self.cfg.url_prefix_static, img)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue