2014-12-03 04:08:49 +01:00
|
|
|
extends layout
|
|
|
|
|
|
|
|
block content
|
2015-01-20 19:29:31 +01:00
|
|
|
div.container-fluid(ng-controller='StatsCtrl')
|
2015-04-17 14:30:28 +02:00
|
|
|
div.page-latency(ng-cloak)
|
2015-04-06 07:33:01 +02:00
|
|
|
span.small-title page latency:#[ ]
|
|
|
|
span(class="{{ {active: true, latency: latency} | latencyClass }}") {{latency}} ms
|
2015-03-06 22:22:03 +01:00
|
|
|
div.row(ng-cloak)
|
2015-04-06 01:28:42 +02:00
|
|
|
div.col-xs-2.stat-holder
|
|
|
|
div.big-info.nodesactive(class="{{ nodesActive | nodesActiveClass : nodesTotal }}")
|
|
|
|
div.pull-left.icon-full-width
|
|
|
|
i.icon-node
|
|
|
|
div.pull-left
|
|
|
|
span.small-title active nodes
|
|
|
|
span.big-details {{nodesActive}}/{{nodesTotal}}
|
|
|
|
div.clearfix
|
|
|
|
div.col-xs-2.stat-holder
|
2015-04-24 07:13:28 +02:00
|
|
|
div.big-info.uncleCount(class="{{ uncleCount | upTimeClass : true }}")
|
2015-04-06 01:28:42 +02:00
|
|
|
div.pull-left.icon-full-width
|
2015-04-24 07:13:28 +02:00
|
|
|
i.icon-uncle
|
2015-04-06 01:28:42 +02:00
|
|
|
div.pull-left
|
2015-04-24 07:13:28 +02:00
|
|
|
span.small-title uncles #[ ]
|
|
|
|
span.small (last 50 blocks)
|
|
|
|
span.big-details {{ uncleCount }}
|
2015-04-06 01:28:42 +02:00
|
|
|
div.clearfix
|
2015-04-24 07:13:28 +02:00
|
|
|
//- div.col-xs-2.stat-holder
|
|
|
|
//- div.big-info.uptime(class="{{ upTimeTotal | upTimeClass : true }}")
|
|
|
|
//- div.pull-left.icon-full-width
|
|
|
|
//- i.icon-bulb
|
|
|
|
//- div.pull-left
|
|
|
|
//- span.small-title up-time
|
|
|
|
//- span.big-details {{ upTimeTotal | upTimeFilter }}
|
|
|
|
//- div.clearfix
|
2015-04-06 01:28:42 +02:00
|
|
|
div.col-xs-2.stat-holder
|
|
|
|
div.big-info.difficulty.text-info
|
|
|
|
div.pull-left.icon-full-width
|
|
|
|
i.icon-difficulty
|
|
|
|
div.pull-left
|
|
|
|
span.small-title difficulty
|
2015-04-17 14:27:05 +02:00
|
|
|
span.big-details {{ lastDifficulty | number }}
|
2015-04-06 01:28:42 +02:00
|
|
|
div.clearfix
|
|
|
|
div.col-xs-2.stat-holder
|
|
|
|
div.big-info.bestblock.text-info
|
|
|
|
div.pull-left.icon-full-width
|
|
|
|
i.icon-block
|
|
|
|
div.pull-left
|
|
|
|
span.small-title best block
|
2015-04-17 14:27:05 +02:00
|
|
|
span.big-details {{'#'}}{{ bestBlock | number}}
|
2015-04-06 01:28:42 +02:00
|
|
|
div.clearfix
|
|
|
|
div.col-xs-2.stat-holder
|
2015-04-09 00:48:27 +02:00
|
|
|
div.big-info.blocktime(class="{{ lastBlock | timeClass : true }}")
|
2015-04-06 01:28:42 +02:00
|
|
|
div.pull-left.icon-full-width
|
|
|
|
i.icon-time
|
|
|
|
div.pull-left
|
|
|
|
span.small-title last block
|
|
|
|
span.big-details {{ lastBlock | blockTimeFilter }}
|
|
|
|
div.clearfix
|
|
|
|
div.col-xs-2.stat-holder
|
2015-04-06 12:47:11 +02:00
|
|
|
div.big-info.avgblocktime(class="{{ avgBlockTime | avgTimeClass }}")
|
2015-04-06 01:28:42 +02:00
|
|
|
div.pull-left.icon-full-width
|
|
|
|
i.icon-gas
|
|
|
|
div.pull-left
|
|
|
|
span.small-title avg block time
|
|
|
|
span.big-details {{ avgBlockTime | avgTimeFilter }}
|
|
|
|
div.clearfix
|
2015-01-20 19:29:31 +01:00
|
|
|
|
2015-04-06 01:28:42 +02:00
|
|
|
div.clearfix
|
2015-01-20 19:29:31 +01:00
|
|
|
|
2015-04-17 12:19:53 +02:00
|
|
|
div.row(ng-cloak)
|
2015-04-17 11:10:20 +02:00
|
|
|
div.col-xs-6.stats-boxes(style="padding-top: 30px;")
|
2015-03-28 00:27:40 +01:00
|
|
|
div.row
|
2015-04-17 11:10:20 +02:00
|
|
|
div.col-xs-4.stat-holder
|
2015-04-06 01:28:42 +02:00
|
|
|
div.big-info.chart
|
|
|
|
span.small-title block time
|
|
|
|
span.big-details.spark-blocktimes
|
2015-03-06 22:22:03 +01:00
|
|
|
|
2015-04-17 11:10:20 +02:00
|
|
|
div.col-xs-4.stat-holder
|
2015-04-06 01:28:42 +02:00
|
|
|
div.big-info.chart
|
|
|
|
span.small-title difficulty
|
|
|
|
span.big-details.spark-difficulty
|
2015-03-06 22:22:03 +01:00
|
|
|
|
2015-04-23 15:17:31 +02:00
|
|
|
div.col-xs-4.stat-holder.pull-right
|
2015-04-24 05:23:26 +02:00
|
|
|
div.big-info.chart.xdouble-chart
|
2015-04-23 15:17:31 +02:00
|
|
|
span.small-title block propagation
|
|
|
|
histogram.big-details.d3-blockpropagation(data="blockPropagationChart")
|
|
|
|
|
2015-04-24 05:23:26 +02:00
|
|
|
div.col-xs-4.stat-holder
|
|
|
|
div.big-info.chart
|
2015-04-24 05:37:52 +02:00
|
|
|
span.small-title uncle count #[ ]
|
|
|
|
span.small (25 blocks per bar)
|
2015-04-24 05:23:26 +02:00
|
|
|
span.big-details.spark-uncles
|
|
|
|
|
2015-04-17 11:10:20 +02:00
|
|
|
div.col-xs-4.stat-holder
|
2015-04-06 01:28:42 +02:00
|
|
|
div.big-info.chart
|
|
|
|
span.small-title transactions
|
|
|
|
span.big-details.spark-transactions
|
2015-03-28 00:27:40 +01:00
|
|
|
|
2015-04-17 11:10:20 +02:00
|
|
|
div.col-xs-4.stat-holder
|
2015-04-06 01:28:42 +02:00
|
|
|
div.big-info.chart
|
|
|
|
span.small-title gas spending
|
|
|
|
span.big-details.spark-gasspending
|
2015-03-28 19:07:15 +01:00
|
|
|
|
2015-04-06 01:28:42 +02:00
|
|
|
div.col-xs-2.stats-boxes(style="padding-top: 30px;")
|
|
|
|
div.row
|
|
|
|
div.col-xs-12.stat-holder
|
|
|
|
div.big-info.chart.double-chart
|
|
|
|
span.small-title last blocks miners
|
|
|
|
div.blocks-holder(ng-repeat='miner in miners', data-toggle="tooltip", data-placement="right", title="{{miner.blocks}}")
|
2015-04-17 03:10:08 +02:00
|
|
|
div.block-count(class="{{miner.blocks | minerBlocksClass : 'text-'}}") {{miner.blocks}}
|
2015-04-06 20:10:27 +02:00
|
|
|
div.small-title-miner {{miner.miner | minerNameFilter : miner.name}}
|
2015-04-06 01:28:42 +02:00
|
|
|
div.block(ng-repeat="i in getNumber(miner.blocks) track by $index", class="{{miner.blocks | minerBlocksClass}}")
|
|
|
|
div.clearfix
|
|
|
|
|
|
|
|
div.col-xs-4
|
|
|
|
div.col-xs-12
|
|
|
|
nodemap#mapHolder(data="map")
|
2015-01-20 19:29:31 +01:00
|
|
|
|
|
|
|
div.clearfix
|
|
|
|
|
2015-04-23 22:05:22 +02:00
|
|
|
div.row(ng-cloak)
|
|
|
|
div.col-xs-12
|
|
|
|
div.row
|
|
|
|
table.table.table-striped
|
|
|
|
thead
|
|
|
|
tr.text-info
|
|
|
|
th.th-nodename
|
|
|
|
i.icon-node(data-toggle="tooltip", data-placement="top", title="Node name", ng-click="orderTable(['-stats.active', 'info.name'], false)")
|
|
|
|
th.th-nodetype
|
|
|
|
i.icon-laptop(data-toggle="tooltip", data-placement="top", title="Node type", ng-click="orderTable(['-stats.active', 'info.node'], false)")
|
|
|
|
th.th-latency
|
|
|
|
i.icon-clock(data-toggle="tooltip", data-placement="top", title="Node latency", ng-click="orderTable(['-stats.active', 'stats.latency'], false)")
|
|
|
|
th
|
|
|
|
i.icon-mining(data-toggle="tooltip", data-placement="top", title="Is mining", ng-click="orderTable(['-stats.active', '-stats.mining'], false)")
|
2015-04-24 00:38:09 +02:00
|
|
|
th
|
2015-04-24 00:40:47 +02:00
|
|
|
i.icon-mining(data-toggle="tooltip", data-placement="top", title="Hashrate", ng-click="orderTable(['-stats.active', '-stats.mining', '-stats.hashrate'], false)")
|
2015-04-23 22:05:22 +02:00
|
|
|
th
|
|
|
|
i.icon-group(data-toggle="tooltip", data-placement="top", title="Peers", ng-click="orderTable(['-stats.active', '-stats.peers'], false)")
|
|
|
|
th
|
|
|
|
i.icon-network(data-toggle="tooltip", data-placement="top", title="Pending transactions", ng-click="orderTable(['-stats.active', '-stats.pending'], false)")
|
|
|
|
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)")
|
|
|
|
th.th-blockhash #[ ]
|
|
|
|
th
|
|
|
|
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-blocktime
|
|
|
|
i.icon-time(data-toggle="tooltip", data-placement="top", title="Last block time", ng-click="orderTable(['-stats.active', '-stats.block.received'], false)")
|
|
|
|
th.th-peerPropagationTime
|
|
|
|
i.icon-gas(data-toggle="tooltip", data-placement="top", title="Propagation time", ng-click="orderTable(['-stats.active', '-stats.block.number', 'stats.block.propagation'], false)")
|
|
|
|
th.th-peerPropagationChart
|
|
|
|
th
|
|
|
|
i.icon-bulb(data-toggle="tooltip", data-placement="top", title="Up-time", ng-click="orderTable(['-stats.active', '-stats.uptime'], false)")
|
|
|
|
tbody(ng-cloak)
|
|
|
|
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 #[ ]({{node.info.ip}})
|
|
|
|
td
|
|
|
|
div.small(ng-bind-html="node.info.node | nodeVersion")
|
2015-04-24 00:51:53 +02:00
|
|
|
td(class="{{ node.stats | latencyClass }}")
|
|
|
|
span.small {{node.stats | latencyFilter}}
|
2015-04-23 22:05:22 +02:00
|
|
|
td(class="{{ node.stats.mining | miningClass : node.stats.active }}")
|
|
|
|
i(class="{{ node.stats.mining | miningIconClass }}")
|
2015-04-24 00:51:53 +02:00
|
|
|
td(class="{{ node.stats.mining | hashpowerClass }}")
|
|
|
|
span.small {{node.stats.hashrate | hashrateFilter}} kH/s
|
2015-04-23 22:05:22 +02:00
|
|
|
td(class="{{ node.stats.peers | peerClass : node.stats.active }}", style="padding-left: 11px;") {{node.stats.peers}}
|
|
|
|
td(style="padding-left: 15px;") {{node.stats.pending}}
|
|
|
|
td(class="{{ node.stats | blockClass : bestBlock }}") {{'#'}}{{ node.stats.block.number | number }}
|
|
|
|
td(class="{{ node.stats | blockClass : bestBlock }}")
|
|
|
|
span.small {{node.stats.block.hash | hashFilter}}
|
|
|
|
td(style="padding-left: 14px;") {{node.stats.block.transactions.length || 0}}
|
|
|
|
td(class="{{ node.stats.block.arrived | timeClass : node.stats.active }}") {{node.stats.block.arrived | blockTimeFilter }}
|
|
|
|
td(class="{{ node.stats | propagationTimeClass : bestBlock }}")
|
|
|
|
div.propagationBox
|
|
|
|
span {{node.stats.block.propagation | blockPropagationFilter}}
|
|
|
|
td.peerPropagationChart(class="{{node.id}}")
|
|
|
|
td(class="{{ node.stats.uptime | upTimeClass : node.stats.active }}") {{ node.stats.uptime | upTimeFilter }}
|