meshstats: show siteName
This commit is contained in:
parent
ed731f087f
commit
a774b91bc1
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue