From a773b8323a0dfa26e9221d8c36e79fc16fb20195 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Thu, 26 Mar 2015 13:18:55 +0100 Subject: [PATCH] reparent meshstats to overview --- lib/main.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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)