From 9cc5356fb7a347aac223997c8ece296fe2bd4f96 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Wed, 25 Oct 2017 17:08:26 +0200 Subject: Updated webapp-content, now we have a local fallback for CDN --- index.h | 64 +++++++++++++++++++++++++-------------------------- settings.h | 55 ++++++++++++++++++++++++++++++------------- webPage/index.html | 26 ++++++--------------- webPage/settings.html | 18 +++++++-------- 4 files changed, 86 insertions(+), 77 deletions(-) diff --git a/index.h b/index.h index caa1df7..1341204 100644 --- a/index.h +++ b/index.h @@ -8,7 +8,7 @@ const char MAIN_page[] PROGMEM = R"=====( {{NAME}} - + {{BOOTSTRAPLINK}} @@ -16,8 +16,8 @@ const char MAIN_page[] PROGMEM = R"=====( @@ -32,7 +32,7 @@ const char MAIN_page[] PROGMEM = R"=====( {{NAME}} @@ -42,7 +42,7 @@ const char MAIN_page[] PROGMEM = R"=====(
- +
@@ -53,33 +53,26 @@ const char MAIN_page[] PROGMEM = R"=====( + - )====="; diff --git a/settings.h b/settings.h index af1b7f6..f2f3d9f 100644 --- a/settings.h +++ b/settings.h @@ -8,7 +8,7 @@ const char SETTINGS_page[] PROGMEM = R"=====( {{NAME}} - + {{BOOTSTRAPLINK}} @@ -16,14 +16,16 @@ const char SETTINGS_page[] PROGMEM = R"=====(
+ + @@ -42,7 +44,7 @@ const char SETTINGS_page[] PROGMEM = R"=====(
- +
@@ -60,35 +62,37 @@ const char SETTINGS_page[] PROGMEM = R"=====(
-
+ + +
Device settings:
- +
- +
- +
- +
Wifi settings:
- +
- +
- +
- +
@@ -96,8 +100,8 @@ const char SETTINGS_page[] PROGMEM = R"=====(
-
Note: The device will reboot and turn of any connected appliances when you save the settings. +
Note: Empty or unchanged fields will not be updated.
@@ -140,6 +144,25 @@ const char SETTINGS_page[] PROGMEM = R"=====( + + + diff --git a/webPage/index.html b/webPage/index.html index c80ee61..a3564a6 100644 --- a/webPage/index.html +++ b/webPage/index.html @@ -7,7 +7,7 @@ {{NAME}} - + {{BOOTSTRAPLINK}} @@ -15,8 +15,8 @@ @@ -31,7 +31,7 @@ {{NAME}} @@ -41,7 +41,7 @@
- +
@@ -52,26 +52,14 @@ +