mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-24 22:42:10 +03:00
Added offline device filter.
This commit is contained in:
parent
d7e879ed5a
commit
add30abaa4
2
public/scripts/amt-wsman-0.2.0-min.js
vendored
2
public/scripts/amt-wsman-0.2.0-min.js
vendored
File diff suppressed because one or more lines are too long
@ -18566,7 +18566,7 @@
|
||||
"zh-chs": "英特尔®AMT",
|
||||
"zh-cht": "Intel® AMT",
|
||||
"xloc": [
|
||||
"default.handlebars->container->column_l->p1->devListToolbarSpan->1->0->devListToolbar->DevFilterSelect->9"
|
||||
"default.handlebars->container->column_l->p1->devListToolbarSpan->1->0->devListToolbar->DevFilterSelect->11"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -25598,6 +25598,12 @@
|
||||
"default.handlebars->27->2008"
|
||||
]
|
||||
},
|
||||
{
|
||||
"en": "Offline",
|
||||
"xloc": [
|
||||
"default.handlebars->container->column_l->p1->devListToolbarSpan->1->0->devListToolbar->DevFilterSelect->5"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cs": "Nepřipojení uživatelé",
|
||||
"de": "Benutzer offline",
|
||||
@ -32099,7 +32105,7 @@
|
||||
"xloc": [
|
||||
"default-mobile.handlebars->9->176",
|
||||
"default.handlebars->27->260",
|
||||
"default.handlebars->container->column_l->p1->devListToolbarSpan->1->0->devListToolbar->DevFilterSelect->5"
|
||||
"default.handlebars->container->column_l->p1->devListToolbarSpan->1->0->devListToolbar->DevFilterSelect->7"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -33917,7 +33923,7 @@
|
||||
"en": "Starred",
|
||||
"nl": "Gemarkeerd",
|
||||
"xloc": [
|
||||
"default.handlebars->container->column_l->p1->devListToolbarSpan->1->0->devListToolbar->DevFilterSelect->7"
|
||||
"default.handlebars->container->column_l->p1->devListToolbarSpan->1->0->devListToolbar->DevFilterSelect->9"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -240,6 +240,7 @@
|
||||
<select id=DevFilterSelect onchange=onOnlineCheckBox(event) title="Device Filter">
|
||||
<option value=0>All</option>
|
||||
<option value=1>Online</option>
|
||||
<option value=5>Offline</option>
|
||||
<option value=2>Sessions</option>
|
||||
<option value=3>Starred</option>
|
||||
<option value=4>Intel® AMT</option>
|
||||
@ -4619,6 +4620,7 @@
|
||||
if (devFilter == 2) { for (var d in nodes) { var n = nodes[d]; if ((n.sessions == null) || ((n.sessions.kvm == null) && (n.sessions.terminal == null) && (n.sessions.files == null) && (n.sessions.tcp == null) && (n.sessions.udp == null))) { n.v = false; } } } // Sessions
|
||||
if (devFilter == 3) { for (var d in nodes) { if (stars[nodes[d]._id] != 1) { nodes[d].v = false; } } } // Starred
|
||||
if (devFilter == 4) { for (var d in nodes) { if (nodes[d].intelamt == null) { nodes[d].v = false; } } } // Intel AMT
|
||||
if (devFilter == 5) { for (var d in nodes) { if ((nodes[d].conn != null) && (nodes[d].conn != 0)) { nodes[d].v = false; } } } // Offline
|
||||
}
|
||||
|
||||
var contextelement = null;
|
||||
|
Loading…
Reference in New Issue
Block a user