Add info page to main menu

This commit is contained in:
iranl
2025-01-28 15:28:32 +01:00
parent 78d38175f9
commit 82527a1249
2 changed files with 2 additions and 1 deletions

View File

@@ -5030,6 +5030,7 @@ esp_err_t WebCfgServer::buildHtml(PsychicRequest *request, PsychicResponse* resp
buildNavigationMenuEntry(&response, "Configure Wi-Fi", "/get?page=wifi");
}
#endif
buildNavigationMenuEntry(&response, "Info page", "/get?page=info");
String rebooturl = "/get?page=reboot&CONFIRMTOKEN=" + _confirmCode;
buildNavigationMenuEntry(&response, "Reboot Nuki Hub", rebooturl.c_str());
if (_preferences->getInt(preference_http_auth_type, 0) == 2)