moved port in tooltip

This commit is contained in:
cubedro 2015-04-17 05:00:22 +03:00
parent 278710246a
commit fdb21c0cbd
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}}