mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-11 15:03:20 -05:00
Web interface improvement.
This commit is contained in:
parent
561ac6fb91
commit
2b9d518e16
BIN
public/images/details/mobile128.png
Normal file
BIN
public/images/details/mobile128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
BIN
public/images/details/mobile32.png
Normal file
BIN
public/images/details/mobile32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
public/images/details/mobile64.png
Normal file
BIN
public/images/details/mobile64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.5 KiB |
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
File diff suppressed because it is too large
Load Diff
@ -4326,6 +4326,17 @@
|
||||
if (x != '') { sections.push({ name: "Mesh Agent", html: x, img: 'meshagent' }); }
|
||||
}
|
||||
|
||||
// Mobile
|
||||
if (hardware.mobile) {
|
||||
var x = '';
|
||||
if (hardware.mobile.brand && hardware.mobile.model) { x += addDetailItem("Model", EscapeHtml(hardware.mobile.brand + ', ' + hardware.mobile.model), s); }
|
||||
if (hardware.mobile.device) { x += addDetailItem("Device", EscapeHtml(hardware.mobile.device), s); }
|
||||
if (hardware.mobile.bootloader) { x += addDetailItem("Bootloader", EscapeHtml(hardware.mobile.bootloader), s); }
|
||||
if (hardware.mobile.id) { x += addDetailItem("Identifier", EscapeHtml(hardware.mobile.id), s); }
|
||||
if (hardware.mobile.host) { x += addDetailItem("Hostname", EscapeHtml(hardware.mobile.host), s); }
|
||||
if (x != '') { sections.push({ name: "Mobile Device", html: x, img: 'mobile' }); }
|
||||
}
|
||||
|
||||
// Networking
|
||||
if (network.netif2 != null) {
|
||||
// Display one network interface for each MAC address
|
||||
|
@ -9014,6 +9014,17 @@
|
||||
if (x != '') { sections.push({ name: "Mesh Agent", html: x, img: 'meshagent64.png'}); }
|
||||
}
|
||||
|
||||
// Mobile
|
||||
if (hardware.mobile) {
|
||||
var x = '';
|
||||
if (hardware.mobile.brand && hardware.mobile.model) { x += addDetailItem("Model", EscapeHtml(hardware.mobile.brand + ', ' + hardware.mobile.model), s); }
|
||||
if (hardware.mobile.device) { x += addDetailItem("Device", EscapeHtml(hardware.mobile.device), s); }
|
||||
if (hardware.mobile.bootloader) { x += addDetailItem("Bootloader", EscapeHtml(hardware.mobile.bootloader), s); }
|
||||
if (hardware.mobile.id) { x += addDetailItem("Identifier", EscapeHtml(hardware.mobile.id), s); }
|
||||
if (hardware.mobile.host) { x += addDetailItem("Hostname", EscapeHtml(hardware.mobile.host), s); }
|
||||
if (x != '') { sections.push({ name: "Mobile Device", html: x, img: 'mobile64.png'}); }
|
||||
}
|
||||
|
||||
// Networking (old style)
|
||||
if (network.netif != null) {
|
||||
// Compact interfaces that have the same MAC addresses
|
||||
|
Loading…
Reference in New Issue
Block a user