]> git.openstreetmap.org Git - osqa.git/blob - forum/settings/static.py
2ba412a04fe12d7984159eba346634d61a082dc4
[osqa.git] / forum / settings / static.py
1 from base import Setting, SettingSet
2 from django.forms.widgets import Textarea
3 from django.utils.translation import ugettext_lazy as _
4
5 STATIC_PAGE_REGISTRY = Setting('STATIC_PAGE_REGISTRY', {})
6
7 CSS_SET = SettingSet('css', 'Custom CSS', "Define some custom css you can use to override the default css.", 2000)
8
9 USE_CUSTOM_CSS = Setting('USE_CUSTOM_CSS', False, CSS_SET, dict(
10 label = _("Use custom CSS"),
11 help_text = _("Do you want to use custom CSS."),
12 required=False))
13
14 CUSTOM_CSS = Setting('CUSTOM_CSS', '', CSS_SET, dict(
15 label = _("Custom CSS"),
16 help_text = _("Your custom CSS."),
17 widget=Textarea(attrs={'rows': '25'}),
18 required=False))
19