mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 21:02:53 -05:00
Web interface improvement.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user