This commit is contained in:
mvdbro
2017-08-16 16:51:29 +02:00
parent 2230b39171
commit f8773ec50e
3 changed files with 15 additions and 4 deletions

View File

@@ -74,7 +74,7 @@
#define socketdebug false
#define ARDUINO_PROJECT_PID 2016110201L
#define VERSION 2
#define BUILD 150
#define BUILD 151
#define BUILD_NOTES ""
#define NODE_TYPE_ID_ESP_EASY_STD 1

View File

@@ -1894,7 +1894,9 @@ boolean handle_custom(EthernetClient client, String path) {
{
if (Nodes[x].ip[0] != 0 || x == Settings.Unit)
{
String name = String(x);
String name = String(x) + F(" - ");
if (x == Settings.Unit)
name += Settings.Name;
addSelector_Item(reply, name, x, choice == x, false, F(""));
}
}
@@ -1952,7 +1954,7 @@ boolean handle_custom(EthernetClient client, String path) {
if (path.startsWith(F("dashboard")))
{
// if the custom page does not exist, create a basic task value overview page in case of dashboard request...
reply += F("<meta name=\"viewport\" content=\"width=width=device-width, initial-scale=1\"><STYLE>* {font-family:sans-serif; font-size:16pt;}.button {margin:4px; padding:4px 16px; background-color:#07D; color:#FFF; text-decoration:none; border-radius:4px}</STYLE>");
reply += F("<meta name=\"viewport\" content=\"width=width=device-width, initial-scale=1\"><STYLE>* {font-family:sans-serif; font-size:14pt;}.button {margin:4px; padding:4px 16px; background-color:#07D; color:#FFF; text-decoration:none; border-radius:4px}</STYLE>");
reply += F("<table>");
for (byte x = 0; x < TASKS_MAX; x++)
{

View File

@@ -1,3 +1,13 @@
// R151 14-08-2017
// Update Mini Dashboard
// R150 12-08-2017
// Fixed some webgui bugs and reduced RAM usage
// Fixed syslog feature
// Added some plugins: Dallas, DHT, DHT12
// Added authentication for C001 (Base64 lib added)
// Added Mini Dashboard
// R147 08-12-2016
// First alpha version (Proof Of Concept!)
// Based on ESP Easy R147
@@ -10,4 +20,3 @@
// Known issues:
// WD message was incorrect, failures reported as freemem, freemem is missing, workaround is using string object...
// when timed reboot, system does not reboot ???