diff --git a/lib/infobox/node.js b/lib/infobox/node.js index 400749e..2c53bc3 100644 --- a/lib/infobox/node.js +++ b/lib/infobox/node.js @@ -38,7 +38,7 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"], function showStatus(d) { return function (el) { - el.classList.add(d.flags.online ? "online" : "offline") + el.classList.add(d.flags.unseen ? "unseen" : (d.flags.online ? "online" : "offline")) if (d.flags.online) el.textContent = "online, letzte Nachricht vor " + d.lastseen.fromNow() + " (" + d.lastseen.format("DD.MM.YYYY, H:mm:ss") + ")" else diff --git a/scss/main.scss b/scss/main.scss index 17e3bc1..109463d 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -284,6 +284,10 @@ table { color: #D43E2A !important; } +.unseen { + color: #D89100 !important; +} + .sidebar { z-index: 5; width: $sidebarwidth;