remove contact info from simplenodelist
This commit is contained in:
parent
f1da58233a
commit
913f9f70f6
@ -70,8 +70,8 @@ function (chroma, Map, Sidebar, Tabs, Container, Meshstats, Linklist,
|
|||||||
var tabs = new Tabs()
|
var tabs = new Tabs()
|
||||||
var overview = new Container()
|
var overview = new Container()
|
||||||
var meshstats = new Meshstats()
|
var meshstats = new Meshstats()
|
||||||
var newnodeslist = new SimpleNodelist(config, "new", "firstseen", router, "Neue Knoten")
|
var newnodeslist = new SimpleNodelist("new", "firstseen", router, "Neue Knoten")
|
||||||
var lostnodeslist = new SimpleNodelist(config, "lost", "lastseen", router, "Verschwundene Knoten")
|
var lostnodeslist = new SimpleNodelist("lost", "lastseen", router, "Verschwundene Knoten")
|
||||||
var nodelist = new Nodelist(router)
|
var nodelist = new Nodelist(router)
|
||||||
var linklist = new Linklist(linkScale, router)
|
var linklist = new Linklist(linkScale, router)
|
||||||
var statistics = new Proportions()
|
var statistics = new Proportions()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
define(["moment", "virtual-dom"], function (moment, V) {
|
define(["moment", "virtual-dom"], function (moment, V) {
|
||||||
return function(config, nodes, field, router, title) {
|
return function(nodes, field, router, title) {
|
||||||
var self = this
|
var self = this
|
||||||
var el, tbody
|
var el, tbody
|
||||||
|
|
||||||
@ -47,9 +47,6 @@ define(["moment", "virtual-dom"], function (moment, V) {
|
|||||||
if (has_location(d))
|
if (has_location(d))
|
||||||
td1Content.push(V.h("span", {className: "icon ion-location"}))
|
td1Content.push(V.h("span", {className: "icon ion-location"}))
|
||||||
|
|
||||||
if ("owner" in d.nodeinfo && config.showContact)
|
|
||||||
td1Content.push(" - " + d.nodeinfo.owner.contact)
|
|
||||||
|
|
||||||
var td1 = V.h("td", td1Content)
|
var td1 = V.h("td", td1Content)
|
||||||
var td2 = V.h("td", time)
|
var td2 = V.h("td", time)
|
||||||
|
|
||||||
|
@ -282,6 +282,7 @@ table {
|
|||||||
|
|
||||||
.sidebar td:not(:first-child), .sidebar th:not(:first-child) {
|
.sidebar td:not(:first-child), .sidebar th:not(:first-child) {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar a {
|
.sidebar a {
|
||||||
|
Loading…
Reference in New Issue
Block a user