From 8831bebe25d4e3891f8bb0cad53ce69008e4b3a9 Mon Sep 17 00:00:00 2001 From: iranl Date: Fri, 23 Aug 2024 16:51:32 +0200 Subject: [PATCH] Fix Acl page --- src/WebCfgServer.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/WebCfgServer.cpp b/src/WebCfgServer.cpp index c0bae34..a595508 100644 --- a/src/WebCfgServer.cpp +++ b/src/WebCfgServer.cpp @@ -2926,10 +2926,7 @@ void WebCfgServer::buildAccLvlHtml(AsyncWebServerRequest *request) printCheckBox("AUTHENA", "Modify and delete authorization entries", _preferences->getBool(preference_auth_control_enabled), ""); printCheckBox("PUBAUTH", "Publish authorization log", _preferences->getBool(preference_publish_authdata), ""); _response.concat("
"); - _response.concat("
"); - _response.concat("
"); _response.concat("
"); - _response.concat(""); if(_nuki != nullptr) { @@ -3003,6 +3000,7 @@ void WebCfgServer::buildAccLvlHtml(AsyncWebServerRequest *request) printCheckBox("CONFLCKIALENA", "Immediate auto lock enabled", ((int)advancedLockConfigAclPrefs[20] == 1), "chk_config_lock"); printCheckBox("CONFLCKAUENA", "Auto update enabled", ((int)advancedLockConfigAclPrefs[21] == 1), "chk_config_lock"); _response.concat("
"); + _response.concat("
"); } if(_nukiOpener != nullptr) { @@ -3071,7 +3069,10 @@ void WebCfgServer::buildAccLvlHtml(AsyncWebServerRequest *request) printCheckBox("CONFOPNBATT", "Battery type", ((int)advancedOpenerConfigAclPrefs[18] == 1), "chk_config_opener"); printCheckBox("CONFOPNABTD", "Automatic battery type detection", ((int)advancedOpenerConfigAclPrefs[19] == 1), "chk_config_opener"); _response.concat("
"); + _response.concat("
"); } + + _response.concat(""); _response.concat(""); sendResponse(request); } @@ -4156,4 +4157,4 @@ String WebCfgServer::getPreselectionForGpio(const uint8_t &pin) return String((int8_t)PinRole::Disabled); } -#endif \ No newline at end of file +#endif