|
|
@ -904,13 +904,14 @@ function doOne($rig, $preprocess) |
|
|
|
echo "<input type=button value='Refresh' onclick='pr(\"?rig=$rig\",null)'></td>"; |
|
|
|
echo "<input type=button value='Refresh' onclick='pr(\"?rig=$rig\",null)'></td>"; |
|
|
|
if (count($rigs) > 1) |
|
|
|
if (count($rigs) > 1) |
|
|
|
echo "<td><input type=button value='Summary' onclick='pr(\"\",null)'></td>"; |
|
|
|
echo "<td><input type=button value='Summary' onclick='pr(\"\",null)'></td>"; |
|
|
|
echo "<td width=100%> </td><td>"; |
|
|
|
echo "<td width=100%> </td><td nowrap>"; |
|
|
|
if ($readonly === false) |
|
|
|
if ($readonly === false) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$msg = 'Quit CGMiner'; |
|
|
|
$rg = ''; |
|
|
|
if (count($rigs) > 1) |
|
|
|
if (count($rigs) > 1) |
|
|
|
$msg .= " Rig $rig"; |
|
|
|
$rg .= " Rig $rig"; |
|
|
|
echo "<input type=button value='Quit' onclick='prc(\"quit&rig=$rig\",\"$msg\")'>"; |
|
|
|
echo "<input type=button value='Restart' onclick='prc(\"restart&rig=$rig\",\"Restart CGMiner$rg\")'>"; |
|
|
|
|
|
|
|
echo " <input type=button value='Quit' onclick='prc(\"quit&rig=$rig\",\"Quit CGMiner$rg\")'>"; |
|
|
|
} |
|
|
|
} |
|
|
|
echo "</td></tr></table></td></tr>"; |
|
|
|
echo "</td></tr></table></td></tr>"; |
|
|
|
|
|
|
|
|
|
|
|