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 @@