diff --git a/wiki/theme/federez.py b/wiki/theme/federez.py new file mode 100644 index 00000000..bbb6869c --- /dev/null +++ b/wiki/theme/federez.py @@ -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 + Adapted for CR@NS by Nicolas Salles + @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)