diff --git a/ESP32_AP-Flasher/data/www/content_cards.json.gz b/ESP32_AP-Flasher/data/www/content_cards.json.gz index df6852ac..5a16696f 100644 Binary files a/ESP32_AP-Flasher/data/www/content_cards.json.gz and b/ESP32_AP-Flasher/data/www/content_cards.json.gz differ diff --git a/ESP32_AP-Flasher/data/www/index.html.gz b/ESP32_AP-Flasher/data/www/index.html.gz index b2c3b440..2b23d438 100644 Binary files a/ESP32_AP-Flasher/data/www/index.html.gz and b/ESP32_AP-Flasher/data/www/index.html.gz differ diff --git a/ESP32_AP-Flasher/data/www/main.css.gz b/ESP32_AP-Flasher/data/www/main.css.gz index 9fc127a7..7f23b3d0 100644 Binary files a/ESP32_AP-Flasher/data/www/main.css.gz and b/ESP32_AP-Flasher/data/www/main.css.gz differ diff --git a/ESP32_AP-Flasher/data/www/main.js.gz b/ESP32_AP-Flasher/data/www/main.js.gz index 47a53f8c..7046a4a1 100644 Binary files a/ESP32_AP-Flasher/data/www/main.js.gz and b/ESP32_AP-Flasher/data/www/main.js.gz differ diff --git a/ESP32_AP-Flasher/wwwroot/content_cards.json b/ESP32_AP-Flasher/wwwroot/content_cards.json index 04a286a0..d20db84b 100644 --- a/ESP32_AP-Flasher/wwwroot/content_cards.json +++ b/ESP32_AP-Flasher/wwwroot/content_cards.json @@ -182,7 +182,7 @@ { "id": 4, "name": "Current weather", - "desc": "Current weather. Weather data by Open-Meteo.com", + "desc": "Current weather. Weather data by Open-Meteo.com. Parameters Lat, Lon and Time Zone are filled automatically from the entered location. In case of an ambiguous location, you can alter those manually.", "hwtype": [ 0, 1, @@ -202,18 +202,6 @@ "desc": "Name of the city. This is used to lookup the lat/long data, and to display as the title", "type": "text" }, - { - "key": "#lat", - "name": "Lat", - "desc": "Latitude (set automatic when generating image)", - "type": "ro" - }, - { - "key": "#lon", - "name": "Lon", - "desc": "Longitude (set automatic when generating image)", - "type": "ro" - }, { "key": "units", "name": "Units", @@ -223,13 +211,31 @@ "0": "-Celcius / Beaufort / millimeters", "1": "Fahrenheit / mph / millimeters" } + }, + { + "key": "#lat", + "name": "Lat", + "desc": "Latitude (set automatic when generating image)", + "type": "text" + }, + { + "key": "#lon", + "name": "Lon", + "desc": "Longitude (set automatic when generating image)", + "type": "text" + }, + { + "key": "#tz", + "name": "Time zone", + "desc": "Time zone (set automatic when generating image)", + "type": "text" } ] }, { "id": 8, "name": "Weather forecast", - "desc": "Weather forecast for the next five days. Weather data by Open-Meteo.com", + "desc": "Weather forecast for the next five days. Weather data by Open-Meteo.com. Parameters Lat, Lon and Time Zone are filled automatically from the entered location. In case of an ambiguous location, you can alter those manually.", "hwtype": [ 1, 2, @@ -247,18 +253,6 @@ "desc": "Name of the city. This is used to lookup the lat/long data, and to display as the title", "type": "text" }, - { - "key": "#lat", - "name": "Lat", - "desc": "Latitude (set automatic when generating image)", - "type": "ro" - }, - { - "key": "#lon", - "name": "Lon", - "desc": "Longitude (set automatic when generating image)", - "type": "ro" - }, { "key": "units", "name": "Units", @@ -268,6 +262,24 @@ "0": "-Celcius / Beaufort / millimeters", "1": "Fahrenheit / mph / millimeters" } + }, + { + "key": "#lat", + "name": "Lat", + "desc": "Latitude (set automatic when generating image)", + "type": "text" + }, + { + "key": "#lon", + "name": "Lon", + "desc": "Longitude (set automatic when generating image)", + "type": "text" + }, + { + "key": "#tz", + "name": "Time zone", + "desc": "Time zone (set automatic when generating image)", + "type": "text" } ] }, diff --git a/ESP32_AP-Flasher/wwwroot/index.html b/ESP32_AP-Flasher/wwwroot/index.html index c83b115e..c5306387 100644 --- a/ESP32_AP-Flasher/wwwroot/index.html +++ b/ESP32_AP-Flasher/wwwroot/index.html @@ -168,9 +168,10 @@