Ignore:
Timestamp:
2 May 2011, 11:43:16 (14 years ago)
Author:
uli
Message:

Add a jQuery-only theme, although it looks terribly yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/theming.py

    r5968 r6009  
    2929from waeup.sirp.interfaces import SimpleWAeUPVocabulary
    3030from waeup.sirp.browser.interfaces import ITheme
    31 from waeup.sirp.browser.resources import waeuptheme_red1, waeuptheme_gray1
     31from waeup.sirp.browser.resources import (
     32    waeuptheme_red1, waeuptheme_gray1, waeuptheme_base,
     33    )
    3234
    3335class WAeUPThemeRed1(grok.GlobalUtility):
     
    4850    def getResources(self):
    4951        return [waeuptheme_gray1]
     52
     53class 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]
    5064
    5165def get_all_themes():
Note: See TracChangeset for help on using the changeset viewer.