mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
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:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user