2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +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:
rudolfkoenig 2013-01-22 16:22:27 +00:00
parent ea6988de4a
commit ea8815cbe9
2 changed files with 5 additions and 1 deletions

View File

@ -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');
} }
} }
} }

View File

@ -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;