mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Added HD icon to login log.
This commit is contained in:
parent
8dc834e13e
commit
6acc399814
1 changed files with 1 additions and 1 deletions
|
@ -3282,7 +3282,7 @@
|
||||||
if (m == 107) { m = "Valid login"; c = 'BBD1BB'; xx = ''; }
|
if (m == 107) { m = "Valid login"; c = 'BBD1BB'; xx = ''; }
|
||||||
else if (m == 108) { m = "Invalid password"; c ='E1BBBB'; xx = 'x'; }
|
else if (m == 108) { m = "Invalid password"; c ='E1BBBB'; xx = 'x'; }
|
||||||
else if (m == 110) { m = "Invalid 2FA"; c = 'DD9DC3'; xx = 'x'; }
|
else if (m == 110) { m = "Invalid 2FA"; c = 'DD9DC3'; xx = 'x'; }
|
||||||
x += '<tr><td><img src=images/user-32' + xx + '.png height=32 width=32 style=float:left><td><div style=width:300px;background-color:#' + c + ';border-radius:6px;margin-bottom:4px;padding:4px><div>' + printDateTime(new Date(message.events[i].t)) + ', <b>' + EscapeHtml(m) + '</b></div><div style=font-size:x-small>' + EscapeHtml(message.events[i].a.join(', ')) + '</div></div></tr>';
|
x += '<tr><td><img src=images/user-32' + xx + '.png height=32 width=32 style=float:left srcset="images/user-64' + xx + '.png 2x"><td><div style=width:300px;background-color:#' + c + ';border-radius:6px;margin-bottom:4px;padding:4px><div>' + printDateTime(new Date(message.events[i].t)) + ', <b>' + EscapeHtml(m) + '</b></div><div style=font-size:x-small>' + EscapeHtml(message.events[i].a.join(', ')) + '</div></div></tr>';
|
||||||
}
|
}
|
||||||
x += '</table></div>';
|
x += '</table></div>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue