moved port in tooltip
This commit is contained in:
parent
278710246a
commit
fdb21c0cbd
@ -253,6 +253,12 @@ angular.module('netStatsApp.filters', [])
|
|||||||
tooltip.push(string);
|
tooltip.push(string);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(node.info.port !== '') {
|
||||||
|
string = "Port: <b>" + (typeof node.info.port !== 'undefined' ? node.info.port : '30303') + "</b>";
|
||||||
|
|
||||||
|
tooltip.push(string);
|
||||||
|
}
|
||||||
|
|
||||||
if(node.info.net !== '') {
|
if(node.info.net !== '') {
|
||||||
string = "Network: <b>" + (typeof node.info.net !== 'undefined' ? node.info.net : '-') + "</b>";
|
string = "Network: <b>" + (typeof node.info.net !== 'undefined' ? node.info.net : '-') + "</b>";
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ block content
|
|||||||
tr(ng-repeat='node in nodes | orderBy:predicate:reverse', class="{{ node.stats | mainClass : bestBlock }}")
|
tr(ng-repeat='node in nodes | orderBy:predicate:reverse', class="{{ node.stats | mainClass : bestBlock }}")
|
||||||
td.nodeInfo(rel="{{node.id}}")
|
td.nodeInfo(rel="{{node.id}}")
|
||||||
span.small(data-toggle="tooltip", data-placement="top", data-html="true", data-original-title="{{node | geoTooltip}}") {{node.info.name}}
|
span.small(data-toggle="tooltip", data-placement="top", data-html="true", data-original-title="{{node | geoTooltip}}") {{node.info.name}}
|
||||||
span.small #[ ]({{node.info.ip}}:{{node.info.port || 30303}})
|
span.small #[ ]({{node.info.ip}})
|
||||||
td
|
td
|
||||||
div.small(ng-bind-html="node.info.node | nodeVersion")
|
div.small(ng-bind-html="node.info.node | nodeVersion")
|
||||||
//- div.small {{node.info.os}}, {{node.info.os_v}}
|
//- div.small {{node.info.os}}, {{node.info.os_v}}
|
||||||
|
Loading…
Reference in New Issue
Block a user