theme federez dans le cvs
darcs-hash:20070530230241-f46e9-dc3dc890faa17369bad0aff9cfde6a2a26a5fea3.gz
This commit is contained in:
parent
7580abe8c5
commit
605f144c78
1 changed files with 39 additions and 0 deletions
39
wiki/theme/federez.py
Normal file
39
wiki/theme/federez.py
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# -*- coding: iso-8859-1 -*-
|
||||||
|
"""
|
||||||
|
MoinMoin monobook theme. Uses the css sheet from
|
||||||
|
http://wikipedia.org, adapting the moin output to fit it.
|
||||||
|
|
||||||
|
Adapted by Jim Clark <jim AT clarkster DOT co DOT uk>
|
||||||
|
Adapted for CR@NS by Nicolas Salles <salles AT crans DOT org>
|
||||||
|
@license: GNU GPL, see COPYING for details.
|
||||||
|
"""
|
||||||
|
|
||||||
|
from MoinMoin.theme import ThemeBase
|
||||||
|
from MoinMoin import wikiutil, i18n
|
||||||
|
from MoinMoin.Page import Page
|
||||||
|
from crans import ThemeCrans
|
||||||
|
|
||||||
|
class Theme(ThemeCrans):
|
||||||
|
|
||||||
|
name = "crans"
|
||||||
|
|
||||||
|
# Standard set of style sheets
|
||||||
|
stylesheets = (
|
||||||
|
# media basename
|
||||||
|
('all', 'common'),
|
||||||
|
('screen', 'layout'),
|
||||||
|
('screen', 'federez'),
|
||||||
|
('print', 'print'),
|
||||||
|
('projection', 'projection'),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def execute(request):
|
||||||
|
"""
|
||||||
|
Generate and return a theme object
|
||||||
|
|
||||||
|
@param request: the request object
|
||||||
|
@rtype: MoinTheme
|
||||||
|
@return: Theme object
|
||||||
|
"""
|
||||||
|
return Theme(request)
|
Loading…
Add table
Add a link
Reference in a new issue