1
0
mirror of https://gitlab.com/brutaldon/brutaldon synced 2025-06-05 21:49:32 +02:00

Add a settings page, controlling whether FULLBRUTALISM is used

This commit is contained in:
Jason McBrayer
2018-04-25 16:45:46 -04:00
parent ba3cc9bbd9
commit 0594fda487
6 changed files with 52 additions and 1 deletions

View File

@ -7,3 +7,11 @@ class LoginForm(forms.Form):
max_length=256)
password = forms.CharField(widget=forms.PasswordInput())
class SettingsForm(forms.Form):
fullbrutalism = forms.BooleanField(label="Use FULLBRUTALISM mode?",
required=False,
help_text=
"""FULLBRUTALISM mode strips away most of the niceties of modern web design when
brutaldon is viewed in a graphical browser. It has no effect in text-only browsers.""")