Merge pull request #135 from cubedro/develop

Small styling improvement for node pin icons
This commit is contained in:
Marian OANCΞA 2015-05-19 06:21:36 +03:00
commit 7f629127dd
4 changed files with 14 additions and 4 deletions

File diff suppressed because one or more lines are too long

2
dist/index.html vendored

File diff suppressed because one or more lines are too long

View File

@ -283,6 +283,16 @@ table td.peerPropagationChart {
padding: 5px; padding: 5px;
} }
.th-nodecheck,
.td-nodecheck {
width: 38px;
text-align: center;
}
.td-nodecheck i {
left: 0px;
}
.th-nodename { .th-nodename {
width: 300px; width: 300px;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -423,7 +433,7 @@ svg .line {
stroke-linejoin: round; stroke-linejoin: round;
stroke-linecap: round; stroke-linecap: round;
shape-rendering: geometric-precision; shape-rendering: geometric-precision;
-webkit-svg-shadow: 0 0 7px #fff; /*-webkit-svg-shadow: 0 0 7px #fff;*/
} }
svg .bar text { svg .bar text {

View File

@ -183,7 +183,7 @@ block content
i.icon-bulb(data-toggle="tooltip", data-placement="top", title="Up-time", ng-click="orderTable(['-stats.uptime'], false)") i.icon-bulb(data-toggle="tooltip", data-placement="top", title="Up-time", ng-click="orderTable(['-stats.uptime'], false)")
tbody(ng-cloak) tbody(ng-cloak)
tr(ng-repeat='node in nodes | orderBy:predicate', class="{{ node.stats | mainClass : bestBlock }}") tr(ng-repeat='node in nodes | orderBy:predicate', class="{{ node.stats | mainClass : bestBlock }}")
td td.td-nodecheck
i(ng-click="node.pinned = !node.pinned", class="{{ node.pinned | nodePinClass }}", data-toggle="tooltip", data-placement="right", data-original-title="Click to {{ node.pinned ? 'un' : '' }}pin") i(ng-click="node.pinned = !node.pinned", class="{{ node.pinned | nodePinClass }}", data-toggle="tooltip", data-placement="right", data-original-title="Click to {{ node.pinned ? 'un' : '' }}pin")
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}}