Update default.tpl

Toggle Switch Test
This commit is contained in:
nrpatten 2013-09-13 22:01:05 +10:00
parent ca780ba164
commit aeb3827b4d

View File

@ -3,9 +3,7 @@
<input type="hidden" name="action" value="{$smarty.request.action}">
<input type="hidden" name="do" value="save">
<article class="module width_quarter">
<header>
<h3>Notification Settings</h3>
</header>
<header><h3>Notification Settings</h3></header>
<div class="module_content">
<table width="100%">
<tr>
@ -14,34 +12,42 @@
</tr>
<tr>
<td align="left">IDLE Worker</td>
<td align="center">
<td>
<label for="data[idle_worker]">
<input type="hidden" name="data[idle_worker]" value="0" />
<input type="checkbox" name="data[idle_worker]" id="data[idle_worker]" value="1"{nocache}{if $SETTINGS['idle_worker']}checked{/if}{/nocache} />
<label for="data[idle_worker]"></label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[idle_worker]" id="data[idle_worker]" value="1"{nocache}{if $SETTINGS['idle_worker']}checked{/if}{/nocache} />
<div class="switch"></div>
</label>
</td>
</tr>
<tr>
<td align="left">New Blocks</td>
<td align="center">
<td>
<label for="data[new_block]">
<input type="hidden" name="data[new_block]" value="0" />
<input type="checkbox" name="data[new_block]" id="data[new_block]" value="1"{nocache}{if $SETTINGS['new_block']}checked{/if}{/nocache} />
<label for="data[new_block]"></label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[new_block]" id="data[new_block]" value="1"{nocache}{if $SETTINGS['new_block']}checked{/if}{/nocache} />
<div class="switch"></div>
</label>
</td>
</tr>
<tr>
<td align="left">Auto Payout</td>
<td align="center">
<td>
<label for="data[auto_payout]">
<input type="hidden" name="data[auto_payout]" value="0" />
<input type="checkbox" name="data[auto_payout]" id="data[auto_payout]" value="1"{nocache}{if $SETTINGS['auto_payout']}checked{/if}{/nocache} />
<label for="data[auto_payout]"></label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[auto_payout]" id="data[auto_payout]" value="1"{nocache}{if $SETTINGS['auto_payout']}checked{/if}{/nocache} />
<div class="switch"></div>
</label>
</td>
</tr>
<tr>
<td align="left">Manual Payout</td>
<td align="center">
<td>
<label for="data[manual_payout]">
<input type="hidden" name="data[manual_payout]" value="0" />
<input type="checkbox" name="data[manual_payout]" id="data[manual_payout]" value="1"{nocache}{if $SETTINGS['manual_payout']}checked{/if}{/nocache} />
<label for="data[manual_payout]"></label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" class="ios-switch" name="data[manual_payout]" id="data[manual_payout]" value="1"{nocache}{if $SETTINGS['manual_payout']}checked{/if}{/nocache} />
<div class="switch"></div>
</label>
</td>
</tr>
</table>
@ -55,11 +61,8 @@
</form>
<article class="module width_3_quarter">
<header>
<h3>Notification History</h3>
<div class="submit_link">{include file="global/pagination.tpl"}</div>
</header>
<table width="100%" class="tablesorterpager" cellspacing="0">
<header><h3>Notification History</h3></header>
<table width="100%" class="tablesorter" cellspacing="0">
<thead style="font-size:13px;">
<tr>
<th align="center" style="cursor: pointer;">ID</th>