Update default.tpl
Toggle Switch test
This commit is contained in:
parent
29a99edf57
commit
5e873c3d8a
@ -49,9 +49,11 @@
|
|||||||
<td align="left"><input type="text" name="data[{$WORKERS[worker].id}][password]" value="{$WORKERS[worker].password|escape}" size="10" required></td>
|
<td align="left"><input type="text" name="data[{$WORKERS[worker].id}][password]" value="{$WORKERS[worker].password|escape}" size="10" required></td>
|
||||||
<td align="center"><img src="{$PATH}/images/{if $WORKERS[worker].hashrate > 0}icn_alert_success{else}icn_alert_error{/if}.png" /></td>
|
<td align="center"><img src="{$PATH}/images/{if $WORKERS[worker].hashrate > 0}icn_alert_success{else}icn_alert_error{/if}.png" /></td>
|
||||||
{if $GLOBAL.config.disable_notifications != 1}
|
{if $GLOBAL.config.disable_notifications != 1}
|
||||||
<td align="center">
|
<td>
|
||||||
<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 for="data[{$WORKERS[worker].id}][monitor]"></label>
|
<input type="checkbox" class="ios-switch" name="data[{$WORKERS[worker].id}][monitor]" value="1" id="data[{$WORKERS[worker].id}][monitor]" {if $WORKERS[worker].monitor}checked{/if} />
|
||||||
|
<div class="switch"></div>
|
||||||
|
</label>
|
||||||
</td>
|
</td>
|
||||||
{/if}
|
{/if}
|
||||||
<td align="right">{$WORKERS[worker].hashrate|number_format}</td>
|
<td align="right">{$WORKERS[worker].hashrate|number_format}</td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user