Update default.tpl

Toggle Switch test
This commit is contained in:
nrpatten 2013-09-13 21:56:38 +10:00
parent 29a99edf57
commit 5e873c3d8a

View File

@ -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="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}
<td align="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>
<label for="data[{$WORKERS[worker].id}][monitor]">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>
{/if}
<td align="right">{$WORKERS[worker].hashrate|number_format}</td>