nodelist: show only uptime and clientcount
This commit is contained in:
parent
a773b8323a
commit
ccd4b1652b
@ -26,11 +26,11 @@ define(function () {
|
||||
tr.appendChild(th1)
|
||||
|
||||
var th2 = document.createElement("th")
|
||||
th2.textContent = "Firmware"
|
||||
th2.textContent = "Uptime"
|
||||
tr.appendChild(th2)
|
||||
|
||||
var th3 = document.createElement("th")
|
||||
th3.textContent = "Uptime"
|
||||
th3.textContent = "Clients"
|
||||
tr.appendChild(th3)
|
||||
|
||||
thead.appendChild(tr)
|
||||
@ -60,11 +60,11 @@ define(function () {
|
||||
}
|
||||
|
||||
var td2 = document.createElement("td")
|
||||
td2.textContent = "software" in d.nodeinfo ? d.nodeinfo.software.firmware.release : ""
|
||||
showUptime(td2, d)
|
||||
row.appendChild(td2)
|
||||
|
||||
var td3 = document.createElement("td")
|
||||
showUptime(td3, d)
|
||||
td3.textContent = "clients" in d.statistics ? d.statistics.clients : ""
|
||||
row.appendChild(td3)
|
||||
|
||||
tbody.appendChild(row)
|
||||
|
Loading…
Reference in New Issue
Block a user