minor HTML and CSS fixes

* duplicate use of ID "heart"
* "& " --> "& "
* missed changes in simple UI
This commit is contained in:
Frank
2024-12-13 13:16:39 +01:00
parent 37d0086aad
commit a37e20560d
9 changed files with 24 additions and 9 deletions

View File

@@ -509,10 +509,11 @@ function populateInfo(i)
if (i.ver.startsWith("0.14.")) vcn = "Hoshi";
if (i.ver.includes("-bl")) vcn = "Supāku";
if (i.cn) vcn = i.cn;
if (i.ver.includes("14.5.")) vcn = "Small Step";
//WLEDMM: add total heap and total PSRAM, and build number
if (i.ver.includes("14.1-")) vcn = "Sitting Ducks"; // easter egg
if (i.ver.includes("14.0-mdev")) vcn = "Lupo";
//if (i.ver.includes("14.1-")) vcn = "Sitting Ducks"; // easter egg
//if (i.ver.includes("14.0-mdev")) vcn = "Lupo";
cn += `v${i.ver} &nbsp;<i>"${vcn}"</i><p><em>build ${i.vid}</em></p><table>
${urows}
${inforow("Build",i.vid)}
@@ -1281,7 +1282,7 @@ function setBalance(b)
var hc = 0;
setInterval(()=>{if (!isInfo) return; hc+=18; if (hc>300) hc=0; if (hc>200)hc=306; if (hc==144) hc+=36; if (hc==108) hc+=18;
gId('heart').style.color = `hsl(${hc}, 100%, 50%)`;}, 910);
gId('heart').style.color = `hsl(${hc}, 100%, 50%)`; gId('heartMM').style.color = `hsl(${hc}, 100%, 50%)`;}, 910);
function openGH() { window.open("https://github.com/Aircoookie/WLED/wiki"); }