From 699d28da17d646417cc0c8eef3cddfe83579dc80 Mon Sep 17 00:00:00 2001 From: Ana Custura Date: Mon, 30 Mar 2026 10:39:22 +0100 Subject: [PATCH] Rename and move share card back into overflow menu. Closes: #13 --- app/routes.py | 5 ++--- app/templates/base.html | 9 +++++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app/routes.py b/app/routes.py index a0358a0..842032b 100644 --- a/app/routes.py +++ b/app/routes.py @@ -91,8 +91,8 @@ def index(): usb_inserted = True usb_has_maps = False # actual test of whether USB has maps folder usb_has_appstore = False # actual test of whether USB has an appstore - if enable_wifi_sharing == 'true': - service_array.append({"name": _l("Share WiFi"), "image": url_for("static", filename="images/share-icon.svg"), "url": url_for("share")}) + #if enable_wifi_sharing == 'true': + # service_array.append({"name": _l("Share Access"), "image": url_for("static", filename="images/share-icon.svg"), "url": url_for("share")}) if enable_deltachat == 'true': service_array.append({"name": _l("Secure Messenger"), "image": url_for("static", filename="images/deltachat-icon.svg"), "url": url_for("messaging") }) if enable_chat == 'true': @@ -279,7 +279,6 @@ def admin(): @login_required def admin_settings(): raspap_installed = os.path.exists("/var/www/html/raspap") - raspap_installed = True form = SettingsForm() populate_settings = ['butterbox_name', 'wifi_password', 'ssid', 'root_account_settings', 'ssh_access_settings', 'root_password', 'admin_password'] bool_settings = ['enable_access_point','enable_file_viewer', 'enable_chat', 'enable_deltachat', 'enable_wifi_sharing'] diff --git a/app/templates/base.html b/app/templates/base.html index 0465826..b8b19a5 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -31,8 +31,13 @@