|
@@ -378,6 +378,12 @@ void handleRoot() {
|
378
|
378
|
message += F("Version: ");
|
379
|
379
|
message += FIRMWARE_VERSION;
|
380
|
380
|
message += F("\n<br>\n");
|
|
381
|
+ message += F("Build Date: ");
|
|
382
|
+ message += __DATE__;
|
|
383
|
+ message += F("\n<br>\n");
|
|
384
|
+ message += F("Build Time: ");
|
|
385
|
+ message += __TIME__;
|
|
386
|
+ message += F("\n</p><p>\n");
|
381
|
387
|
message += F("MAC: ");
|
382
|
388
|
message += WiFi.macAddress();
|
383
|
389
|
message += F("\n</p>\n");
|
|
@@ -491,6 +497,8 @@ void handleRoot() {
|
491
|
497
|
message += F( "var switchstate = document.getElementById('switchstate');\n");
|
492
|
498
|
message += F( "switchstate.innerHTML = msg.switchstate;\n");
|
493
|
499
|
message += F("};\n");
|
|
500
|
+ message += F("var hist = document.getElementsByClassName('log')[0];\n");
|
|
501
|
+ message += F("hist.scrollTop = hist.scrollHeight;\n");
|
494
|
502
|
|
495
|
503
|
message += F("var buttons = document.getElementsByTagName('input');\n");
|
496
|
504
|
message += F("for (let i = 0; i < buttons.length; i++) {\n");
|