Added bootstrap-colorpicker

This commit is contained in:
Raphael Michel
2017-05-07 11:54:15 +02:00
parent 3de85975d6
commit c98b0aac90
12 changed files with 1576 additions and 2 deletions

View File

@@ -602,7 +602,8 @@ class DisplaySettingsForm(SettingsForm):
validators=[
RegexValidator(regex='^#[0-9a-fA-F]{6}$',
message=_('Please enter the hexadecimal code of a color, e.g. #990000.'))
]
],
widget=forms.TextInput(attrs={'class': 'colorpickerfield'})
)
logo_image = ExtFileField(
label=_('Logo image'),