refactor: remove redundant hostname heading from server tab
The server name is already shown in the navbar — no need to repeat it as a heading on the page. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -8,7 +8,6 @@ function ServerInfoPage(params, container) {
|
||||
var html =
|
||||
'<div id="ServerInfoController">' +
|
||||
'<div class="row">' +
|
||||
'<div class="col-sm-12"><h2 id="si-hostname">Server Info</h2></div>' +
|
||||
'<div id="si-fields" class="col-sm-12 row"><span class="text-white-50">Loading…</span></div>' +
|
||||
'</div>' +
|
||||
'<div class="row">' +
|
||||
@@ -130,10 +129,6 @@ function ServerInfoPage(params, container) {
|
||||
}
|
||||
}
|
||||
fieldsEl.innerHTML = fieldsHtml;
|
||||
if (data.Hostname) {
|
||||
var hn = document.getElementById('si-hostname');
|
||||
if (hn) hn.textContent = data.Hostname;
|
||||
}
|
||||
|
||||
// Collect chart data
|
||||
recordedData.push({ ts: Date.now(), data: data });
|
||||
|
||||
Reference in New Issue
Block a user