remove "Gateway-Feature"
This commit is contained in:
parent
ca8ce8392f
commit
c13e648cc6
3 changed files with 2 additions and 26 deletions
|
|
@ -20,9 +20,6 @@ define(["chroma-js", "virtual-dom", "numeral-intl"],
|
|||
var autoTable = document.createElement("table")
|
||||
autoTable.classList.add("proportion")
|
||||
|
||||
var gwTable = document.createElement("table")
|
||||
gwTable.classList.add("proportion")
|
||||
|
||||
function showStatGlobal(o) {
|
||||
var content, caption
|
||||
|
||||
|
|
@ -130,22 +127,11 @@ define(["chroma-js", "virtual-dom", "numeral-intl"],
|
|||
return "(deaktiviert)"
|
||||
})
|
||||
|
||||
var gwDict = count(onlineNodes, ["statistics", "gateway"], function (d) {
|
||||
if (d === null)
|
||||
return null
|
||||
|
||||
if (d in nodeDict)
|
||||
return nodeDict[d].nodeinfo.hostname
|
||||
|
||||
return d
|
||||
})
|
||||
|
||||
fillTable(statusTable, statusDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
fillTable(fwTable, fwDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
fillTable(hwTable, hwDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
fillTable(geoTable, geoDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
fillTable(autoTable, autoDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
fillTable(gwTable, gwDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
}
|
||||
|
||||
self.render = function (el) {
|
||||
|
|
@ -175,11 +161,6 @@ define(["chroma-js", "virtual-dom", "numeral-intl"],
|
|||
el.appendChild(h2)
|
||||
el.appendChild(autoTable)
|
||||
|
||||
h2 = document.createElement("h2")
|
||||
h2.textContent = "Gewählter Gateway"
|
||||
el.appendChild(h2)
|
||||
el.appendChild(gwTable)
|
||||
|
||||
if (config.globalInfos)
|
||||
config.globalInfos.forEach( function (globalInfo) {
|
||||
h2 = document.createElement("h2")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue