remove worker monitoring if notifications are disabled
This commit is contained in:
parent
760f1a679e
commit
4f46e9f781
@ -10,7 +10,7 @@
|
||||
<td>Worker Name</td>
|
||||
<td>Password</td>
|
||||
<td class="center">Active</td>
|
||||
<td class="center">Monitor</td>
|
||||
{if $GLOBAL.config.disable_notifications != 1}<td class="center">Monitor</td>{/if}
|
||||
<td class="right">Khash/s</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
@ -22,10 +22,12 @@
|
||||
<td{if $WORKERS[worker].active} style="color: orange"{/if}>{$username.0|escape}.<input name="data[{$WORKERS[worker].id}][username]" value="{$username.1|escape}" size="10" required/></td>
|
||||
<td><input type="text" name="data[{$WORKERS[worker].id}][password]" value="{$WORKERS[worker].password|escape}" size="10" required></td>
|
||||
<td class="center"><img src="{$PATH}/images/{if $WORKERS[worker].active}success{else}error{/if}.gif" /></td>
|
||||
{if $GLOBAL.config.disable_notifications != 1}
|
||||
<td class="center">
|
||||
<input type="checkbox" name="data[{$WORKERS[worker].id}][monitor]" value="1" id="data[{$WORKERS[worker].id}][monitor]" {if $WORKERS[worker].monitor}checked{/if} />
|
||||
<label for="data[{$WORKERS[worker].id}][monitor]"></label>
|
||||
</td>
|
||||
{/if}
|
||||
<td class="right">{$WORKERS[worker].hashrate|number_format}</td>
|
||||
<td align="right"><a href="{$smarty.server.PHP_SELF}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&do=delete&id={$WORKERS[worker].id|escape}"><button style="padding:5px" type="button">Delete</button></a></td>
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user