mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Web interface improvement.
This commit is contained in:
parent
561ac6fb91
commit
2b9d518e16
7 changed files with 1442 additions and 1398 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue