Merge pull request #78 from cubedro/develop

Moved port in tooltip
This commit is contained in:
Marian OANCΞA 2015-04-17 05:00:36 +03:00
commit da4ec0186e
2 changed files with 7 additions and 1 deletions

View File

@ -253,6 +253,12 @@ angular.module('netStatsApp.filters', [])
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 !== '') {
string = "Network: <b>" + (typeof node.info.net !== 'undefined' ? node.info.net : '-') + "</b>";

View File

@ -136,7 +136,7 @@ block content
tr(ng-repeat='node in nodes | orderBy:predicate:reverse', class="{{ node.stats | mainClass : bestBlock }}")
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 #[&nbsp;]({{node.info.ip}}:{{node.info.port || 30303}})
span.small #[&nbsp;]({{node.info.ip}})
td
div.small(ng-bind-html="node.info.node | nodeVersion")
//- div.small {{node.info.os}}, {{node.info.os_v}}