mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-07-20 05:58:50 -04:00
few ipv6 fixes in web ui
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
fb7940b2ce
commit
28aa2710fd
@ -5382,10 +5382,10 @@
|
||||
"xloc": [
|
||||
"default-mobile.handlebars->11->518",
|
||||
"default.handlebars->47->2249",
|
||||
"default.handlebars->47->448",
|
||||
"default.handlebars->47->447",
|
||||
"default.handlebars->47->931",
|
||||
"default3.handlebars->35->2245",
|
||||
"default3.handlebars->35->445",
|
||||
"default3.handlebars->35->444",
|
||||
"default3.handlebars->35->928"
|
||||
]
|
||||
},
|
||||
@ -14779,9 +14779,9 @@
|
||||
"zh-cht": "CCM",
|
||||
"xloc": [
|
||||
"default-mobile.handlebars->11->517",
|
||||
"default.handlebars->47->446",
|
||||
"default.handlebars->47->445",
|
||||
"default.handlebars->47->929",
|
||||
"default3.handlebars->35->443",
|
||||
"default3.handlebars->35->442",
|
||||
"default3.handlebars->35->926"
|
||||
]
|
||||
},
|
||||
@ -20002,9 +20002,9 @@
|
||||
"xloc": [
|
||||
"default-mobile.handlebars->11->4",
|
||||
"default.handlebars->47->11",
|
||||
"default.handlebars->47->440",
|
||||
"default.handlebars->47->448",
|
||||
"default3.handlebars->35->11",
|
||||
"default3.handlebars->35->437",
|
||||
"default3.handlebars->35->445",
|
||||
"sharing-mobile.handlebars->11->4",
|
||||
"sharing.handlebars->11->4",
|
||||
"ssh.handlebars->3->4",
|
||||
@ -40462,8 +40462,8 @@
|
||||
"pl": "W",
|
||||
"uk": "Вх",
|
||||
"xloc": [
|
||||
"default.handlebars->47->444",
|
||||
"default3.handlebars->35->441"
|
||||
"default.handlebars->47->443",
|
||||
"default3.handlebars->35->440"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -42284,8 +42284,8 @@
|
||||
"pl": "Nazwa hosta Intel® AMT",
|
||||
"uk": "Ім'я хоста Intel® AMT",
|
||||
"xloc": [
|
||||
"default.handlebars->47->365",
|
||||
"default3.handlebars->35->362"
|
||||
"default.handlebars->47->364",
|
||||
"default3.handlebars->35->361"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -42314,9 +42314,9 @@
|
||||
"zh-chs": "在Intel® AMT尔AMT",
|
||||
"zh-cht": "在管理控制模式下啟動了Intel® AMT",
|
||||
"xloc": [
|
||||
"default.handlebars->47->447",
|
||||
"default.handlebars->47->446",
|
||||
"default.handlebars->47->930",
|
||||
"default3.handlebars->35->444",
|
||||
"default3.handlebars->35->443",
|
||||
"default3.handlebars->35->927"
|
||||
]
|
||||
},
|
||||
@ -42346,9 +42346,9 @@
|
||||
"zh-chs": "英特尔AMT在客户端控制模式下被激活",
|
||||
"zh-cht": "Intel® AMT在客户端控制模式下被启动",
|
||||
"xloc": [
|
||||
"default.handlebars->47->445",
|
||||
"default.handlebars->47->444",
|
||||
"default.handlebars->47->928",
|
||||
"default3.handlebars->35->442",
|
||||
"default3.handlebars->35->441",
|
||||
"default3.handlebars->35->925"
|
||||
]
|
||||
},
|
||||
@ -42359,8 +42359,8 @@
|
||||
"pl": "Intel® AMT jest w trybie aktywacji",
|
||||
"uk": "Intel® AMT знаходиться в режимі активації",
|
||||
"xloc": [
|
||||
"default.handlebars->47->443",
|
||||
"default3.handlebars->35->440"
|
||||
"default.handlebars->47->442",
|
||||
"default3.handlebars->35->439"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -42370,8 +42370,8 @@
|
||||
"pl": "Intel® AMT nie jest aktywowane",
|
||||
"uk": "Intel® AMT не активовано",
|
||||
"xloc": [
|
||||
"default.handlebars->47->441",
|
||||
"default3.handlebars->35->438"
|
||||
"default.handlebars->47->440",
|
||||
"default3.handlebars->35->437"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -42591,8 +42591,8 @@
|
||||
"nl": "Intel® AMT status",
|
||||
"uk": "Стан Intel® AMT",
|
||||
"xloc": [
|
||||
"default.handlebars->47->366",
|
||||
"default3.handlebars->35->363"
|
||||
"default.handlebars->47->365",
|
||||
"default3.handlebars->35->362"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -46302,10 +46302,10 @@
|
||||
"zh-chs": "最后一次露面",
|
||||
"zh-cht": "最後一次露面",
|
||||
"xloc": [
|
||||
"default.handlebars->47->364",
|
||||
"default.handlebars->47->366",
|
||||
"default.handlebars->47->398",
|
||||
"default.handlebars->container->column_l->p1->devListToolbarSpan->1->0->9->devListToolbarSort->sortselect->11",
|
||||
"default3.handlebars->35->361",
|
||||
"default3.handlebars->35->363",
|
||||
"default3.handlebars->35->395",
|
||||
"default3.handlebars->container->column_l->p1->devListToolbarSpan->7->devListToolbarSort->sortselect->11"
|
||||
]
|
||||
@ -63337,8 +63337,8 @@
|
||||
"nl": "Pre",
|
||||
"pl": "Przed",
|
||||
"xloc": [
|
||||
"default.handlebars->47->442",
|
||||
"default3.handlebars->35->439"
|
||||
"default.handlebars->47->441",
|
||||
"default3.handlebars->35->438"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -4651,7 +4651,7 @@
|
||||
}
|
||||
|
||||
// This height of 1 div at the end to fix a problem in Linux firefox browsers
|
||||
r = '<table style=width:100%;margin-top:4px cellpadding=0 cellspacing=0><th style=color:gray>' + colums + r + '</tr></table><div style=height:1px></div>';
|
||||
r = '<table style=width:100%;margin-top:4px;table-layout:fixed cellpadding=0 cellspacing=0><th style=color:gray>' + colums + r + '</tr></table><div style=height:1px></div>';
|
||||
}
|
||||
} else {
|
||||
r += '</table>';
|
||||
@ -4958,7 +4958,7 @@
|
||||
}
|
||||
if (deviceViewSettings.devsCols.indexOf('links') >= 0) { r += '<td style=text-align:center;font-size:x-small>' + getShortRouterLinks(node); } // Links
|
||||
if (deviceViewSettings.devsCols.indexOf('user') >= 0) { r += '<td style=text-align:center>' + getUserShortStr(node); } // User
|
||||
if (deviceViewSettings.devsCols.indexOf('ip') >= 0) { var ip = ''; if (node.mtype == 3) { ip = node.host; } else if (node.ip) { ip = node.ip; } r += '<td style=text-align:center>' + ip; } // IP address
|
||||
if (deviceViewSettings.devsCols.indexOf('ip') >= 0) { var ip = ''; if (node.mtype == 3) { ip = node.host; } else if (node.ip) { ip = node.ip; } r += '<td style=text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis title="' + EscapeHtml(ip) + '">' + EscapeHtml(ip); } // IP address
|
||||
if (deviceViewSettings.devsCols.indexOf('conn') >= 0) { r += '<td style=text-align:center>' + states.join(' + '); } // Connectivity
|
||||
if (deviceViewSettings.devsCols.indexOf('amthost') >= 0) { r += '<td style=text-align:center>' + (((node.intelamt == null) || (node.intelamt.host == null)) ? '' : EscapeHtml(node.intelamt.host)); }
|
||||
if (deviceViewSettings.devsCols.indexOf('amtstate') >= 0) {
|
||||
@ -12216,7 +12216,7 @@
|
||||
var splitip = node.lastaddr.split(':');
|
||||
if (splitip.length > 2) {
|
||||
// IPv6
|
||||
x += addDetailItem("Last agent address", node.lastaddr);
|
||||
x += addDetailItem("Last agent address", '<a href="https://iplocation.com/?ip=' + splitip.slice(0, -1).join(':') + '" rel="noreferrer noopener" target="MeshIPLoopup">' + splitip.slice(0, -1).join(':') + '</a>');
|
||||
} else {
|
||||
// IPv4
|
||||
if (isPrivateIP(node.lastaddr)) {
|
||||
|
@ -5138,7 +5138,7 @@
|
||||
if (requestedLastConnects == false) { requestedLastConnects = true; meshserver.send({ action: 'lastconnects' }); }
|
||||
}
|
||||
// This height of 1 div at the end to fix a problem in Linux firefox browsers
|
||||
r = '<table style=width:100%;margin-top:4px cellpadding=0 cellspacing=0><th>' + colums + r + '</tr></table><div style=height:1px></div>';
|
||||
r = '<table style=width:100%;margin-top:4px;table-layout:fixed cellpadding=0 cellspacing=0><th>' + colums + r + '</tr></table><div style=height:1px></div>';
|
||||
}
|
||||
} else {
|
||||
r += '</table>';
|
||||
@ -5445,7 +5445,7 @@
|
||||
}
|
||||
if (deviceViewSettings.devsCols.indexOf('links') >= 0) { r += '<td style=text-align:center;font-size:x-small>' + getShortRouterLinks(node); } // Links
|
||||
if (deviceViewSettings.devsCols.indexOf('user') >= 0) { r += '<td style=text-align:center>' + getUserShortStr(node); } // User
|
||||
if (deviceViewSettings.devsCols.indexOf('ip') >= 0) { var ip = ''; if (node.mtype == 3) { ip = node.host; } else if (node.ip) { ip = node.ip; } r += '<td style=text-align:center>' + ip; } // IP address
|
||||
if (deviceViewSettings.devsCols.indexOf('ip') >= 0) { var ip = ''; if (node.mtype == 3) { ip = node.host; } else if (node.ip) { ip = node.ip; } r += '<td style=text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis title="' + EscapeHtml(ip) + '">' + EscapeHtml(ip); } // IP address
|
||||
if (deviceViewSettings.devsCols.indexOf('conn') >= 0) { r += '<td style=text-align:center>' + states.join(' + '); } // Connectivity
|
||||
if (deviceViewSettings.devsCols.indexOf('amthost') >= 0) { r += '<td style=text-align:center>' + (((node.intelamt == null) || (node.intelamt.host == null)) ? '' : EscapeHtml(node.intelamt.host)); }
|
||||
if (deviceViewSettings.devsCols.indexOf('amtstate') >= 0) {
|
||||
@ -13053,7 +13053,7 @@
|
||||
var splitip = node.lastaddr.split(':');
|
||||
if (splitip.length > 2) {
|
||||
// IPv6
|
||||
x += addDetailItem("Last agent address", node.lastaddr);
|
||||
x += addDetailItem("Last agent address", '<a href="https://iplocation.com/?ip=' + splitip.slice(0, -1).join(':') + '" rel="noreferrer noopener" target="MeshIPLoopup">' + splitip.slice(0, -1).join(':') + '</a>');
|
||||
} else {
|
||||
// IPv4
|
||||
if (isPrivateIP(node.lastaddr)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user