From 46ad2eff41d949ca8b8741543c5ff4d44663a9ec Mon Sep 17 00:00:00 2001 From: Ana Custura Date: Fri, 6 Mar 2026 13:43:16 +0000 Subject: [PATCH] Fix bug where settings not saved for amd64 machines --- app/templates/admin.html | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/app/templates/admin.html b/app/templates/admin.html index 5e60663..c6ffa2c 100644 --- a/app/templates/admin.html +++ b/app/templates/admin.html @@ -76,7 +76,6 @@

This is the secret key needed to connect to the Wi-Fi network. By default, this is not set and everyone can join. Current password: {{ get_setting('wifi_password') or 'Not set' }}

-
{{ wtf.form_bool_field(form.enable_access_point) }}

Whether this box will advertise a Wi-Fi network.

@@ -86,7 +85,26 @@

Whether a share button for the Wi-Fi network is available.

{% else %} -

Access point is only enabled when using a Raspberry Pi.

+

Access point is only enabled when using a Raspberry Pi.

+
+
+ {{ wtf.form_input_field(form.ssid, form.ssid.errors) }} +

This is the name of the advertised Wi-Fi network. Current SSID: {{ get_setting('ssid') }}

+
+
+ {{ wtf.form_input_field(form.wifi_password, form.wifi_password.errors) }} +

This is the secret key needed to connect to the Wi-Fi network. By default, this is not set and everyone can join. + Current password: {{ get_setting('wifi_password') or 'Not set' }}

+
+
+ {{ wtf.form_bool_field(form.enable_access_point) }} +

Whether this box will advertise a Wi-Fi network.

+
+
+ {{ wtf.form_bool_field(form.enable_wifi_sharing) }} +

Whether a share button for the Wi-Fi network is available.

+
+
{% endif %}
@@ -126,7 +144,7 @@ {{ wtf.field_errors(form.ssh_access_settings.errors) }} - +
-{% endblock %} \ No newline at end of file +{% endblock %}