diff --git a/dist/index.html b/dist/index.html index 7e32983..0bcaf48 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -Ethereum Network Status
best block{{'#'}}{{ bestBlock | number}}
uncles  (current / last 50){{ bestStats.block.uncles.length }}/{{ uncleCount }}
last block{{ lastBlock | blockTimeFilter }}
avg block time{{ avgBlockTime | avgTimeFilter }}
avg network hashrate
difficulty{{ lastDifficulty | number }}
active nodes{{nodesActive}}/{{nodesTotal}}
gas price{{ bestStats.gasPrice.toString() | gasPriceFilter }}
page latency{{latency}} ms
uptime{{ upTimeTotal | upTimeFilter }}
block time
difficulty
block propagation
last blocks miners
{{miner.blocks}}
{{miner.miner | minerNameFilter : miner.name}}
uncle count  (25 blocks per bar)
transactions
gas spending
 
{{node.info.name}} ({{node.info.ip}})
{{node.stats | latencyFilter}}{{node.stats.peers}}{{node.stats.pending}}{{'#'}}{{ node.stats.block.number | number }}{{node.stats.block.hash | hashFilter}}{{node.stats.block.totalDifficulty | number}}{{node.stats.block.transactions.length || 0}}{{node.stats.block.uncles.length || 0}}{{node.stats.block.received | blockTimeFilter }}
{{node.stats.block.propagation | blockPropagationFilter}}
{{ node.stats | blockPropagationAvgFilter : bestBlock }}{{ node.stats.uptime | upTimeFilter }}
\ No newline at end of file +Ethereum Network Status
best block{{'#'}}{{ bestBlock | number}}
uncles (current / last 50){{ bestStats.block.uncles.length }}/{{ uncleCount }}
last block{{ lastBlock | blockTimeFilter }}
avg block time{{ avgBlockTime | avgTimeFilter }}
avg network hashrate
difficulty{{ lastDifficulty | number }}
active nodes{{nodesActive}}/{{nodesTotal}}
gas price{{ bestStats.gasPrice.toString() | gasPriceFilter }}
page latency{{latency}} ms
uptime{{ upTimeTotal | upTimeFilter }}
block time
difficulty
block propagation
last blocks miners
{{miner.blocks}}
{{miner.miner | minerNameFilter : miner.name}}
uncle count (25 blocks per bar)
transactions
gas spending
 
{{node.info.name}} ({{node.info.ip}})
{{node.stats | latencyFilter}}{{node.stats.peers}}{{node.stats.pending}}{{'#'}}{{ node.stats.block.number | number }}{{node.stats.block.hash | hashFilter}}{{node.stats.block.totalDifficulty | number}}{{node.stats.block.transactions.length || 0}}{{node.stats.block.uncles.length || 0}}{{node.stats.block.received | blockTimeFilter }}
{{node.stats.block.propagation | blockPropagationFilter}}
{{ node.stats | blockPropagationAvgFilter : bestBlock }}{{ node.stats.uptime | upTimeFilter }}
\ No newline at end of file diff --git a/views/index.jade b/views/index.jade index 7fd88f4..4781fb6 100644 --- a/views/index.jade +++ b/views/index.jade @@ -1,4 +1,5 @@ -extends layout +//- index.jade +extends ./layout.jade block content div.container-fluid(ng-controller='StatsCtrl') @@ -16,7 +17,7 @@ block content div.pull-left.icon-full-width i.icon-uncle div.big-details-holder - span.small-title uncles #[ ] + span.small-title uncles  span.small (current / last 50) span.big-details {{ bestStats.block.uncles.length }}/{{ uncleCount }} div.clearfix @@ -121,7 +122,7 @@ block content div.col-xs-3.stat-holder div.big-info.chart.text-info //- i.icon-uncle - span.small-title uncle count #[ ] + span.small-title uncle count  span.small (25 blocks per bar) //- span.small-value {{ bestStats.block.uncles.length }}/{{ uncleCount }} sparkchart.big-details.spark-uncles(data="{{uncleCountChart.join(',')}}") @@ -166,7 +167,7 @@ block content i.icon-network(data-toggle="tooltip", data-placement="top", title="Pending transactions", ng-click="orderTable(['-stats.pending'], false)") th i.icon-block(data-toggle="tooltip", data-placement="top", title="Last block", ng-click="orderTable(['-stats.block.number', 'stats.block.propagation'], false)") - th.th-blockhash #[ ] + th.th-blockhash  th.th-blockhash i.icon-difficulty(data-toggle="tooltip", data-placement="top", title="Total difficulty", ng-click="orderTable(['-stats.block.totalDifficulty'], false)") th @@ -188,7 +189,7 @@ block content 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}}") span.small(data-toggle="tooltip", data-placement="top", data-html="true", data-original-title="{{node | geoTooltip}}") {{node.info.name}} - span.small #[ ]({{node.info.ip}}) + span.small ({{node.info.ip}}) a.small(href="https://github.com/ethereum/wiki/wiki/Network-Status#updating", target="_blank", data-toggle="tooltip", data-placement="top", data-html="true", data-original-title="Netstats client needs update.
Click this icon for instructions.", class="{{ node.info | nodeClientClass : currentApiVersion }}") i.icon-warning-o td diff --git a/views/layout.jade b/views/layout.jade index 2b3ec88..4822caa 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -1,3 +1,4 @@ +//- layout.jade doctype html html(ng-app="netStatsApp") head