gray out offline nodes

This commit is contained in:
cubedro 2015-04-09 01:10:06 +03:00
parent 8f8601d122
commit bd224e004a
1 changed files with 2 additions and 2 deletions

View File

@ -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';