Skip to content

Commit a37e205

Browse files
committed
minor HTML and CSS fixes
* duplicate use of ID "heart" * "& " --> "& " * missed changes in simple UI
1 parent 37d0086 commit a37e205

File tree

9 files changed

+24
-9
lines changed

9 files changed

+24
-9
lines changed

wled00/data/index.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,12 @@ button {
665665
color: #f00;
666666
}
667667

668+
#heartMM {
669+
transition: color 0.9s;
670+
font-size: 16px;
671+
color: #0f0;
672+
}
673+
668674
img {
669675
max-width: 100%;
670676
max-height: 100%;

wled00/data/index.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@
389389
</div>
390390
<br>
391391
<span class="h">WLED made with <span id="heart">&#10084;&#xFE0E;</span> by Aircoookie and the <a href="https://wled.discourse.group/" target="_blank">WLED community</a></span><br>
392-
<span class="h">WLED MM made with <span id="heart">&#10084;&#xFE0E;</span> by Softhack007 & Ewowi and the <a href="https://discord.gg/8P7wGuqT/" target="_blank">WLED 2D & Audio Dev</a> community</span>
392+
<span class="h">WLED MM made with <span id="heartMM">&#10084;&#xFE0E;</span> by Softhack007 &amp; Ewowi and the <a href="https://discord.gg/8P7wGuqT/" target="_blank">WLED 2D &amp; Audio Dev</a> community</span>
393393
</div>
394394

395395
<div id="nodes" class="modal">

wled00/data/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3216,6 +3216,7 @@ setInterval(()=>{
32163216
if (hc==144) hc+=36;
32173217
if (hc==108) hc+=18;
32183218
gId('heart').style.color = `hsl(${hc}, 100%, 50%)`;
3219+
gId('heartMM').style.color = `hsl(${hc}, 100%, 50%)`;
32193220
}, 910);
32203221

32213222
function openGH() { window.open("https://github.com/Aircoookie/WLED/wiki"); }

wled00/data/settings.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@
102102
<button type="submit" onclick="window.location='./settings/ui'">User Interface</button>
103103
<button id="dmxbtn" style="display:none;" type="submit" onclick="window.location='./settings/dmx'">DMX Output</button>
104104
<button type="submit" onclick="window.location='./settings/sync'">Sync Interfaces</button>
105-
<button type="submit" onclick="window.location='./settings/time'">Time & Macros</button>
106-
<button type="submit" onclick="window.location='./settings/sec'">Security & Updates</button>
105+
<button type="submit" onclick="window.location='./settings/time'">Time &amp; Macros</button>
106+
<button type="submit" onclick="window.location='./settings/sec'">Security &amp; Updates</button>
107107
<button type="submit" onclick="window.location='./edit'">File System ☾</button> <!--WLEDMM-->
108108
</body>
109109
</html>

wled00/data/settings_leds.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ <h3>Defaults</h3>
741741
Use Gamma value: <input name="GV" type="number" class="m" placeholder="2.8" min="1" max="3" step="0.1" required><br><br>
742742
Brightness factor: <input name="BF" type="number" class="m" min="1" max="255" required> %
743743
<h3>Transitions</h3>
744-
Crossfade: <input type="checkbox" name="TF"><br>
744+
Cross-fade: <input type="checkbox" name="TF"><br>
745745
Transition Time: <input name="TD" type="number" class="xl" min="0" max="65500"> ms<br>
746746
Enable Palette transitions: <input type="checkbox" name="PF"><br>
747747
<i>Random Cycle</i> Palette Time: <input name="TP" type="number" class="m" min="1" max="255"> s<br>

wled00/data/settings_wifi.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
<form id="form_s" name="Sf" method="post">
140140
<div class="toprow">
141141
<div class="helpB"><button type="button" onclick="H()">?</button></div>
142-
<button type="button" onclick="B()">Back</button><button type="submit">Save & Connect</button><hr>
142+
<button type="button" onclick="B()">Back</button><button type="submit">Save &amp; Connect</button><hr>
143143
</div>
144144
<h2>WiFi setup</h2>
145145
<h3>Connect to existing network</h3>
@@ -211,7 +211,7 @@ <h3>Ethernet Type</h3>
211211
</select><br><br>
212212
</div>
213213
<hr>
214-
<button type="button" onclick="B()">Back</button><button type="submit">Save & Connect</button>
214+
<button type="button" onclick="B()">Back</button><button type="submit">Save &amp; Connect</button>
215215
</form>
216216
</body>
217217
</html>

wled00/data/simple.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,12 @@ button:hover {
361361
color: #f00;
362362
}
363363

364+
#heartMM {
365+
transition: color 0.9s;
366+
font-size: 16px;
367+
color: #0f0;
368+
}
369+
364370
img {
365371
max-width: 100%;
366372
max-height: 100%;

wled00/data/simple.htm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@
246246
<button class="btn" id="resetbtn" onclick="cnfReset()">Reboot WLED</button>
247247
</div>
248248
<span class="h">Made with <span id="heart">&#10084;&#xFE0E;</span> by Aircoookie and the <a href="https://wled.discourse.group/" target="_blank">WLED community</a></span>
249+
<span class="h">WLED MM made with <span id="heartMM">&#10084;&#xFE0E;</span> by Softhack007 &amp; Ewowi and the <a href="https://discord.gg/8P7wGuqT/" target="_blank">WLED 2D &amp; Audio Dev</a> community</span>
249250
</div>
250251

251252
<div id="nodes" class="modal">

wled00/data/simple.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,11 @@ function populateInfo(i)
509509
if (i.ver.startsWith("0.14.")) vcn = "Hoshi";
510510
if (i.ver.includes("-bl")) vcn = "Supāku";
511511
if (i.cn) vcn = i.cn;
512+
if (i.ver.includes("14.5.")) vcn = "Small Step";
512513

513514
//WLEDMM: add total heap and total PSRAM, and build number
514-
if (i.ver.includes("14.1-")) vcn = "Sitting Ducks"; // easter egg
515-
if (i.ver.includes("14.0-mdev")) vcn = "Lupo";
515+
//if (i.ver.includes("14.1-")) vcn = "Sitting Ducks"; // easter egg
516+
//if (i.ver.includes("14.0-mdev")) vcn = "Lupo";
516517
cn += `v${i.ver} &nbsp;<i>"${vcn}"</i><p><em>build ${i.vid}</em></p><table>
517518
${urows}
518519
${inforow("Build",i.vid)}
@@ -1281,7 +1282,7 @@ function setBalance(b)
12811282

12821283
var hc = 0;
12831284
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;
1284-
gId('heart').style.color = `hsl(${hc}, 100%, 50%)`;}, 910);
1285+
gId('heart').style.color = `hsl(${hc}, 100%, 50%)`; gId('heartMM').style.color = `hsl(${hc}, 100%, 50%)`;}, 910);
12851286

12861287
function openGH() { window.open("https://github.com/Aircoookie/WLED/wiki"); }
12871288

0 commit comments

Comments
 (0)