Add deltachat spport page
This commit is contained in:
parent
c0b4ca1021
commit
ebfd20da3f
7 changed files with 106 additions and 40 deletions
|
|
@ -5,9 +5,6 @@
|
|||
{% import "bulma_wtf.html" as wtf %}
|
||||
<form action="" method="post" enctype="multipart/form-data" novalidate >
|
||||
{{ form.hidden_tag() }}
|
||||
{% if config['SETTINGS_CHANGED'] %}
|
||||
<p>{{ form.apply_changes(class="button is-warning") }}</p>
|
||||
{% endif %}
|
||||
<div class="field">
|
||||
{{ wtf.form_input_field(form.ssid) }}
|
||||
<p class="help"> This is the name of the advertised Wi-Fi network. Current SSID: {{ get_setting('ssid') }}</p>
|
||||
|
|
@ -23,23 +20,27 @@
|
|||
Current name: {{ get_setting('butterbox_name') }}, accessed at {{ get_setting('butterbox_name') }}.local.</p>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
{{ wtf.form_bool_field(form.disable_access_point) }}
|
||||
{{ wtf.form_bool_field(form.enable_access_point) }}
|
||||
<p class="help">Whether this box will advertise a WiFi network.</p>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
{{ wtf.form_bool_field(form.disable_map_viewer) }}
|
||||
{{ wtf.form_bool_field(form.enable_map_viewer) }}
|
||||
<p class="help">Whether map services are enabled.</p>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
{{ wtf.form_bool_field(form.disable_chat) }}
|
||||
{{ wtf.form_bool_field(form.enable_chat) }}
|
||||
<p class="help">Whether chat services are enabled.</p>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
{{ wtf.form_bool_field(form.disable_file_viewer) }}
|
||||
{{ wtf.form_bool_field(form.enable_deltachat) }}
|
||||
<p class="help">Whether secure messaging using DeltaChat is enabled.</p>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
{{ wtf.form_bool_field(form.enable_file_viewer) }}
|
||||
<p class="help">Whether files services via USB are enabled.</p>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
{{ wtf.form_bool_field(form.disable_app_store) }}
|
||||
{{ wtf.form_bool_field(form.enable_app_store) }}
|
||||
<p class="help">Whether app store services are enabled.</p>
|
||||
</div>
|
||||
<div class="field">
|
||||
|
|
@ -55,7 +56,11 @@
|
|||
<p class="help">This is the logo shown in the UI. Current logo: <br>
|
||||
<img src="{{ get_setting('butterbox_logo') }}" style="height: 50px"> </p>
|
||||
</div>
|
||||
<p>{{ form.submit( class="button is-link") }}</p>
|
||||
<p> {{ form.submit( class="button is-link") }}
|
||||
{% if config['SETTINGS_CHANGED'] %}
|
||||
{{ form.apply_changes(class="button is-warning") }}
|
||||
{% endif %}
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<a href="{{ url_for('logout') }}">Logout</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue