system: show the hardware model on the System page

machine.machine_name is already reported in /information.json as hw_ver;
surface it read-only on the System Settings page so the exact build
target is visible in the UI, without adding a redundant JSON field.
This commit is contained in:
d00f
2026-07-25 13:21:13 +02:00
parent f21b3a32bd
commit e6cd362a1e
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -132,6 +132,7 @@ function fetchIP() {
document.getElementById("netmask").value=s.ip_netmask;
document.getElementById("gw").value=s.ip_gateway;
if (document.getElementById("hostname")) document.getElementById("hostname").value = s.hostname || "";
if (document.getElementById("model")) document.getElementById("model").textContent = s.hw_ver || "";
clearInterval(systemInterval);
// Fetch and populate the config textbox
fetchConfig().then((configText) => {