moved table higher
This commit is contained in:
parent
aae629532e
commit
dfaed30cab
@ -85,8 +85,8 @@ table td {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.big-info {
|
.big-info {
|
||||||
padding-bottom: 15px;
|
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
|
padding-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.big-info .icon-full-width i {
|
.big-info .icon-full-width i {
|
||||||
@ -193,6 +193,10 @@ div.small-title-miner {
|
|||||||
opacity: .8;
|
opacity: .8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tableHolder {
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
table i {
|
table i {
|
||||||
-webkit-font-smoothing: subpixel-antialiased;
|
-webkit-font-smoothing: subpixel-antialiased;
|
||||||
-moz-font-smoothing: subpixel-antialiased;
|
-moz-font-smoothing: subpixel-antialiased;
|
||||||
@ -272,7 +276,6 @@ table td.peerPropagationChart {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
margin: 10px auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#mapHolder > svg {
|
#mapHolder > svg {
|
||||||
|
104
views/index.jade
104
views/index.jade
@ -102,54 +102,56 @@ block content
|
|||||||
|
|
||||||
div.clearfix
|
div.clearfix
|
||||||
|
|
||||||
div.row
|
div.row(ng-cloak)
|
||||||
table.table.table-striped
|
div.col-xs-12
|
||||||
thead
|
div.row
|
||||||
tr.text-info
|
table.table.table-striped
|
||||||
th.th-nodename
|
thead
|
||||||
i.icon-node(data-toggle="tooltip", data-placement="top", title="Node name", ng-click="orderTable(['-stats.active', 'info.name'], false)")
|
tr.text-info
|
||||||
th.th-nodetype
|
th.th-nodename
|
||||||
i.icon-laptop(data-toggle="tooltip", data-placement="top", title="Node type", ng-click="orderTable(['-stats.active', 'info.node'], false)")
|
i.icon-node(data-toggle="tooltip", data-placement="top", title="Node name", ng-click="orderTable(['-stats.active', 'info.name'], false)")
|
||||||
th.th-latency
|
th.th-nodetype
|
||||||
i.icon-clock(data-toggle="tooltip", data-placement="top", title="Node latency", ng-click="orderTable(['-stats.active', 'stats.latency'], false)")
|
i.icon-laptop(data-toggle="tooltip", data-placement="top", title="Node type", ng-click="orderTable(['-stats.active', 'info.node'], false)")
|
||||||
th
|
th.th-latency
|
||||||
i.icon-mining(data-toggle="tooltip", data-placement="top", title="Is mining", ng-click="orderTable(['-stats.active', '-stats.mining'], false)")
|
i.icon-clock(data-toggle="tooltip", data-placement="top", title="Node latency", ng-click="orderTable(['-stats.active', 'stats.latency'], false)")
|
||||||
th
|
th
|
||||||
i.icon-group(data-toggle="tooltip", data-placement="top", title="Peers", ng-click="orderTable(['-stats.active', '-stats.peers'], false)")
|
i.icon-mining(data-toggle="tooltip", data-placement="top", title="Is mining", ng-click="orderTable(['-stats.active', '-stats.mining'], false)")
|
||||||
th
|
th
|
||||||
i.icon-network(data-toggle="tooltip", data-placement="top", title="Pending transactions", ng-click="orderTable(['-stats.active', '-stats.pending'], false)")
|
i.icon-group(data-toggle="tooltip", data-placement="top", title="Peers", ng-click="orderTable(['-stats.active', '-stats.peers'], false)")
|
||||||
th
|
th
|
||||||
i.icon-block(data-toggle="tooltip", data-placement="top", title="Last block", ng-click="orderTable(['-stats.active', '-stats.block.number', 'stats.block.propagation'], false)")
|
i.icon-network(data-toggle="tooltip", data-placement="top", title="Pending transactions", ng-click="orderTable(['-stats.active', '-stats.pending'], false)")
|
||||||
th.th-blockhash #[ ]
|
th
|
||||||
th
|
i.icon-block(data-toggle="tooltip", data-placement="top", title="Last block", ng-click="orderTable(['-stats.active', '-stats.block.number', 'stats.block.propagation'], false)")
|
||||||
i.icon-check-o(data-toggle="tooltip", data-placement="top", title="Block transactions", ng-click="orderTable(['-stats.active', '-stats.block.transactions.length'], false)")
|
th.th-blockhash #[ ]
|
||||||
th.th-blocktime
|
th
|
||||||
i.icon-time(data-toggle="tooltip", data-placement="top", title="Last block time", ng-click="orderTable(['-stats.active', '-stats.block.received'], false)")
|
i.icon-check-o(data-toggle="tooltip", data-placement="top", title="Block transactions", ng-click="orderTable(['-stats.active', '-stats.block.transactions.length'], false)")
|
||||||
th.th-peerPropagationTime
|
th.th-blocktime
|
||||||
i.icon-gas(data-toggle="tooltip", data-placement="top", title="Propagation time", ng-click="orderTable(['-stats.active', '-stats.block.number', 'stats.block.propagation'], false)")
|
i.icon-time(data-toggle="tooltip", data-placement="top", title="Last block time", ng-click="orderTable(['-stats.active', '-stats.block.received'], false)")
|
||||||
th.th-peerPropagationChart
|
th.th-peerPropagationTime
|
||||||
th
|
i.icon-gas(data-toggle="tooltip", data-placement="top", title="Propagation time", ng-click="orderTable(['-stats.active', '-stats.block.number', 'stats.block.propagation'], false)")
|
||||||
i.icon-bulb(data-toggle="tooltip", data-placement="top", title="Up-time", ng-click="orderTable(['-stats.active', '-stats.uptime'], false)")
|
th.th-peerPropagationChart
|
||||||
tbody(ng-cloak)
|
th
|
||||||
tr(ng-repeat='node in nodes | orderBy:predicate:reverse', class="{{ node.stats | mainClass : bestBlock }}")
|
i.icon-bulb(data-toggle="tooltip", data-placement="top", title="Up-time", ng-click="orderTable(['-stats.active', '-stats.uptime'], false)")
|
||||||
td.nodeInfo(rel="{{node.id}}")
|
tbody(ng-cloak)
|
||||||
span.small(data-toggle="tooltip", data-placement="top", data-html="true", data-original-title="{{node | geoTooltip}}") {{node.info.name}}
|
tr(ng-repeat='node in nodes | orderBy:predicate:reverse', class="{{ node.stats | mainClass : bestBlock }}")
|
||||||
span.small #[ ]({{node.info.ip}})
|
td.nodeInfo(rel="{{node.id}}")
|
||||||
td
|
span.small(data-toggle="tooltip", data-placement="top", data-html="true", data-original-title="{{node | geoTooltip}}") {{node.info.name}}
|
||||||
div.small(ng-bind-html="node.info.node | nodeVersion")
|
span.small #[ ]({{node.info.ip}})
|
||||||
//- div.small {{node.info.os}}, {{node.info.os_v}}
|
td
|
||||||
td.small(class="{{ node.stats | latencyClass }}") {{node.stats | latencyFilter}}
|
div.small(ng-bind-html="node.info.node | nodeVersion")
|
||||||
td(class="{{ node.stats.mining | miningClass : node.stats.active }}")
|
//- div.small {{node.info.os}}, {{node.info.os_v}}
|
||||||
i(class="{{ node.stats.mining | miningIconClass }}")
|
td.small(class="{{ node.stats | latencyClass }}") {{node.stats | latencyFilter}}
|
||||||
td(class="{{ node.stats.peers | peerClass : node.stats.active }}", style="padding-left: 11px;") {{node.stats.peers}}
|
td(class="{{ node.stats.mining | miningClass : node.stats.active }}")
|
||||||
td(style="padding-left: 15px;") {{node.stats.pending}}
|
i(class="{{ node.stats.mining | miningIconClass }}")
|
||||||
td(class="{{ node.stats | blockClass : bestBlock }}") {{'#'}}{{ node.stats.block.number | number }}
|
td(class="{{ node.stats.peers | peerClass : node.stats.active }}", style="padding-left: 11px;") {{node.stats.peers}}
|
||||||
td(class="{{ node.stats | blockClass : bestBlock }}")
|
td(style="padding-left: 15px;") {{node.stats.pending}}
|
||||||
span.small {{node.stats.block.hash | hashFilter}}
|
td(class="{{ node.stats | blockClass : bestBlock }}") {{'#'}}{{ node.stats.block.number | number }}
|
||||||
td(style="padding-left: 14px;") {{node.stats.block.transactions.length || 0}}
|
td(class="{{ node.stats | blockClass : bestBlock }}")
|
||||||
td(class="{{ node.stats.block.arrived | timeClass : node.stats.active }}") {{node.stats.block.arrived | blockTimeFilter }}
|
span.small {{node.stats.block.hash | hashFilter}}
|
||||||
td(class="{{ node.stats | propagationTimeClass : bestBlock }}")
|
td(style="padding-left: 14px;") {{node.stats.block.transactions.length || 0}}
|
||||||
div.propagationBox
|
td(class="{{ node.stats.block.arrived | timeClass : node.stats.active }}") {{node.stats.block.arrived | blockTimeFilter }}
|
||||||
span {{node.stats.block.propagation | blockPropagationFilter}}
|
td(class="{{ node.stats | propagationTimeClass : bestBlock }}")
|
||||||
td.peerPropagationChart(class="{{node.id}}")
|
div.propagationBox
|
||||||
td(class="{{ node.stats.uptime | upTimeClass : node.stats.active }}") {{ node.stats.uptime | upTimeFilter }}
|
span {{node.stats.block.propagation | blockPropagationFilter}}
|
||||||
|
td.peerPropagationChart(class="{{node.id}}")
|
||||||
|
td(class="{{ node.stats.uptime | upTimeClass : node.stats.active }}") {{ node.stats.uptime | upTimeFilter }}
|
||||||
|
Loading…
Reference in New Issue
Block a user