diff --git a/fhem/www/pgm2/fhemweb.js b/fhem/www/pgm2/fhemweb.js index 83c6794b7..134a6c175 100644 --- a/fhem/www/pgm2/fhemweb.js +++ b/fhem/www/pgm2/fhemweb.js @@ -41,9 +41,12 @@ FW_doUpdate() if(el.options[j].value == d[2]) { el.selectedIndex = j; } - } else { + } else { el.innerHTML=d[2]; + if(d[0].indexOf("-") >= 0) // readings / timestamps + el.setAttribute('class', 'changed'); + } } } diff --git a/fhem/www/pgm2/style.css b/fhem/www/pgm2/style.css index 7f72b28cb..93abb749a 100644 --- a/fhem/www/pgm2/style.css +++ b/fhem/www/pgm2/style.css @@ -39,6 +39,7 @@ select { margin-left:5px; margin-right:5px; } .set .slider { background:#F0F0D8; border-radius:8px; } /* timepicker */ .set .set { margin-bottom:2px; margin-top:3px; } +.changed { color:red; } .handle { position:relative; cursor:pointer; width:50px; height:20px; line-height:20px; user-select:none;