mirror of
https://github.com/wled/WLED.git
synced 2025-07-21 09:46:32 +00:00
Merge pull request #4203 from maxi4329/minor-webui-enhancements
minor webui enhancements
This commit is contained in:
commit
334f16c0b6
2
package-lock.json
generated
2
package-lock.json
generated
@ -12,7 +12,7 @@
|
|||||||
"clean-css": "^5.3.3",
|
"clean-css": "^5.3.3",
|
||||||
"html-minifier-terser": "^7.2.0",
|
"html-minifier-terser": "^7.2.0",
|
||||||
"inliner": "^1.13.1",
|
"inliner": "^1.13.1",
|
||||||
"nodemon": "^3.0.2"
|
"nodemon": "^3.1.7"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@jridgewell/gen-mapping": {
|
"node_modules/@jridgewell/gen-mapping": {
|
||||||
|
@ -97,6 +97,7 @@ button {
|
|||||||
.labels {
|
.labels {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 8px 0 2px 0;
|
padding: 8px 0 2px 0;
|
||||||
|
font-size: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#namelabel {
|
#namelabel {
|
||||||
@ -890,12 +891,12 @@ a.btn {
|
|||||||
line-height: 28px;
|
line-height: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Quick color select Black button (has white border) */
|
/* Quick color select Black and White button (has white/black border, depending on the theme) */
|
||||||
.qcsb {
|
.qcsb, .qcsw {
|
||||||
width: 26px;
|
width: 26px;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
border: 1px solid #fff;
|
border: 1px solid var(--c-f);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hex color input wrapper div */
|
/* Hex color input wrapper div */
|
||||||
@ -1299,6 +1300,14 @@ TD .checkmark, TD .radiomark {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#segutil {
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#segcont > div:first-child, #fxFind {
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Simplify segments */
|
/* Simplify segments */
|
||||||
.simplified #segcont .lstI {
|
.simplified #segcont .lstI {
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
@ -1438,6 +1447,11 @@ dialog {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.presin {
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-s,
|
.btn-s,
|
||||||
.btn-n {
|
.btn-n {
|
||||||
border: 1px solid var(--c-2);
|
border: 1px solid var(--c-2);
|
||||||
|
@ -106,7 +106,7 @@
|
|||||||
<div class="qcs" onclick="pC('#ffa000');" style="background-color:#ffa000;"></div>
|
<div class="qcs" onclick="pC('#ffa000');" style="background-color:#ffa000;"></div>
|
||||||
<div class="qcs" onclick="pC('#ffc800');" style="background-color:#ffc800;"></div>
|
<div class="qcs" onclick="pC('#ffc800');" style="background-color:#ffc800;"></div>
|
||||||
<div class="qcs" onclick="pC('#ffe0a0');" style="background-color:#ffe0a0;"></div>
|
<div class="qcs" onclick="pC('#ffe0a0');" style="background-color:#ffe0a0;"></div>
|
||||||
<div class="qcs" onclick="pC('#ffffff');" style="background-color:#ffffff;"></div>
|
<div class="qcs qcsw" onclick="pC('#ffffff');" style="background-color:#ffffff;"></div>
|
||||||
<div class="qcs qcsb" onclick="pC('#000000');" style="background-color:#000000;"></div><br>
|
<div class="qcs qcsb" onclick="pC('#000000');" style="background-color:#000000;"></div><br>
|
||||||
<div class="qcs" onclick="pC('#ff00ff');" style="background-color:#ff00ff;"></div>
|
<div class="qcs" onclick="pC('#ff00ff');" style="background-color:#ff00ff;"></div>
|
||||||
<div class="qcs" onclick="pC('#0000ff');" style="background-color:#0000ff;"></div>
|
<div class="qcs" onclick="pC('#0000ff');" style="background-color:#0000ff;"></div>
|
||||||
|
@ -54,8 +54,8 @@ Orientation: <select name="P${i}V" oninput="UI()">
|
|||||||
</select><br>
|
</select><br>
|
||||||
Serpentine: <input type="checkbox" name="P${i}S" oninput="UI()"><br>
|
Serpentine: <input type="checkbox" name="P${i}S" oninput="UI()"><br>
|
||||||
Dimensions (WxH): <input name="P${i}W" type="number" min="1" max="255" value="${pw}" oninput="UI()"> x <input name="P${i}H" type="number" min="1" max="255" value="${ph}" oninput="UI()"><br>
|
Dimensions (WxH): <input name="P${i}W" type="number" min="1" max="255" value="${pw}" oninput="UI()"> x <input name="P${i}H" type="number" min="1" max="255" value="${ph}" oninput="UI()"><br>
|
||||||
Offset X:<input name="P${i}X" type="number" min="0" max="255" value="0" oninput="UI()">
|
Offset X: <input name="P${i}X" type="number" min="0" max="255" value="0" oninput="UI()">
|
||||||
Y:<input name="P${i}Y" type="number" min="0" max="255" value="0" oninput="UI()"><br><i>(offset from top-left corner in # LEDs)</i>
|
Y: <input name="P${i}Y" type="number" min="0" max="255" value="0" oninput="UI()"><br><i>(offset from top-left corner in # LEDs)</i>
|
||||||
</div>`;
|
</div>`;
|
||||||
p.insertAdjacentHTML("beforeend", b);
|
p.insertAdjacentHTML("beforeend", b);
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<h2>WLED Software Update</h2>
|
<h2>WLED Software Update</h2>
|
||||||
<form method='POST' action='./update' id='uf' enctype='multipart/form-data' onsubmit="U()">
|
<form method='POST' action='./update' id='uf' enctype='multipart/form-data' onsubmit="U()">
|
||||||
Installed version: <span class="sip">##VERSION##</span><br>
|
Installed version: <span class="sip">##VERSION##</span><br>
|
||||||
Download the latest binary: <a href="https://github.com/Aircoookie/WLED/releases" target="_blank"
|
Download the latest binary: <a href="https://github.com/Aircoookie/WLED/releases" target="_blank"
|
||||||
style="vertical-align: text-bottom; display: inline-flex;">
|
style="vertical-align: text-bottom; display: inline-flex;">
|
||||||
<img src="https://img.shields.io/github/release/Aircoookie/WLED.svg?style=flat-square"></a><br>
|
<img src="https://img.shields.io/github/release/Aircoookie/WLED.svg?style=flat-square"></a><br>
|
||||||
<input type='file' name='update' required><br> <!--should have accept='.bin', but it prevents file upload from android app-->
|
<input type='file' name='update' required><br> <!--should have accept='.bin', but it prevents file upload from android app-->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user