mirror of
https://github.com/wled/WLED.git
synced 2025-04-23 14:27:18 +00:00
Fix #3708
This commit is contained in:
parent
5dd8f0a0b7
commit
3942a76d15
@ -863,6 +863,15 @@ input[type=range]::-moz-range-thumb {
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
a.btn {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
padding: 8px 32px;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
/* Quick color select wrapper div */
|
||||
#qcs-w {
|
||||
@ -1018,7 +1027,7 @@ textarea {
|
||||
width: 50px !important;
|
||||
}
|
||||
|
||||
.segname, .pname, .bname {
|
||||
.segname, .pname {
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
@ -1028,9 +1037,6 @@ textarea {
|
||||
max-width: 170px;
|
||||
position: relative;
|
||||
}
|
||||
.bname {
|
||||
padding: 0 24px;
|
||||
}
|
||||
|
||||
.segname .flr, .pname .flr {
|
||||
transform: rotate(0deg);
|
||||
@ -1520,7 +1526,7 @@ dialog {
|
||||
#info .infobtn, #nodes .infobtn {
|
||||
width: 145px;
|
||||
}
|
||||
#info div, #nodes div {
|
||||
#info div, #nodes div, #nodes a.btn {
|
||||
max-width: 320px;
|
||||
}
|
||||
}
|
||||
|
@ -1088,7 +1088,7 @@ function populateNodes(i,n)
|
||||
for (var o of n.nodes) {
|
||||
if (o.name) {
|
||||
let onoff = `<i class="icons e-icon flr ${o.type&0x80?'':'off'}" onclick="rmtTgl('${o.ip}',this);""></i>`;
|
||||
var url = `<button class="btn" title="${o.ip}" onclick="location.assign('http://${o.ip}');"><div class="bname">${bname(o)}</div>${o.vid<2307130?'':onoff}</button>`;
|
||||
var url = `<a class="btn" title="${o.ip}" href="http://${o.ip}">${bname(o)}${o.vid<2307130?'':onoff}</a>`;
|
||||
urows += inforow(url,`${btype(o.type&0x7F)}<br><i>${o.vid==0?"N/A":o.vid}</i>`);
|
||||
nnodes++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user