Add deltachat spport page
This commit is contained in:
parent
c0b4ca1021
commit
ebfd20da3f
7 changed files with 106 additions and 40 deletions
11
app/forms.py
11
app/forms.py
|
|
@ -15,15 +15,16 @@ class SettingsForm(FlaskForm):
|
|||
# Access point settings
|
||||
ssid = StringField('SSID', validators=[DataRequired()])
|
||||
wifi_password = PasswordField(_l('WiFi Password'))
|
||||
disable_access_point = BooleanField(_l('Disable Access Point'))
|
||||
enable_access_point = BooleanField(_l('Enable Access Point'))
|
||||
# Customisation settings
|
||||
butterbox_name = StringField(_l('Butterbox Name'), validators=[DataRequired()])
|
||||
butterbox_logo = FileField((_l('Butterbox Logo')), validators=[FileAllowed(['jpg', 'png', 'svg'], 'Images only!')])
|
||||
# Services settings
|
||||
disable_file_viewer = BooleanField(_l('Disable File Viewer'))
|
||||
disable_map_viewer = BooleanField(_l('Disable Map Viewer'))
|
||||
disable_chat = BooleanField(_l('Disable Chat'))
|
||||
disable_app_store = BooleanField(_l('Disable App Store'))
|
||||
enable_file_viewer = BooleanField(_l('Enable File Viewer'))
|
||||
enable_map_viewer = BooleanField(_l('Enable Map Viewer'))
|
||||
enable_chat = BooleanField(_l('Enable Chat'))
|
||||
enable_app_store = BooleanField(_l('Enable App Store'))
|
||||
enable_deltachat = BooleanField(_l('Enable DeltaChat'))
|
||||
# Access Settings
|
||||
admin_password = PasswordField(_l('Admin Password'))
|
||||
ssh_password = PasswordField(_l('SSH Password'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue