Opraveno spatne zobrazeni barev v sile signalu jednotlivych AP.

This commit is contained in:
Pavel Brychta 2018-07-05 13:57:21 +02:00
parent 7fdca6fa92
commit 68083ee040
4 changed files with 9 additions and 6 deletions

View File

@ -12,7 +12,7 @@
"type": "git",
"url": "http://git.xpablo.cz/pablo2048/WiFiConfig.git"
},
"version": "5.7",
"version": "5.8",
"license": "MIT",
"frameworks": "arduino",
"platforms": "espressif8266",

View File

@ -1,5 +1,5 @@
name=WiFiConfig
version=5.7
version=5.8
author=Pavel Brychta
maintainer=Pavel Brychta <Pablo@xpablo.cz>
sentence=Enables seamless module configuration.

View File

@ -1,4 +1,6 @@
/*
* V5.8 - 5.7.2018 - Opraveno spatne zobrazovani sily signalu v prehledu WiFi siti (spatne barvy)
*
* V5.7 - 4.7.2018 - BugFix - staticka konfigurace ip adresy se neuplatnila - vypada to, jako kdyby SDK ukladalo SSID a Password, ale uz neuklada
* konfiguraci ip adres, takze je treba je vzdycky nastavit znovu
*

View File

@ -25,11 +25,12 @@ function hSC(){if (document.getElementById('_st').checked){document.getElementBy
/* Polozky nalezenych SSID
{v} - SSID
{a} - RSSI (primo v dBm)
{a} - RSSI (%)
{s} - bud nic, nebo 'l'>
Rozsahy otestovany zde https://css-tricks.com/html5-meter-element/
*/
static const char SSID_ITEM[] PROGMEM = R"=====(
<div><a href='#p' onclick='c(this)'>{v}</a>&nbsp;<span class='q {s}'><meter value="{a}" min="0" max="100" low="30" high="80" optimum="50" style="width: 70%;"></meter></span></div>
<div><a href='#p' onclick='c(this)'>{v}</a>&nbsp;<span class='q {s}'><meter value="{a}" min="0" low="30" optimum="70" high="60" max="100" style="width: 70%;"></meter></span></div>
)=====";
/* Zacatek formulare pro vyplneni