2018-04-24 00:16:22 +02:00
|
|
|
from django import forms
|
|
|
|
|
|
|
|
class LoginForm(forms.Form):
|
|
|
|
instance = forms.CharField(label="Instance",
|
|
|
|
max_length=256)
|
2018-04-24 20:49:43 +02:00
|
|
|
username = forms.CharField(label="Email",
|
2018-04-24 00:16:22 +02:00
|
|
|
max_length=256)
|
|
|
|
password = forms.CharField(widget=forms.PasswordInput())
|
|
|
|
|
2018-04-25 22:45:46 +02:00
|
|
|
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.""")
|
|
|
|
|
|
|
|
|