reparent meshstats to overview
This commit is contained in:
parent
1b65918e74
commit
a773b8323a
11
lib/main.js
11
lib/main.js
@ -14,7 +14,7 @@ function (Router, Map, Sidebar, Tabs, Container, Meshstats, Linklist, Nodelist,
|
||||
var sidebar = new Sidebar(document.body)
|
||||
var infobox = new Infobox(config, sidebar, router)
|
||||
var tabs = new Tabs()
|
||||
var newlost = new Container()
|
||||
var overview = new Container()
|
||||
|
||||
map = new Map(linkScale, sidebar, router)
|
||||
document.body.insertBefore(map.div, document.body.firstChild)
|
||||
@ -25,11 +25,12 @@ function (Router, Map, Sidebar, Tabs, Container, Meshstats, Linklist, Nodelist,
|
||||
nodelist = new Nodelist(router)
|
||||
linklist = new Linklist(linkScale, router)
|
||||
|
||||
sidebar.add(meshstats)
|
||||
overview.add(meshstats)
|
||||
overview.add(newnodeslist)
|
||||
overview.add(lostnodeslist)
|
||||
|
||||
sidebar.add(tabs)
|
||||
newlost.add(newnodeslist)
|
||||
newlost.add(lostnodeslist)
|
||||
tabs.add("Neu & Verschwunden", newlost)
|
||||
tabs.add("Übersicht", overview)
|
||||
tabs.add("Alle Knoten", nodelist)
|
||||
tabs.add("Verbindungen", linklist)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user