Changeset 6009 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 2 May 2011, 11:43:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/theming.py
r5968 r6009 29 29 from waeup.sirp.interfaces import SimpleWAeUPVocabulary 30 30 from waeup.sirp.browser.interfaces import ITheme 31 from waeup.sirp.browser.resources import waeuptheme_red1, waeuptheme_gray1 31 from waeup.sirp.browser.resources import ( 32 waeuptheme_red1, waeuptheme_gray1, waeuptheme_base, 33 ) 32 34 33 35 class WAeUPThemeRed1(grok.GlobalUtility): … … 48 50 def getResources(self): 49 51 return [waeuptheme_gray1] 52 53 class WAeUPThemeBase(grok.GlobalUtility): 54 """A theme based on jQuery only. 55 56 XXX: crappy yet. 57 """ 58 grok.implements(ITheme) 59 grok.name('base theme') 60 description = u'Base Theme' 61 62 def getResources(self): 63 return [waeuptheme_base] 50 64 51 65 def get_all_themes():
Note: See TracChangeset for help on using the changeset viewer.