1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-24 21:44:38 +00:00

miner.php highlight any Status that isn't 'Alive'

This commit is contained in:
Kano 2012-04-18 20:55:20 +10:00
parent c52b55e244
commit 39eeca263e

View File

@ -304,6 +304,13 @@ function fmt($section, $name, $value)
$dec = '.'.$parts[1];
$ret = number_format($parts[0]).$dec;
break;
case 'GPU.Status':
case 'PGA.Status':
case 'POOL.Status':
if ($value != 'Alive')
$class = $errorclass;
break;
}
if ($section == 'NOTIFY' && substr($name, 0, 1) == '*' && $value != '0')