mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
Make readings read
git-svn-id: https://svn.fhem.de/fhem/trunk@2550 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ea6988de4a
commit
ea8815cbe9
@ -41,9 +41,12 @@ FW_doUpdate()
|
|||||||
if(el.options[j].value == d[2]) {
|
if(el.options[j].value == d[2]) {
|
||||||
el.selectedIndex = j;
|
el.selectedIndex = j;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
|
|
||||||
|
} else {
|
||||||
el.innerHTML=d[2];
|
el.innerHTML=d[2];
|
||||||
|
if(d[0].indexOf("-") >= 0) // readings / timestamps
|
||||||
|
el.setAttribute('class', 'changed');
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,7 @@ select { margin-left:5px; margin-right:5px; }
|
|||||||
.set .slider { background:#F0F0D8; border-radius:8px; }
|
.set .slider { background:#F0F0D8; border-radius:8px; }
|
||||||
/* timepicker */
|
/* timepicker */
|
||||||
.set .set { margin-bottom:2px; margin-top:3px; }
|
.set .set { margin-bottom:2px; margin-top:3px; }
|
||||||
|
.changed { color:red; }
|
||||||
|
|
||||||
.handle { position:relative; cursor:pointer; width:50px;
|
.handle { position:relative; cursor:pointer; width:50px;
|
||||||
height:20px; line-height:20px; user-select:none;
|
height:20px; line-height:20px; user-select:none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user