decreased block hash string length
This commit is contained in:
parent
f835ecf348
commit
68e7f66f3d
@ -222,7 +222,7 @@ table td {
|
||||
}
|
||||
|
||||
.th-blockhash {
|
||||
width: 460px;
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
.th-blocktime {
|
||||
|
@ -66,7 +66,7 @@ angular.module('netStatsApp.filters', [])
|
||||
})
|
||||
.filter('hashFilter', function() {
|
||||
return function(hash) {
|
||||
return hash.substr(0, 6) + '...' + hash.substr(58, 6);
|
||||
return hash.substr(0, 8) + '...' + hash.substr(56, 8);
|
||||
}
|
||||
})
|
||||
.filter('timeClass', function() {
|
||||
|
@ -146,7 +146,7 @@ block content
|
||||
td(style="padding-left: 15px;") {{node.stats.pending}}
|
||||
td(class="{{ node.stats.block.number | blockClass : bestBlock }}") {{'#' + node.stats.block.number}}
|
||||
td(class="{{ node.stats.block.number | blockClass : bestBlock }}")
|
||||
span.small {{node.stats.block.hash}}
|
||||
span.small {{node.stats.block.hash | hashFilter}}
|
||||
td(style="padding-left: 14px;") {{node.stats.block.transactions.length || 0}}
|
||||
td(class="{{ node.stats.block.received | timeClass }}") {{node.stats.block.received | blockTimeFilter }}
|
||||
td(class="{{ node.stats.block | propagationTimeClass : bestBlock }}") {{node.stats.block.propagation | blockPropagationFilter}}
|
||||
|
Loading…
Reference in New Issue
Block a user