meshstats: show siteName

This commit is contained in:
Nils Schneider 2015-07-08 16:32:26 +02:00
parent ed731f087f
commit a774b91bc1
2 changed files with 3 additions and 3 deletions

View file

@ -74,7 +74,7 @@ function (chroma, Map, Sidebar, Tabs, Container, Meshstats, Linklist,
var infobox = new Infobox(config, sidebar, router)
var tabs = new Tabs()
var overview = new Container()
var meshstats = new Meshstats()
var meshstats = new Meshstats(config)
var newnodeslist = new SimpleNodelist("new", "firstseen", router, "Neue Knoten")
var lostnodeslist = new SimpleNodelist("lost", "lastseen", router, "Verschwundene Knoten")
var nodelist = new Nodelist(router)

View file

@ -1,5 +1,5 @@
define(function () {
return function () {
return function (config) {
var self = this
var stats, timestamp
@ -23,7 +23,7 @@ define(function () {
self.render = function (el) {
var h2 = document.createElement("h2")
h2.textContent = "Übersicht"
h2.textContent = config.siteName
el.appendChild(h2)
var p = document.createElement("p")