';
r += '
';
r += '
';
r += '
';
@@ -5538,10 +5551,7 @@
e.children[1].classList.remove('g1s');
e.children[2].style['background-color'] = ((over == 0) ? '#c9c9c9' : '#b9b9b9');
e.children[3].classList.remove('g2s');
- if (over == 1) {
- e.children[1].classList.add('g1s');
- e.children[3].classList.add('g2s');
- }
+ if (over == 1) { e.children[1].classList.add('g1s'); e.children[3].classList.add('g2s'); }
}
function events_update() {
@@ -5674,7 +5684,7 @@
var username = EscapeHtml(user.name), emailVerified = '';
if (serverinfo.emailcheck == true) { emailVerified = ((user.emailVerified != true)?'
🗴':'
🗸'); }
if (user.email != null) { username += ',
' + user.email + '' + emailVerified; }
- x += '
';
+ x += ' |
';
x += '';
x += ' ';
x += ' ';
@@ -5682,6 +5692,15 @@
return x;
}
+ // Highlights the user being hovered
+ function userMouseHover(element, over) {
+ var e = element.children[0].children[0];
+ e.children[1].classList.remove('g1s');
+ e.children[2].classList.remove('g2s');
+ if (over == 1) { e.children[1].classList.add('g1s'); e.children[2].classList.add('g2s'); }
+ element.children[0].children[0].style['background-color'] = ((over == 0) ? '#c9c9c9' : '#b9b9b9');
+ }
+
function showUserAlertDialog(e, userid) {
if (xxdialogMode) return;
haltEvent(e);
@@ -6269,7 +6288,12 @@
if (((b & 8) || x) && f) f(x, t);
}
- function center() { QS('dialog').left = ((((getDocWidth() - 400) / 2)) + "px"); deskAdjust(); deskAdjust(); drawDeviceTimeline(); updateDevicesEx(); }
+ function center() {
+ QS('dialog').left = ((((getDocWidth() - 400) / 2)) + "px");
+ if (xxcurrentView == 11) { deskAdjust(); deskAdjust(); }
+ else if (xxcurrentView == 10) { drawDeviceTimeline(); }
+ else if (xxcurrentView == 1) { updateDevicesEx(); }
+ }
function messagebox(t, m) { QH('id_dialogMessage', m); setDialogMode(1, t, 1); }
function statusbox(t, m) { QH('id_dialogMessage', m); setDialogMode(1, t); }
function getDocWidth() { if (window.innerWidth) return window.innerWidth; if (document.documentElement && document.documentElement.clientWidth && document.documentElement.clientWidth != 0) return document.documentElement.clientWidth; return document.getElementsByTagName('body')[0].clientWidth; }
|