gray out offline nodes
This commit is contained in:
parent
8f8601d122
commit
bd224e004a
@ -105,7 +105,7 @@ angular.module('netStatsApp.filters', [])
|
||||
.filter('latencyClass', function() {
|
||||
return function(stats) {
|
||||
if(stats.active === false)
|
||||
return 'text-danger';
|
||||
return 'text-gray';
|
||||
|
||||
if(stats.latency <= 100)
|
||||
return 'text-success';
|
||||
@ -226,7 +226,7 @@ angular.module('netStatsApp.filters', [])
|
||||
function mainClass(node, bestBlock)
|
||||
{
|
||||
if( ! node.active)
|
||||
return 'text-danger';
|
||||
return 'text-gray';
|
||||
|
||||
if(node.peers === 0)
|
||||
return 'text-danger';
|
||||
|
Loading…
Reference in New Issue
Block a user