diff --git a/lib/main.js b/lib/main.js index 4a54eb3..4ccbf53 100644 --- a/lib/main.js +++ b/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)