Add custom css background
This commit is contained in:
parent
036509c47f
commit
5f80859022
7 changed files with 148 additions and 80 deletions
|
@ -80,6 +80,7 @@ class ProfileForm(ModelForm):
|
|||
"ace_theme",
|
||||
"user_script",
|
||||
"profile_image",
|
||||
"css_background",
|
||||
]
|
||||
widgets = {
|
||||
"user_script": AceWidget(theme="github"),
|
||||
|
@ -87,6 +88,7 @@ class ProfileForm(ModelForm):
|
|||
"language": Select2Widget(attrs={"style": "width:200px"}),
|
||||
"ace_theme": Select2Widget(attrs={"style": "width:200px"}),
|
||||
"profile_image": ImageWidget,
|
||||
"css_background": forms.TextInput(),
|
||||
}
|
||||
|
||||
has_math_config = bool(settings.MATHOID_URL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue