Merge pull request #1462 from danecreekphotography/preset-number
Add preset number to display
This commit is contained in:
commit
faa4e7753c
@ -692,6 +692,17 @@ input[type=number]::-webkit-outer-spin-button {
|
|||||||
text-overflow: clip;
|
text-overflow: clip;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.segid {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
padding: 10px 0px 0px 12px;
|
||||||
|
font-size: 16px;
|
||||||
|
width: 20px;
|
||||||
|
text-align: center;
|
||||||
|
color: var(--c-b);
|
||||||
|
}
|
||||||
|
|
||||||
.newseg {
|
.newseg {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
@ -1548,10 +1559,9 @@ function populatePresets(fromls)
|
|||||||
if (qll) pQL.push([i, qll]);
|
if (qll) pQL.push([i, qll]);
|
||||||
is.push(i);
|
is.push(i);
|
||||||
|
|
||||||
cn += `<div class="seg pres" id="p${i}o">
|
cn += `<div class="seg pres" id="p${i}o">
|
||||||
<div class="segname pname" onclick="setPreset(${i})">
|
<div class="segid">${i}</div>
|
||||||
${pName(i)}
|
<div class="segname pname" onclick="setPreset(${i})">${pName(i)}</div>
|
||||||
</div>
|
|
||||||
<i class="icons e-icon flr ${expanded[i+100] ? "exp":""}" id="sege${i+100}" onclick="expand(${i+100})"></i>
|
<i class="icons e-icon flr ${expanded[i+100] ? "exp":""}" id="sege${i+100}" onclick="expand(${i+100})"></i>
|
||||||
<div class="segin" id="seg${i+100}"></div>
|
<div class="segin" id="seg${i+100}"></div>
|
||||||
</div><br>`;
|
</div><br>`;
|
||||||
|
3209
wled00/html_ui.h
3209
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user