diff --git a/meshuser.js b/meshuser.js index ed12e53a..4f5295ad 100644 --- a/meshuser.js +++ b/meshuser.js @@ -2706,7 +2706,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use } else { event = { etype: 'mesh', username: user.name, userid: (deluserid.split('/')[2]), meshid: mesh._id, name: mesh.name, mtype: mesh.mtype, desc: mesh.desc, action: 'meshchange', links: mesh.links, msg: 'Removed user ' + (deluserid.split('/')[2]) + ' from group ' + mesh.name, domain: domain.id, invite: mesh.invite }; } - parent.parent.DispatchEvent(parent.CreateMeshDispatchTargets(mesh [user._id, command.userid]), obj, event); + parent.parent.DispatchEvent(parent.CreateMeshDispatchTargets(mesh, [user._id, command.userid]), obj, event); if (command.responseid != null) { try { ws.send(JSON.stringify({ action: 'removemeshuser', responseid: command.responseid, result: 'ok' })); } catch (ex) { } } } else { if (command.responseid != null) { try { ws.send(JSON.stringify({ action: 'removemeshuser', responseid: command.responseid, result: 'User not in group' })); } catch (ex) { } } diff --git a/translate/translate.json b/translate/translate.json index 71ede57d..c14d8c63 100644 --- a/translate/translate.json +++ b/translate/translate.json @@ -192,7 +192,7 @@ "zh-chs": " 用戶需要先登錄到該服務器一次,然後才能將其添加到設備組。", "xloc": [ "default.handlebars->27->1204", - "default.handlebars->27->1486" + "default.handlebars->27->1496" ] }, { @@ -605,7 +605,7 @@ "default-mobile.handlebars->9->244", "default-mobile.handlebars->9->70", "default.handlebars->27->1305", - "default.handlebars->27->1589", + "default.handlebars->27->1600", "default.handlebars->27->713" ] }, @@ -654,7 +654,7 @@ "ru": "1 активная сессия", "zh-chs": "1個活動會話", "xloc": [ - "default.handlebars->27->1541" + "default.handlebars->27->1551" ] }, { @@ -709,7 +709,7 @@ "ru": "1 группа", "zh-chs": "1組", "xloc": [ - "default.handlebars->27->1511" + "default.handlebars->27->1521" ] }, { @@ -1101,7 +1101,7 @@ "zh-chs": "啟用第二因素身份驗證", "xloc": [ "default.handlebars->27->1376", - "default.handlebars->27->1532" + "default.handlebars->27->1542" ] }, { @@ -1847,7 +1847,7 @@ "ru": "Доступ к файлам сервера", "zh-chs": "訪問服務器文件", "xloc": [ - "default.handlebars->27->1492" + "default.handlebars->27->1502" ] }, { @@ -1957,7 +1957,7 @@ "es": "La cuenta esta bloqueada", "xloc": [ "default.handlebars->27->1377", - "default.handlebars->27->1489" + "default.handlebars->27->1499" ] }, { @@ -2229,8 +2229,8 @@ "zh-chs": "添加設備", "es": "Agregar Dispositivo", "xloc": [ - "default.handlebars->27->1466", - "default.handlebars->27->1557" + "default.handlebars->27->1476", + "default.handlebars->27->1568" ] }, { @@ -2266,8 +2266,8 @@ "xloc": [ "default.handlebars->27->1233", "default.handlebars->27->1235", - "default.handlebars->27->1460", - "default.handlebars->27->1563", + "default.handlebars->27->1470", + "default.handlebars->27->1574", "default.handlebars->27->189" ] }, @@ -2368,7 +2368,7 @@ "ru": "Добавить участие", "zh-chs": "添加會員", "xloc": [ - "default.handlebars->27->1585" + "default.handlebars->27->1596" ] }, { @@ -2459,7 +2459,7 @@ "xloc": [ "default.handlebars->27->1136", "default.handlebars->27->1234", - "default.handlebars->27->1569", + "default.handlebars->27->1580", "default.handlebars->27->547" ] }, @@ -2495,7 +2495,7 @@ "zh-chs": "添加用戶", "xloc": [ "default.handlebars->27->1135", - "default.handlebars->27->1455" + "default.handlebars->27->1465" ] }, { @@ -2529,7 +2529,7 @@ "ru": "Добавить пользователей в группу", "zh-chs": "將用戶添加到用戶組", "xloc": [ - "default.handlebars->27->1488" + "default.handlebars->27->1498" ] }, { @@ -2737,7 +2737,7 @@ "ru": "Области администратора", "zh-chs": "管理領域", "xloc": [ - "default.handlebars->27->1515" + "default.handlebars->27->1525" ] }, { @@ -2900,7 +2900,7 @@ "ru": "Счетчик ошибок агента", "zh-chs": "座席錯誤計數器", "xloc": [ - "default.handlebars->27->1598" + "default.handlebars->27->1609" ] }, { @@ -2969,7 +2969,7 @@ "ru": "Сессии агентов", "zh-chs": "座席會議", "xloc": [ - "default.handlebars->27->1614" + "default.handlebars->27->1625" ] }, { @@ -3092,7 +3092,7 @@ "ru": "Агенты", "zh-chs": "代理商", "xloc": [ - "default.handlebars->27->1627" + "default.handlebars->27->1638" ] }, { @@ -3182,7 +3182,7 @@ "zh-chs": "允許用戶管理此設備組和該組中的設備。", "xloc": [ "default.handlebars->27->1202", - "default.handlebars->27->1485" + "default.handlebars->27->1495" ] }, { @@ -3284,7 +3284,7 @@ "zh-chs": "始終通知", "xloc": [ "default.handlebars->27->1116", - "default.handlebars->27->1524", + "default.handlebars->27->1534", "default.handlebars->27->495" ] }, @@ -3303,7 +3303,7 @@ "zh-chs": "總是提示", "xloc": [ "default.handlebars->27->1117", - "default.handlebars->27->1525", + "default.handlebars->27->1535", "default.handlebars->27->496" ] }, @@ -3902,7 +3902,7 @@ "ru": "Вы уверенны, что {0} плагин: {1}", "zh-chs": "您確定要{0}插件嗎:{1}", "xloc": [ - "default.handlebars->27->1667" + "default.handlebars->27->1678" ] }, { @@ -3970,7 +3970,7 @@ "ru": "Приложение аутентификации", "zh-chs": "身份驗證應用", "xloc": [ - "default.handlebars->27->1528" + "default.handlebars->27->1538" ] }, { @@ -4284,7 +4284,7 @@ "ru": "Резервные коды", "zh-chs": "備用碼", "xloc": [ - "default.handlebars->27->1530" + "default.handlebars->27->1540" ] }, { @@ -4301,7 +4301,7 @@ "ru": "Плохой ключ", "zh-chs": "錯誤的簽名", "xloc": [ - "default.handlebars->27->1605" + "default.handlebars->27->1616" ] }, { @@ -4318,7 +4318,7 @@ "ru": "Плохой веб-сертификат", "zh-chs": "錯誤的網絡證書", "xloc": [ - "default.handlebars->27->1604" + "default.handlebars->27->1615" ] }, { @@ -4454,7 +4454,7 @@ "ru": "Отправить сообщение", "zh-chs": "廣播", "xloc": [ - "default.handlebars->27->1453", + "default.handlebars->27->1463", "default.handlebars->container->column_l->p4->3->1->0->3->1" ] }, @@ -4579,7 +4579,7 @@ "ru": "CIRA Сервер", "zh-chs": "CIRA服務器", "xloc": [ - "default.handlebars->27->1655" + "default.handlebars->27->1666" ] }, { @@ -4596,7 +4596,7 @@ "ru": "CIRA Сервер команды", "zh-chs": "CIRA服務器命令", "xloc": [ - "default.handlebars->27->1656" + "default.handlebars->27->1667" ] }, { @@ -4613,7 +4613,7 @@ "ru": "Загрузка CPU", "zh-chs": "CPU負載", "xloc": [ - "default.handlebars->27->1619" + "default.handlebars->27->1630" ] }, { @@ -4630,7 +4630,7 @@ "ru": "Загрузка CPU за последние 15 минут", "zh-chs": "最近15分鐘的CPU負載", "xloc": [ - "default.handlebars->27->1622" + "default.handlebars->27->1633" ] }, { @@ -4647,7 +4647,7 @@ "ru": "Загрузка CPU за последние 5 минут", "zh-chs": "最近5分鐘的CPU負載", "xloc": [ - "default.handlebars->27->1621" + "default.handlebars->27->1632" ] }, { @@ -4664,7 +4664,7 @@ "ru": "Загрузка CPU за последнюю минуту", "zh-chs": "最後一分鐘的CPU負載", "xloc": [ - "default.handlebars->27->1620" + "default.handlebars->27->1631" ] }, { @@ -4719,7 +4719,7 @@ "ru": "Ошибка вызова", "zh-chs": "通話錯誤", "xloc": [ - "default.handlebars->27->1668" + "default.handlebars->27->1679" ] }, { @@ -4828,7 +4828,7 @@ "ru": "Смена email для {0}", "zh-chs": "更改{0}的電子郵件", "xloc": [ - "default.handlebars->27->1547" + "default.handlebars->27->1557" ] }, { @@ -4866,7 +4866,7 @@ "xloc": [ "default-mobile.handlebars->9->52", "default.handlebars->27->1065", - "default.handlebars->27->1540" + "default.handlebars->27->1550" ] }, { @@ -4883,7 +4883,7 @@ "ru": "Смена пароля для {0}", "zh-chs": "更改{0}的密碼", "xloc": [ - "default.handlebars->27->1554" + "default.handlebars->27->1564" ] }, { @@ -4953,7 +4953,7 @@ "zh-chs": "更改該用戶的密碼", "es": "Cambiar la contraseña para este usuario", "xloc": [ - "default.handlebars->27->1539" + "default.handlebars->27->1549" ] }, { @@ -5145,7 +5145,7 @@ "ru": "Проверка...", "zh-chs": "檢查...", "xloc": [ - "default.handlebars->27->1662", + "default.handlebars->27->1673", "default.handlebars->27->838" ] }, @@ -5393,7 +5393,7 @@ "zh-chs": "清除此通知", "es": "Borrar esta notificación", "xloc": [ - "default.handlebars->27->1592" + "default.handlebars->27->1603" ] }, { @@ -5608,8 +5608,8 @@ "ru": "Общие группы устройств", "zh-chs": "通用設備組", "xloc": [ - "default.handlebars->27->1461", - "default.handlebars->27->1564" + "default.handlebars->27->1471", + "default.handlebars->27->1575" ] }, { @@ -5626,8 +5626,8 @@ "zh-chs": "通用設備", "es": "Dispositivos comunes", "xloc": [ - "default.handlebars->27->1467", - "default.handlebars->27->1558" + "default.handlebars->27->1477", + "default.handlebars->27->1569" ] }, { @@ -5666,7 +5666,9 @@ "default-mobile.handlebars->9->288", "default.handlebars->27->1181", "default.handlebars->27->1387", - "default.handlebars->27->1481", + "default.handlebars->27->1449", + "default.handlebars->27->1491", + "default.handlebars->27->1567", "default.handlebars->27->387", "default.handlebars->27->620", "default.handlebars->27->629" @@ -5732,6 +5734,12 @@ "default.handlebars->27->386" ] }, + { + "en": "Confirm delete selected user groups(s)?", + "xloc": [ + "default.handlebars->27->1448" + ] + }, { "cs": "Potvrdit odstranění uživatele {0}?", "de": "Löschen von Benutzer {0} bestätigen?", @@ -5746,7 +5754,7 @@ "zh-chs": "確認刪除用戶{0}?", "es": "Confirmar la eliminación del usuario {0}?", "xloc": [ - "default.handlebars->27->1556" + "default.handlebars->27->1566" ] }, { @@ -5834,8 +5842,8 @@ "ru": "Подтвердить удаление группы устройств {0}?", "zh-chs": "確認刪除設備組{0}?", "xloc": [ - "default.handlebars->27->1476", - "default.handlebars->27->1587" + "default.handlebars->27->1486", + "default.handlebars->27->1598" ] }, { @@ -5849,8 +5857,8 @@ "zh-chs": "确认移除设备{0}?", "es": "Confirmar la eliminación del dispositivo {0}?", "xloc": [ - "default.handlebars->27->1474", - "default.handlebars->27->1576" + "default.handlebars->27->1484", + "default.handlebars->27->1587" ] }, { @@ -5867,13 +5875,13 @@ "ru": "Подтвердить удаление группы {0}?", "zh-chs": "確認刪除組{0}?", "xloc": [ - "default.handlebars->27->1583" + "default.handlebars->27->1594" ] }, { "en": "Confirm removal of user group {0}?", "xloc": [ - "default.handlebars->27->1580" + "default.handlebars->27->1591" ] }, { @@ -5892,8 +5900,8 @@ "xloc": [ "default-mobile.handlebars->9->334", "default.handlebars->27->1271", - "default.handlebars->27->1484", - "default.handlebars->27->1578" + "default.handlebars->27->1494", + "default.handlebars->27->1589" ] }, { @@ -6025,7 +6033,7 @@ "ru": "Подключено Intel® AMT", "zh-chs": "連接的英特爾®AMT", "xloc": [ - "default.handlebars->27->1610" + "default.handlebars->27->1621" ] }, { @@ -6042,7 +6050,7 @@ "ru": "Подключенные пользователи", "zh-chs": "關聯用戶", "xloc": [ - "default.handlebars->27->1615" + "default.handlebars->27->1626" ] }, { @@ -6118,7 +6126,7 @@ "ru": "Подключений ", "zh-chs": "連接數", "xloc": [ - "default.handlebars->27->1626" + "default.handlebars->27->1637" ] }, { @@ -6135,7 +6143,7 @@ "ru": "Ретранслятор подключения", "zh-chs": "連接繼電器", "xloc": [ - "default.handlebars->27->1654" + "default.handlebars->27->1665" ] }, { @@ -6260,7 +6268,7 @@ "ru": "Cookie-кодировщик", "zh-chs": "Cookie編碼器", "xloc": [ - "default.handlebars->27->1640" + "default.handlebars->27->1651" ] }, { @@ -6561,7 +6569,7 @@ "ru": "Основной сервер", "zh-chs": "核心服務器", "xloc": [ - "default.handlebars->27->1639" + "default.handlebars->27->1650" ] }, { @@ -6631,7 +6639,7 @@ "ru": "Создать группу пользователей", "zh-chs": "創建用戶組", "xloc": [ - "default.handlebars->27->1444" + "default.handlebars->27->1454" ] }, { @@ -6717,7 +6725,7 @@ "ru": "Создано", "zh-chs": "創建", "xloc": [ - "default.handlebars->27->1504" + "default.handlebars->27->1514" ] }, { @@ -7174,7 +7182,7 @@ "ru": "Удалить пользователя", "zh-chs": "刪除用戶", "xloc": [ - "default.handlebars->27->1538" + "default.handlebars->27->1548" ] }, { @@ -7191,8 +7199,14 @@ "ru": "Удалить группу пользователей", "zh-chs": "刪除用戶組", "xloc": [ - "default.handlebars->27->1472", - "default.handlebars->27->1482" + "default.handlebars->27->1482", + "default.handlebars->27->1492" + ] + }, + { + "en": "Delete User Groups", + "xloc": [ + "default.handlebars->27->1450" ] }, { @@ -7209,7 +7223,7 @@ "ru": "Удалить пользователя {0}", "zh-chs": "刪除用戶{0}", "xloc": [ - "default.handlebars->27->1555" + "default.handlebars->27->1565" ] }, { @@ -7248,6 +7262,12 @@ "default.handlebars->27->383" ] }, + { + "en": "Delete group", + "xloc": [ + "default.handlebars->27->1446" + ] + }, { "cs": "Smazat položku?", "de": "Element löschen?", @@ -7299,7 +7319,7 @@ "ru": "Удалить группу пользователей {0}?", "zh-chs": "刪除用戶組{0}?", "xloc": [ - "default.handlebars->27->1480" + "default.handlebars->27->1490" ] }, { @@ -7422,10 +7442,10 @@ "default.handlebars->27->1077", "default.handlebars->27->1101", "default.handlebars->27->1184", - "default.handlebars->27->1443", - "default.handlebars->27->1448", - "default.handlebars->27->1450", - "default.handlebars->27->1478", + "default.handlebars->27->1453", + "default.handlebars->27->1458", + "default.handlebars->27->1460", + "default.handlebars->27->1488", "default.handlebars->27->455", "default.handlebars->27->456", "default.handlebars->27->662", @@ -7500,7 +7520,7 @@ "zh-chs": "桌面通知", "xloc": [ "default.handlebars->27->1111", - "default.handlebars->27->1519", + "default.handlebars->27->1529", "default.handlebars->27->490" ] }, @@ -7519,7 +7539,7 @@ "zh-chs": "桌面提示", "xloc": [ "default.handlebars->27->1110", - "default.handlebars->27->1518", + "default.handlebars->27->1528", "default.handlebars->27->489" ] }, @@ -7538,7 +7558,7 @@ "zh-chs": "桌面提示+工具欄", "xloc": [ "default.handlebars->27->1108", - "default.handlebars->27->1516", + "default.handlebars->27->1526", "default.handlebars->27->487" ] }, @@ -7557,7 +7577,7 @@ "zh-chs": "桌面工具欄", "xloc": [ "default.handlebars->27->1109", - "default.handlebars->27->1517", + "default.handlebars->27->1527", "default.handlebars->27->488" ] }, @@ -7628,7 +7648,7 @@ "zh-chs": "設備", "xloc": [ "default.handlebars->27->1211", - "default.handlebars->27->1561", + "default.handlebars->27->1572", "default.handlebars->container->column_l->p1->devListToolbarSpan->1->0->9->devListToolbarSort->sortselect->5" ] }, @@ -7667,9 +7687,9 @@ "default.handlebars->27->1206", "default.handlebars->27->1209", "default.handlebars->27->1210", - "default.handlebars->27->1464", - "default.handlebars->27->1470", - "default.handlebars->27->1567" + "default.handlebars->27->1474", + "default.handlebars->27->1480", + "default.handlebars->27->1578" ] }, { @@ -7705,10 +7725,10 @@ "zh-chs": "設備組", "xloc": [ "default-mobile.handlebars->container->page_content->column_l->p3->p3info->1->3", - "default.handlebars->27->1439", - "default.handlebars->27->1452", - "default.handlebars->27->1513", - "default.handlebars->27->1613", + "default.handlebars->27->1440", + "default.handlebars->27->1462", + "default.handlebars->27->1523", + "default.handlebars->27->1624", "default.handlebars->container->column_l->p2->9" ] }, @@ -8132,6 +8152,12 @@ "default.handlebars->27->385" ] }, + { + "en": "Devices", + "xloc": [ + "default.handlebars->27->1439" + ] + }, { "cs": "Zakázáno", "de": "Deaktiviert", @@ -8727,7 +8753,7 @@ "ru": "Скопировать агент", "zh-chs": "代理重複", "xloc": [ - "default.handlebars->27->1609" + "default.handlebars->27->1620" ] }, { @@ -8761,7 +8787,7 @@ "ru": "Скопировать группу пользователей", "zh-chs": "重複的用戶組", "xloc": [ - "default.handlebars->27->1445" + "default.handlebars->27->1455" ] }, { @@ -9135,7 +9161,7 @@ "ru": "Редактировать группу пользователей", "zh-chs": "編輯用戶組", "xloc": [ - "default.handlebars->27->1479" + "default.handlebars->27->1489" ] }, { @@ -9171,9 +9197,9 @@ "xloc": [ "default-mobile.handlebars->9->40", "default.handlebars->27->1411", - "default.handlebars->27->1500", - "default.handlebars->27->1501", - "default.handlebars->27->1543", + "default.handlebars->27->1510", + "default.handlebars->27->1511", + "default.handlebars->27->1553", "default.handlebars->27->270", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->4->1->3", "login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->4->1->3" @@ -9226,7 +9252,7 @@ "zh-chs": "电子邮件流量", "es": "Tráfico de correo electrónico", "xloc": [ - "default.handlebars->27->1648" + "default.handlebars->27->1659" ] }, { @@ -9284,7 +9310,7 @@ "zh-chs": "電子郵件已驗證", "xloc": [ "default.handlebars->27->1374", - "default.handlebars->27->1497" + "default.handlebars->27->1507" ] }, { @@ -9318,7 +9344,7 @@ "ru": "Email не подтвержден", "zh-chs": "電子郵件未驗證", "xloc": [ - "default.handlebars->27->1498" + "default.handlebars->27->1508" ] }, { @@ -9994,7 +10020,7 @@ "ru": "Внешний", "zh-chs": "外部", "xloc": [ - "default.handlebars->27->1633" + "default.handlebars->27->1644" ] }, { @@ -10221,7 +10247,7 @@ "zh-chs": "文件通知", "xloc": [ "default.handlebars->27->1115", - "default.handlebars->27->1523", + "default.handlebars->27->1533", "default.handlebars->27->494" ] }, @@ -10240,7 +10266,7 @@ "zh-chs": "文件提示", "xloc": [ "default.handlebars->27->1114", - "default.handlebars->27->1522", + "default.handlebars->27->1532", "default.handlebars->27->493" ] }, @@ -10394,7 +10420,7 @@ "zh-chs": "下次登錄時強制重置密碼。", "xloc": [ "default.handlebars->27->1415", - "default.handlebars->27->1552" + "default.handlebars->27->1562" ] }, { @@ -10480,8 +10506,8 @@ "ru": "Свободно", "zh-chs": "自由", "xloc": [ - "default.handlebars->27->1594", - "default.handlebars->27->1596" + "default.handlebars->27->1605", + "default.handlebars->27->1607" ] }, { @@ -10773,7 +10799,7 @@ "ru": "Администратор с полным доступом", "zh-chs": "正式管理員", "xloc": [ - "default.handlebars->27->1493" + "default.handlebars->27->1503" ] }, { @@ -11177,9 +11203,11 @@ "zh-chs": "集體行動", "xloc": [ "default.handlebars->27->1385", + "default.handlebars->27->1447", "default.handlebars->27->384", "default.handlebars->container->column_l->p1->devListToolbarSpan->1->0->devListToolbar", - "default.handlebars->container->column_l->p4->3->1->0->3->3" + "default.handlebars->container->column_l->p4->3->1->0->3->3", + "default.handlebars->container->column_l->p50->3->1->0->3->3" ] }, { @@ -11196,7 +11224,7 @@ "ru": "Члены группы", "zh-chs": "小組成員", "xloc": [ - "default.handlebars->27->1456" + "default.handlebars->27->1466" ] }, { @@ -11369,7 +11397,7 @@ "ru": "Всего кучи", "zh-chs": "堆總數", "xloc": [ - "default.handlebars->27->1635" + "default.handlebars->27->1646" ] }, { @@ -11386,7 +11414,7 @@ "ru": "Куча используется", "zh-chs": "堆使用", "xloc": [ - "default.handlebars->27->1634" + "default.handlebars->27->1645" ] }, { @@ -12161,8 +12189,8 @@ "xloc": [ "default.handlebars->27->1294", "default.handlebars->27->1300", - "default.handlebars->27->1631", - "default.handlebars->27->1653" + "default.handlebars->27->1642", + "default.handlebars->27->1664" ] }, { @@ -12867,7 +12895,7 @@ "ru": "Некорректный тип группы устройств", "zh-chs": "無效的設備組類型", "xloc": [ - "default.handlebars->27->1608" + "default.handlebars->27->1619" ] }, { @@ -12884,7 +12912,7 @@ "ru": "Некорректный JSON", "zh-chs": "無效的JSON", "xloc": [ - "default.handlebars->27->1602" + "default.handlebars->27->1613" ] }, { @@ -12936,7 +12964,7 @@ "ru": "Некорректная сигнатура PKCS", "zh-chs": "無效的PKCS簽名", "xloc": [ - "default.handlebars->27->1600" + "default.handlebars->27->1611" ] }, { @@ -12953,7 +12981,7 @@ "ru": "Некорректная сигнатура RSA", "zh-chs": "無效的RSA密碼", "xloc": [ - "default.handlebars->27->1601" + "default.handlebars->27->1612" ] }, { @@ -13773,7 +13801,7 @@ "ru": "Последний вход в систему", "zh-chs": "上次登錄", "xloc": [ - "default.handlebars->27->1505" + "default.handlebars->27->1515" ] }, { @@ -13831,7 +13859,7 @@ "ru": "Последнее изменение: {0}", "zh-chs": "上次更改:{0}", "xloc": [ - "default.handlebars->27->1509" + "default.handlebars->27->1519" ] }, { @@ -14024,7 +14052,7 @@ "ru": "Меньше", "zh-chs": "減", "xloc": [ - "default.handlebars->27->1670" + "default.handlebars->27->1681" ] }, { @@ -14612,7 +14640,7 @@ "ru": "Заблокированная учетная запись", "zh-chs": "賬戶鎖定", "xloc": [ - "default.handlebars->27->1490" + "default.handlebars->27->1500" ] }, { @@ -15100,7 +15128,7 @@ "ru": "Сообщения главного сервера", "zh-chs": "主服務器消息", "xloc": [ - "default.handlebars->27->1642" + "default.handlebars->27->1653" ] }, { @@ -15501,7 +15529,7 @@ "ru": "Достигнуто максимальное число сессий", "zh-chs": "達到的會話數上限", "xloc": [ - "default.handlebars->27->1606" + "default.handlebars->27->1617" ] }, { @@ -15555,7 +15583,7 @@ "ru": "Мегабайт", "zh-chs": "兆字節", "xloc": [ - "default.handlebars->27->1632" + "default.handlebars->27->1643" ] }, { @@ -15572,7 +15600,7 @@ "ru": "ОЗУ", "zh-chs": "記憶", "xloc": [ - "default.handlebars->27->1623", + "default.handlebars->27->1634", "default.handlebars->27->803", "default.handlebars->container->column_l->p40->3->1->p40type->3" ] @@ -15708,7 +15736,7 @@ "ru": "Трафик MeshAgent", "zh-chs": "MeshAgent流量", "xloc": [ - "default.handlebars->27->1644" + "default.handlebars->27->1655" ] }, { @@ -15725,7 +15753,7 @@ "ru": "Обновление MeshAgent", "zh-chs": "MeshAgent更新", "xloc": [ - "default.handlebars->27->1645" + "default.handlebars->27->1656" ] }, { @@ -15828,7 +15856,7 @@ "ru": "Соединения сервера MeshCentral", "zh-chs": "MeshCentral服務器對等", "xloc": [ - "default.handlebars->27->1643" + "default.handlebars->27->1654" ] }, { @@ -16090,7 +16118,7 @@ "ru": "Диспетчер сообщения", "zh-chs": "郵件調度程序", "xloc": [ - "default.handlebars->27->1641" + "default.handlebars->27->1652" ] }, { @@ -16221,7 +16249,7 @@ "ru": "Еще", "zh-chs": "更多", "xloc": [ - "default.handlebars->27->1669" + "default.handlebars->27->1680" ] }, { @@ -16553,10 +16581,10 @@ "default.handlebars->27->1183", "default.handlebars->27->1353", "default.handlebars->27->1438", - "default.handlebars->27->1442", - "default.handlebars->27->1447", - "default.handlebars->27->1449", - "default.handlebars->27->1477", + "default.handlebars->27->1452", + "default.handlebars->27->1457", + "default.handlebars->27->1459", + "default.handlebars->27->1487", "default.handlebars->27->450", "default.handlebars->27->680", "default.handlebars->27->753", @@ -16953,7 +16981,7 @@ "zh-chs": "找不到活動", "xloc": [ "default.handlebars->27->1343", - "default.handlebars->27->1588", + "default.handlebars->27->1599", "default.handlebars->27->751" ] }, @@ -17095,7 +17123,7 @@ "ru": "Нет членов", "zh-chs": "沒有會員", "xloc": [ - "default.handlebars->27->1459" + "default.handlebars->27->1469" ] }, { @@ -17244,8 +17272,8 @@ "ru": "Нет общих групп устройств", "zh-chs": "沒有共同的設備組", "xloc": [ - "default.handlebars->27->1465", - "default.handlebars->27->1568" + "default.handlebars->27->1475", + "default.handlebars->27->1579" ] }, { @@ -17332,8 +17360,8 @@ "zh-chs": "沒有共同的設備", "es": "Sin dispositivos en común", "xloc": [ - "default.handlebars->27->1471", - "default.handlebars->27->1562" + "default.handlebars->27->1481", + "default.handlebars->27->1573" ] }, { @@ -17521,7 +17549,7 @@ "ru": "Нет серверных прав", "zh-chs": "沒有服務器權限", "xloc": [ - "default.handlebars->27->1491" + "default.handlebars->27->1501" ] }, { @@ -17538,7 +17566,7 @@ "ru": "Нет членства в группах пользователей", "zh-chs": "沒有用戶組成員身份", "xloc": [ - "default.handlebars->27->1574" + "default.handlebars->27->1585" ] }, { @@ -17636,11 +17664,11 @@ "default.handlebars->27->1123", "default.handlebars->27->1125", "default.handlebars->27->1313", - "default.handlebars->27->1446", + "default.handlebars->27->1456", "default.handlebars->27->149", - "default.handlebars->27->1510", - "default.handlebars->27->1514", - "default.handlebars->27->1526", + "default.handlebars->27->1520", + "default.handlebars->27->1524", + "default.handlebars->27->1536", "default.handlebars->27->165", "default.handlebars->27->166", "default.handlebars->27->443", @@ -17807,7 +17835,7 @@ "ru": "Не задано", "zh-chs": "沒有設置", "xloc": [ - "default.handlebars->27->1496" + "default.handlebars->27->1506" ] }, { @@ -17824,7 +17852,7 @@ "zh-chs": "未經審核的", "es": "Sin Verificar", "xloc": [ - "default.handlebars->27->1545" + "default.handlebars->27->1555" ] }, { @@ -17842,7 +17870,7 @@ "zh-chs": "筆記", "xloc": [ "default.handlebars->27->1133", - "default.handlebars->27->1533", + "default.handlebars->27->1543", "default.handlebars->27->513", "default.handlebars->27->565", "default.handlebars->27->584", @@ -17950,7 +17978,7 @@ "ru": "Уведомить", "zh-chs": "通知", "xloc": [ - "default.handlebars->27->1535" + "default.handlebars->27->1545" ] }, { @@ -18062,7 +18090,7 @@ "ru": "Произошло в {0}", "zh-chs": "發生在{0}", "xloc": [ - "default.handlebars->27->1591" + "default.handlebars->27->1602" ] }, { @@ -18277,6 +18305,7 @@ "xloc": [ "default-mobile.handlebars->9->213", "default.handlebars->27->1381", + "default.handlebars->27->1445", "default.handlebars->27->376", "default.handlebars->27->602" ] @@ -18514,7 +18543,7 @@ "ru": "Частичные права", "zh-chs": "部分權利", "xloc": [ - "default.handlebars->27->1494" + "default.handlebars->27->1504" ] }, { @@ -18551,10 +18580,10 @@ "default-mobile.handlebars->9->216", "default.handlebars->27->1412", "default.handlebars->27->1413", - "default.handlebars->27->1506", - "default.handlebars->27->1508", - "default.handlebars->27->1548", - "default.handlebars->27->1549", + "default.handlebars->27->1516", + "default.handlebars->27->1518", + "default.handlebars->27->1558", + "default.handlebars->27->1559", "default.handlebars->27->227", "default.handlebars->27->256", "default.handlebars->27->608" @@ -18650,7 +18679,7 @@ "ru": "Подсказка пароля", "zh-chs": "密碼提示", "xloc": [ - "default.handlebars->27->1550" + "default.handlebars->27->1560" ] }, { @@ -19091,7 +19120,7 @@ "zh-chs": "插件動作", "xloc": [ "default.handlebars->27->160", - "default.handlebars->27->1666" + "default.handlebars->27->1677" ] }, { @@ -19807,7 +19836,7 @@ "ru": "RSS", "zh-chs": "的RSS", "xloc": [ - "default.handlebars->27->1636" + "default.handlebars->27->1647" ] }, { @@ -19991,7 +20020,7 @@ "ru": "Число ретрансляций", "zh-chs": "中繼計數", "xloc": [ - "default.handlebars->27->1618" + "default.handlebars->27->1629" ] }, { @@ -20008,7 +20037,7 @@ "ru": "Ошибки ретранслятора", "zh-chs": "中繼錯誤", "xloc": [ - "default.handlebars->27->1611" + "default.handlebars->27->1622" ] }, { @@ -20025,8 +20054,8 @@ "ru": "Сессии ретранслятора", "zh-chs": "接力會議", "xloc": [ - "default.handlebars->27->1617", - "default.handlebars->27->1630" + "default.handlebars->27->1628", + "default.handlebars->27->1641" ] }, { @@ -20217,7 +20246,7 @@ "ru": "Удаленный пользователь", "zh-chs": "遠程用戶", "xloc": [ - "default.handlebars->27->1483" + "default.handlebars->27->1493" ] }, { @@ -20303,8 +20332,8 @@ "zh-chs": "删除设备", "es": "Dispositivo Remoto", "xloc": [ - "default.handlebars->27->1473", - "default.handlebars->27->1575" + "default.handlebars->27->1483", + "default.handlebars->27->1586" ] }, { @@ -20321,8 +20350,8 @@ "ru": "Удалить группу устройств.", "zh-chs": "刪除設備組", "xloc": [ - "default.handlebars->27->1475", - "default.handlebars->27->1586" + "default.handlebars->27->1485", + "default.handlebars->27->1597" ] }, { @@ -20339,9 +20368,9 @@ "ru": "Удалить пользователя", "zh-chs": "刪除用戶", "xloc": [ - "default.handlebars->27->1577", - "default.handlebars->27->1579", - "default.handlebars->27->1582" + "default.handlebars->27->1588", + "default.handlebars->27->1590", + "default.handlebars->27->1593" ] }, { @@ -20358,7 +20387,7 @@ "ru": "Удалить все двухфакторные аутентификации.", "zh-chs": "刪除所有第二因素驗證。", "xloc": [ - "default.handlebars->27->1553" + "default.handlebars->27->1563" ] }, { @@ -20440,7 +20469,7 @@ "zh-chs": "删除该用户", "es": "Eliminar a este usuario", "xloc": [ - "default.handlebars->27->1537" + "default.handlebars->27->1547" ] }, { @@ -20457,13 +20486,13 @@ "ru": "Удалить членство пользователя в группе", "zh-chs": "刪除用戶組成員身份", "xloc": [ - "default.handlebars->27->1572" + "default.handlebars->27->1583" ] }, { "en": "Remove user group rights to this device", "xloc": [ - "default.handlebars->27->1469" + "default.handlebars->27->1479" ] }, { @@ -20480,7 +20509,7 @@ "ru": "Удалить права группы пользователей для этой группы устройств", "zh-chs": "刪除該設備組的用戶組權限", "xloc": [ - "default.handlebars->27->1463", + "default.handlebars->27->1473", "default.handlebars->27->549" ] }, @@ -20499,9 +20528,9 @@ "zh-chs": "刪除此設備組的用戶權限", "xloc": [ "default.handlebars->27->1150", - "default.handlebars->27->1457", - "default.handlebars->27->1560", - "default.handlebars->27->1566", + "default.handlebars->27->1467", + "default.handlebars->27->1571", + "default.handlebars->27->1577", "default.handlebars->27->550" ] }, @@ -20564,7 +20593,7 @@ "xloc": [ "default-mobile.handlebars->9->51", "default.handlebars->27->1419", - "default.handlebars->27->1551" + "default.handlebars->27->1561" ] }, { @@ -20792,7 +20821,7 @@ "ru": "Ограничения", "zh-chs": "限制條件", "xloc": [ - "default.handlebars->27->1495" + "default.handlebars->27->1505" ] }, { @@ -21347,7 +21376,7 @@ "zh-chs": "安全", "xloc": [ "default-mobile.handlebars->9->217", - "default.handlebars->27->1531", + "default.handlebars->27->1541", "default.handlebars->27->228", "default.handlebars->27->609", "default.handlebars->27->784" @@ -21367,7 +21396,7 @@ "ru": "Ключ безопасности", "zh-chs": "安全密鑰", "xloc": [ - "default.handlebars->27->1529" + "default.handlebars->27->1539" ] }, { @@ -21403,6 +21432,7 @@ "xloc": [ "default.handlebars->27->1323", "default.handlebars->27->1379", + "default.handlebars->27->1443", "default.handlebars->27->372", "default.handlebars->27->714", "default.handlebars->27->716", @@ -21410,6 +21440,7 @@ "default.handlebars->container->column_l->p13->p13toolbar->1->2->1->3", "default.handlebars->container->column_l->p4->3->1->0->3->3", "default.handlebars->container->column_l->p5->p5toolbar->1->0->p5filehead->3", + "default.handlebars->container->column_l->p50->3->1->0->3->3", "default.handlebars->meshContextMenu->cxselectall" ] }, @@ -21429,6 +21460,7 @@ "xloc": [ "default.handlebars->27->1322", "default.handlebars->27->1378", + "default.handlebars->27->1442", "default.handlebars->27->371", "default.handlebars->27->715", "default.handlebars->meshContextMenu->cxselectnone" @@ -21506,7 +21538,8 @@ "en": "Select an operation to perform on all selected users.", "nl": "Selecteer een bewerking die u op alle geselecteerde gebruikers wilt uitvoeren.", "xloc": [ - "default.handlebars->27->1380" + "default.handlebars->27->1380", + "default.handlebars->27->1444" ] }, { @@ -21631,7 +21664,7 @@ "ru": "Отправить уведомление всем пользователям этой группы.", "zh-chs": "向該組中的所有用戶發送通知。", "xloc": [ - "default.handlebars->27->1454" + "default.handlebars->27->1464" ] }, { @@ -21748,7 +21781,7 @@ "ru": "Отправить уведомление пользователю", "zh-chs": "發送用戶通知", "xloc": [ - "default.handlebars->27->1536" + "default.handlebars->27->1546" ] }, { @@ -21816,7 +21849,7 @@ "ru": "Сертификат сервера", "zh-chs": "服務器證書", "xloc": [ - "default.handlebars->27->1646" + "default.handlebars->27->1657" ] }, { @@ -21833,7 +21866,7 @@ "zh-chs": "服務器數據庫", "es": "Base de Datos del Servidor", "xloc": [ - "default.handlebars->27->1647" + "default.handlebars->27->1658" ] }, { @@ -21891,7 +21924,7 @@ "ru": "Квота сервера", "zh-chs": "服務器配額", "xloc": [ - "default.handlebars->27->1503" + "default.handlebars->27->1513" ] }, { @@ -21925,7 +21958,7 @@ "ru": "Права", "zh-chs": "服務器權限", "xloc": [ - "default.handlebars->27->1502" + "default.handlebars->27->1512" ] }, { @@ -21942,7 +21975,7 @@ "ru": "Состояние сервера", "zh-chs": "服務器狀態", "xloc": [ - "default.handlebars->27->1597" + "default.handlebars->27->1608" ] }, { @@ -21976,7 +22009,7 @@ "ru": "Трассировка сервера", "zh-chs": "服務器跟踪", "xloc": [ - "default.handlebars->27->1657" + "default.handlebars->27->1668" ] }, { @@ -22115,7 +22148,7 @@ "ru": "ServerStats.csv", "zh-chs": "ServerStats.csv", "xloc": [ - "default.handlebars->27->1638" + "default.handlebars->27->1649" ] }, { @@ -23451,7 +23484,7 @@ "ru": "Статус", "zh-chs": "狀態", "xloc": [ - "default.handlebars->27->1544", + "default.handlebars->27->1554", "default.handlebars->container->column_l->p42->p42tbl->1->0->7" ] }, @@ -24015,7 +24048,7 @@ "zh-chs": "終端通知", "xloc": [ "default.handlebars->27->1113", - "default.handlebars->27->1521", + "default.handlebars->27->1531", "default.handlebars->27->492" ] }, @@ -24034,7 +24067,7 @@ "zh-chs": "終端提示", "xloc": [ "default.handlebars->27->1112", - "default.handlebars->27->1520", + "default.handlebars->27->1530", "default.handlebars->27->491" ] }, @@ -24178,7 +24211,7 @@ "ru": "На данный момент уведомлений нет", "zh-chs": "目前沒有任何通知", "xloc": [ - "default.handlebars->27->1590" + "default.handlebars->27->1601" ] }, { @@ -25384,7 +25417,7 @@ "default-mobile.handlebars->9->174", "default-mobile.handlebars->9->175", "default.handlebars->27->13", - "default.handlebars->27->1581", + "default.handlebars->27->1592", "default.handlebars->27->370", "default.handlebars->27->41", "default.handlebars->27->42", @@ -25426,7 +25459,7 @@ "ru": "Неизвестное действие", "zh-chs": "未知動作", "xloc": [ - "default.handlebars->27->1603" + "default.handlebars->27->1614" ] }, { @@ -25443,8 +25476,8 @@ "zh-chs": "未知設備", "es": "Dispositivo desconocido", "xloc": [ - "default.handlebars->27->1468", - "default.handlebars->27->1559" + "default.handlebars->27->1478", + "default.handlebars->27->1570" ] }, { @@ -25461,9 +25494,9 @@ "ru": "Неизвестная группа устройств", "zh-chs": "未知設備組", "xloc": [ - "default.handlebars->27->1462", - "default.handlebars->27->1565", - "default.handlebars->27->1607" + "default.handlebars->27->1472", + "default.handlebars->27->1576", + "default.handlebars->27->1618" ] }, { @@ -25480,7 +25513,7 @@ "ru": "Неизвестная группа", "zh-chs": "未知群組", "xloc": [ - "default.handlebars->27->1599" + "default.handlebars->27->1610" ] }, { @@ -25515,7 +25548,7 @@ "ru": "Неизвестная группа пользователей", "zh-chs": "未知用戶組", "xloc": [ - "default.handlebars->27->1571" + "default.handlebars->27->1582" ] }, { @@ -25597,7 +25630,7 @@ "ru": "Актуально", "zh-chs": "最新", "xloc": [ - "default.handlebars->27->1664" + "default.handlebars->27->1675" ] }, { @@ -25846,8 +25879,8 @@ "ru": "Использовано", "zh-chs": "用過的", "xloc": [ - "default.handlebars->27->1593", - "default.handlebars->27->1595" + "default.handlebars->27->1604", + "default.handlebars->27->1606" ] }, { @@ -25867,7 +25900,7 @@ "default-mobile.handlebars->9->329", "default.handlebars->27->1151", "default.handlebars->27->1368", - "default.handlebars->27->1458", + "default.handlebars->27->1468", "default.handlebars->27->184", "default.handlebars->27->552" ] @@ -25923,7 +25956,7 @@ "ru": "Учетные записи пользователей", "zh-chs": "用戶帳號", "xloc": [ - "default.handlebars->27->1612" + "default.handlebars->27->1623" ] }, { @@ -25960,7 +25993,7 @@ "zh-chs": "用戶同意", "xloc": [ "default.handlebars->27->1119", - "default.handlebars->27->1527", + "default.handlebars->27->1537", "default.handlebars->27->498" ] }, @@ -25980,9 +26013,9 @@ "xloc": [ "default.handlebars->27->1207", "default.handlebars->27->1208", - "default.handlebars->27->1441", - "default.handlebars->27->1573", + "default.handlebars->27->1451", "default.handlebars->27->1584", + "default.handlebars->27->1595", "default.handlebars->27->551" ] }, @@ -26017,7 +26050,7 @@ "ru": "Членство в группах пользователей", "zh-chs": "用戶組成員資格", "xloc": [ - "default.handlebars->27->1570" + "default.handlebars->27->1581" ] }, { @@ -26035,7 +26068,7 @@ "zh-chs": "用戶標識", "xloc": [ "default.handlebars->27->1266", - "default.handlebars->27->1499" + "default.handlebars->27->1509" ] }, { @@ -26087,7 +26120,7 @@ "zh-chs": "用戶名", "xloc": [ "default.handlebars->27->1205", - "default.handlebars->27->1487" + "default.handlebars->27->1497" ] }, { @@ -26133,7 +26166,7 @@ "ru": "Сессии пользователя", "zh-chs": "用戶會話", "xloc": [ - "default.handlebars->27->1629" + "default.handlebars->27->1640" ] }, { @@ -26316,9 +26349,9 @@ "ru": "Пользователи", "zh-chs": "用戶數", "xloc": [ - "default.handlebars->27->1440", - "default.handlebars->27->1451", - "default.handlebars->27->1628", + "default.handlebars->27->1441", + "default.handlebars->27->1461", + "default.handlebars->27->1639", "default.handlebars->container->topbar->1->1->UsersSubMenuSpan->UsersSubMenu->1->0->UsersGeneral" ] }, @@ -26336,7 +26369,7 @@ "ru": "Сессии пользователей", "zh-chs": "用戶會話", "xloc": [ - "default.handlebars->27->1616" + "default.handlebars->27->1627" ] }, { @@ -26405,7 +26438,7 @@ "zh-chs": "已驗證", "es": "Verficado", "xloc": [ - "default.handlebars->27->1546" + "default.handlebars->27->1556" ] }, { @@ -26475,7 +26508,7 @@ "zh-chs": "版本不兼容,请先升级您的MeshCentral安装", "es": "Versión Incompatible, por favor primero actualice su instalación de MeshCentral", "xloc": [ - "default.handlebars->27->1660" + "default.handlebars->27->1671" ] }, { @@ -26541,8 +26574,8 @@ "zh-chs": "查看变更日志", "es": "Ver registro de cambios", "xloc": [ - "default.handlebars->27->1663", - "default.handlebars->27->1665" + "default.handlebars->27->1674", + "default.handlebars->27->1676" ] }, { @@ -26593,7 +26626,7 @@ "ru": "Посмотреть примечания об этом пользователе", "zh-chs": "查看有關此用戶的註釋", "xloc": [ - "default.handlebars->27->1534" + "default.handlebars->27->1544" ] }, { @@ -26785,8 +26818,8 @@ "ru": "Веб-сервер", "zh-chs": "網絡服務器", "xloc": [ - "default.handlebars->27->1649", - "default.handlebars->27->1650" + "default.handlebars->27->1660", + "default.handlebars->27->1661" ] }, { @@ -26803,7 +26836,7 @@ "ru": "Запросы веб-сервера", "zh-chs": "Web服務器請求", "xloc": [ - "default.handlebars->27->1651" + "default.handlebars->27->1662" ] }, { @@ -26820,7 +26853,7 @@ "ru": "Ретранслятор Web Socket", "zh-chs": "Web套接字中繼", "xloc": [ - "default.handlebars->27->1652" + "default.handlebars->27->1663" ] }, { @@ -26925,7 +26958,7 @@ "ru": "Будет изменено при следующем входе в систему.", "zh-chs": "下次登錄時將更改。", "xloc": [ - "default.handlebars->27->1507" + "default.handlebars->27->1517" ] }, { @@ -27841,7 +27874,7 @@ "ru": "\\\\'", "zh-chs": "\\\\'", "xloc": [ - "default.handlebars->27->1661" + "default.handlebars->27->1672" ] }, { @@ -28112,7 +28145,7 @@ "ru": "свободно", "zh-chs": "自由", "xloc": [ - "default.handlebars->27->1624" + "default.handlebars->27->1635" ] }, { @@ -28468,7 +28501,7 @@ "ru": "servertrace.csv", "zh-chs": "servertrace.csv", "xloc": [ - "default.handlebars->27->1659" + "default.handlebars->27->1670" ] }, { @@ -28521,7 +28554,7 @@ "zh-chs": "時間,conn.agent,conn.users,conn.usersessions,conn.relaysession,conn.intelamt,mem.external,mem.heapused,mem.heaptotal,mem.rss", "es": "time, conn.agent, conn.users, conn.usersessions, conn.relaysession, conn.intelamt, mem.external, mem.heapused, mem.heaptotal, mem.rss", "xloc": [ - "default.handlebars->27->1637" + "default.handlebars->27->1648" ] }, { @@ -28538,7 +28571,7 @@ "ru": "time, source, message", "zh-chs": "時間,來源,訊息", "xloc": [ - "default.handlebars->27->1658" + "default.handlebars->27->1669" ] }, { @@ -28569,7 +28602,7 @@ "ru": "всего", "zh-chs": "總", "xloc": [ - "default.handlebars->27->1625" + "default.handlebars->27->1636" ] }, { @@ -28774,7 +28807,7 @@ "ru": "{0} активных сессий", "zh-chs": "{0}個活動會話", "xloc": [ - "default.handlebars->27->1542" + "default.handlebars->27->1552" ] }, { @@ -28860,7 +28893,7 @@ "ru": "{0} групп", "zh-chs": "{0}個群組", "xloc": [ - "default.handlebars->27->1512" + "default.handlebars->27->1522" ] }, { diff --git a/views/default.handlebars b/views/default.handlebars index 67a36004..21f0b597 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -980,8 +980,10 @@
- - + + + +
@@ -9763,9 +9765,9 @@ // Highlights the user being hovered function userMouseHover2(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'); } + e.children[2].classList.remove('g1s'); + e.children[3].classList.remove('g2s'); + if (over == 1) { e.children[2].classList.add('g1s'); e.children[3].classList.add('g2s'); } element.children[0].children[0].style['background-color'] = ((over == 0) ? '#c9c9c9' : '#b9b9b9'); } @@ -10044,34 +10046,92 @@ if (usergroups) { for (var i in usergroups) { sortedGroups.push(usergroups[i]); } } sortedGroups.sort(nameSort); + // Save the list of currently checked users + var checkedUserGroupids = [], elements = document.getElementsByClassName('UserGroupCheckbox'); + for (var i=0;i'; QV('DuplicateUserGroupButton', false); } else { // Display the groups using the sorted list x += ''; - x += '
' + "Name" + '' + "Device Groups" + '' + "Users"; + x += '' + "Name" + '' + "Devices" + '' + "Device Groups" + '' + "Users"; for (var i in sortedGroups) { x += addUserGroupHtml(sortedGroups[i]); } x += '
'; QV('DuplicateUserGroupButton', true); } QH('p50groups', x); + // Re-check userid's + elements = document.getElementsByClassName('UserGroupCheckbox'); + for (var i=0;i= 0)); } + p50updateInfo(); + // Update current user panel if needed if ((currentUserGroup != null) && (xxcurrentView == 51)) { gotoUserGroup(encodeURIComponent(currentUserGroup._id), true); } } function addUserGroupHtml(group) { - var usercount = 0, meshcount = 0; - if (group.links) { for (var i in group.links) { if (i.startsWith('user/')) { usercount++; } if (i.startsWith('mesh/')) { meshcount++; } } } - var x = ''; + var usercount = 0, meshcount = 0, devicecount = 0; + if (group.links) { for (var i in group.links) { if (i.startsWith('user/')) { usercount++; } if (i.startsWith('mesh/')) { meshcount++; } if (i.startsWith('node/')) { devicecount++; } } } + var x = ''; x += '
'; - x += '
'; - x += '
'; - x += '
' + group.name + '
' + meshcount + '' + usercount; + x += '
'; + x += '
'; + x += '
'; + x += '
' + group.name + '
' + devicecount + '' + meshcount + '' + usercount; return x; } + function p50updateInfo() { + var elements = document.getElementsByClassName('UserGroupCheckbox'), checkcount = 0; + for (var i=0;i 0); + Q('UsersGroupsSelectAllButton').value = (checkcount > 0)?"Select None":"Select All"; + } + + // Called to select all or unselect all users + function p50usersSelectallButtonFunction() { + var eself = encodeURIComponent(userinfo._id); + var elements = document.getElementsByClassName('UserGroupCheckbox'), checkcount = 0; + for (var i=0;i
'; + x += addHtmlValue("Operation", ''); + setDialogMode(2, "Group Action", 3, p50usersGroupActionFunctionEx, x); + } + + function p50usersGroupActionFunctionEx() { + var elements = document.getElementsByClassName('UserGroupCheckbox'), userids = []; + for (var i=0;i
'; + x += ''; + setDialogMode(2, "Delete User Groups", 3, p50groupActionFunctionDelExec, x); + QE('idx_dlgOkButton', false); + } + } + + function p50usersGroupActionFunctionDelCheck() { QE('idx_dlgOkButton', Q('d3check').checked); } + + // Delete a batch of user accounts + function p50groupActionFunctionDelExec(b) { + var elements = document.getElementsByClassName('UserGroupCheckbox'); + for (var i=0;i
'); + p10validateDeleteNodeDialog(); } function p30showDeleteUserDialogEx() {