Changeset 6894 for main/waeup.sirp/trunk/src/waeup/sirp/browser/theming.py
- Timestamp:
- 14 Oct 2011, 08:01:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/theming.py
r6009 r6894 30 30 from waeup.sirp.browser.interfaces import ITheme 31 31 from waeup.sirp.browser.resources import ( 32 waeuptheme_red1, waeuptheme_gray1, waeuptheme_base, 32 waeuptheme_red1, waeuptheme_gray1, waeuptheme_empty, 33 waeup_base_css, 33 34 ) 35 36 class WAeUPThemeBase(grok.GlobalUtility): 37 grok.implements(ITheme) 38 grok.name('base waeup theme') 39 40 description = u"Base Theme" 41 42 def getResources(self): 43 return [waeup_base_css] 34 44 35 45 class WAeUPThemeRed1(grok.GlobalUtility): … … 51 61 return [waeuptheme_gray1] 52 62 53 class WAeUPTheme Base(grok.GlobalUtility):63 class WAeUPThemeEmpty(grok.GlobalUtility): 54 64 """A theme based on jQuery only. 55 65 … … 57 67 """ 58 68 grok.implements(ITheme) 59 grok.name(' basetheme')60 description = u' BaseTheme'69 grok.name('empty theme') 70 description = u'Empty Theme' 61 71 62 72 def getResources(self): 63 return [waeuptheme_ base]73 return [waeuptheme_empty] 64 74 65 75 def get_all_themes():
Note: See TracChangeset for help on using the changeset viewer.