diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index 0f4075b..a6a3027 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -227,6 +227,10 @@ const char HTMLheader[] PROGMEM = R"EOF( background: #aa4204; } + .inputShort { + width: 42px; + } + /* from https://gist.github.com/iamhelenliu/5755179 - thank you! */ .nav { background: #333; @@ -716,7 +720,7 @@ bool loadEEPROM() { // size is 32 byte EEPROM.get(170, GrowName); - if(strlen(GrowName) < 1) { + if(strlen(GrowName) > 0) { // size is 4 byte EEPROM.get(202, GrowStart); // size is 1 byte @@ -1305,7 +1309,7 @@ void WEBsystemSettings() { // TODO ugly. can this done be better? // PumpOnTime int - body += "Pump on time:
\n"; @@ -1319,12 +1323,12 @@ void WEBsystemSettings() { body += "
\n"; // SoilmoistureLow byte - body += "Soil moisture low:
\n"; // ntpOffset int - body += "NTP offset:
\n"; @@ -1383,26 +1387,26 @@ void WEBgrowSettings() { - body += "Days of vegetation:
\n"; - body += "Days of bloom:
\n"; - body += "Hours light on vegetation:
\n"; - body += "Hours light on bloom:
\n"; - body += "Sunrise: \n"; - body += " :
\n";