From 82527a12492203c1b7fa78aea17399aefa926f7a Mon Sep 17 00:00:00 2001 From: iranl Date: Tue, 28 Jan 2025 15:28:32 +0100 Subject: [PATCH] Add info page to main menu --- src/Config.h | 2 +- src/WebCfgServer.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Config.h b/src/Config.h index e5eebdf..f868828 100644 --- a/src/Config.h +++ b/src/Config.h @@ -5,7 +5,7 @@ #define NUKI_HUB_VERSION "9.09" #define NUKI_HUB_VERSION_INT (uint32_t)909 #define NUKI_HUB_BUILD "unknownbuildnr" -#define NUKI_HUB_DATE "2025-01-23" +#define NUKI_HUB_DATE "2025-01-28" #define GITHUB_LATEST_RELEASE_URL (char*)"https://github.com/technyon/nuki_hub/releases/latest" #define GITHUB_OTA_MANIFEST_URL (char*)"https://raw.githubusercontent.com/technyon/nuki_hub/binary/ota/manifest.json" diff --git a/src/WebCfgServer.cpp b/src/WebCfgServer.cpp index 96a6375..20331f5 100644 --- a/src/WebCfgServer.cpp +++ b/src/WebCfgServer.cpp @@ -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)