Add QR code for wifi on index page, some responsive design fixes

This commit is contained in:
Ana Custura 2026-02-17 15:05:59 +00:00
parent 3829abaa03
commit 60d060e907
8 changed files with 57 additions and 16 deletions

View file

@ -1,10 +1,16 @@
{% extends "base.html" %}
{% block content %}
<h1>{{ _('Application Settings') }}</h1>
<h1 class="title is-large butter-title">{{ _('Application Settings') }}</h1>
{% import "bulma_wtf.html" as wtf %}
<form action="" method="post" enctype="multipart/form-data" novalidate >
{{ form.hidden_tag() }}
<p> {{ form.submit( class="button is-link") }}
{% if config['SETTINGS_CHANGED'] %}
{{ form.apply_changes(class="button is-warning") }}
{% endif %}
</p>
<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>
@ -56,11 +62,7 @@
<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") }}
{% if config['SETTINGS_CHANGED'] %}
{{ form.apply_changes(class="button is-warning") }}
{% endif %}
</p>
</form>
<a href="{{ url_for('logout') }}">Logout</a>