diff --git a/extras/WiFiManager.template.html b/extras/WiFiManager.template.html index 657a1e4..74480ee 100644 --- a/extras/WiFiManager.template.html +++ b/extras/WiFiManager.template.html @@ -166,11 +166,18 @@ button.D{ background-color:#dc3630; } +input:disabled { + opacity: 0.5; +} + diff --git a/extras/test.html b/extras/test.html index 1a77214..0789e49 100644 --- a/extras/test.html +++ b/extras/test.html @@ -11,11 +11,12 @@ // preventDefault(); document.getElementById('s').value = l.innerText || l.textContent; // document.location.href = document.location +"#wmform"; - document.getElementById('p').focus(); + p = l.nextElementSibling.classList.contains("l"); + document.getElementById('p').disabled = !p; + if(p)document.getElementById('p').focus(); return false; } - diff --git a/strings_en.h b/strings_en.h index c940467..67389a6 100644 --- a/strings_en.h +++ b/strings_en.h @@ -14,7 +14,13 @@ // !!! THIS DOES NOT WORK, you cannot define in a sketch, if anyone one knows how to order includes to be able to do this help! const char HTTP_HEAD_START[] PROGMEM = "