Add wifi sharing as a card, new settings for lan url, root and ssh

This commit is contained in:
Ana Custura 2026-02-19 16:42:57 +00:00
parent 947b4ac59a
commit ed1b03a609
52 changed files with 9067 additions and 94 deletions

View file

@ -3,16 +3,17 @@
{% block content %}
<h1 class="title is-large butter-title">Share access to {{get_setting('butterbox_name')}}.</h1>
<div class="block butter-centered">
{% if display_wifi_password %}
<div class="block" style="align-content: center; text-align: center;">
<p>Connect to WiFi name: "{{ get_setting('ssid') }}" with password: "{{ get_setting('wifi_password') }}". You can also use the following QR code to join:</p>
<img class="image is-256x256" style="margin: 0 auto" src="{{ url_for('static', filename='images/wifi_qr_code.png') }}">
</div>
<p>Connect to WiFi name: "{{ get_setting('ssid') }}" with password: "{{ get_setting('wifi_password') }}".</p>
{% else %}
<div class="block" style="align-content: center; text-align: center;">
<p>Your WiFi name is "{{ get_setting('ssid') }}". You will be able to join without a password.</p>
</div>
<p>Your WiFi name is "{{ get_setting('ssid') }}". You will be able to join without a password.</p>
{% endif %}
<p>You can also use the following QR code to join:</p>
</div>
<div class="block butter-centered">
<img class="image is-256x256" style="margin: 0 auto" src="{{ url_for('static', filename='images/wifi_qr_code.png') }}">
</div>
{% endblock %}