infobox/node: unseen status orange
This commit is contained in:
parent
8d4cc87994
commit
2e414cd5b8
|
@ -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
|
||||
|
|
|
@ -284,6 +284,10 @@ table {
|
|||
color: #D43E2A !important;
|
||||
}
|
||||
|
||||
.unseen {
|
||||
color: #D89100 !important;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
z-index: 5;
|
||||
width: $sidebarwidth;
|
||||
|
|
Loading…
Reference in a new issue