This commit is contained in:
Christopher Cookman 2025-08-31 23:31:57 -06:00
parent 258c99850d
commit 596b79ad0d

View file

@ -96,6 +96,18 @@
<td>${reasons[log.Reason] || log.Reason}</td> <td>${reasons[log.Reason] || log.Reason}</td>
`; `;
tbody.insertBefore(tr, tbody.firstChild); tbody.insertBefore(tr, tbody.firstChild);
tr.style.background = 'orange';
setTimeout(() => {
let opacity = 1;
const fade = setInterval(() => {
opacity -= 0.05;
tr.style.background = `rgba(255,165,0,${opacity})`;
if (opacity <= 0.1) {
tr.style.background = '';
clearInterval(fade);
}
}, 40);
}, 0);
}; };
ws.onopen = function () { ws.onopen = function () {