user wallet: move hashrate graph above miners

help when using fleet of miners...

also show the workers IP to the admin
This commit is contained in:
Tanguy Pruvot 2017-07-26 21:28:22 +02:00
parent 48b76054f6
commit f47ec6dd60
2 changed files with 4 additions and 2 deletions

View file

@ -80,6 +80,7 @@ if(count($workers))
echo "<thead>";
echo "<tr>";
echo "<th align=left>Details</th>";
if ($this->admin) echo "<th>IP</th>";
echo "<th align=left>Extra</th>";
echo "<th align=left>Algo</th>";
echo "<th align=right>Diff</th>";
@ -108,6 +109,7 @@ if(count($workers))
echo '<tr class="ssrow">';
echo '<td title="'.$worker->version.'">'.$version.'</td>';
if ($this->admin) echo "<td>{$worker->ip}</td>";
echo '<td title="'.$worker->password.'">'.$password.'</td>';
echo '<td>'.$worker->algo.'</td>';
echo '<td align="right">'.$worker->difficulty.'</td>';

View file

@ -81,14 +81,14 @@ if($user) echo <<<END
END;
if($user) echo <<<END
<div id='main_miners_results'>
<div id='main_graphs_results'>
<br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br>
</div>
END;
if($user) echo <<<END
<div id='main_graphs_results'>
<div id='main_miners_results'>
<br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br>
</div>