From 48986510dd7d353c5c00dcd44a8717b019077142 Mon Sep 17 00:00:00 2001 From: Pablo2048 Date: Wed, 12 Dec 2018 09:18:58 +0100 Subject: [PATCH] drobne zmeny v umisteni placeholderu --- src/WiFiConfig.cpp | 6 +++--- src/embHTML.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/WiFiConfig.cpp b/src/WiFiConfig.cpp index 1ec7bdf..4cc2988 100644 --- a/src/WiFiConfig.cpp +++ b/src/WiFiConfig.cpp @@ -1,6 +1,6 @@ /* * V6.2 - 12.12.2018- Nastaveni jmena zarizeni nadale NENI soucasti WiFiConfig a je treba ho pridat jako uzivatelsky parametr. Je to proto, protoze - * se ukazalo, ze jmeno zarizeni neni soucasti vsech projektu. + * se ukazalo, ze neni dobre z externiho kodu sahat do vnitrni struktury WiFiConfig (napr. pri ukladani noveho jmena). * * V6.1 - 11.12.2018- Sifrovani retezcu vytazeno mimo WiFiConfig do knihovny encipheredEEPROMStrings (dostupna na gitu) kvuli pristupu i jinych modulu * @@ -498,12 +498,12 @@ void WiFiConfig::_handleDisplayAP(void) if (v.length()) s.replace(F("{s}"), String(FPSTR(VALUE)) + v + F("'")); else - s.replace(F("{s}"), F("placeholder='SSID'")); + s.replace(F("{s}"), F("")); v = EES_readString(configBase + offsetof(wificonfigarea_t, pass), elementSize(wificonfigarea_t, pass)); if (v.length()) s.replace(F("{p}"), String(FPSTR(VALUE)) + v + F("'")); else - s.replace(F("{p}"), F("placeholder='password'")); + s.replace(F("{p}"), F("")); if (EEPROM.read(configBase + offsetof(wificonfigarea_t, mode)) == WIFIMODE_AP) s.replace(F("{a}"), FPSTR(CHECKED)); else diff --git a/src/embHTML.h b/src/embHTML.h index afe4430..a53872e 100644 --- a/src/embHTML.h +++ b/src/embHTML.h @@ -47,8 +47,8 @@ static const char SSID_ITEM[] PROGMEM = R"=====( */ static const char PAGE_INDEX2[] PROGMEM = R"=====(
-
-
+
+
@@ -56,7 +56,7 @@ static const char PAGE_INDEX2[] PROGMEM = R"=====(
- +