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:
parent
c52b55e244
commit
39eeca263e
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user