Merge branch 'bootstrap' of https://github.com/MPOS/php-mpos into bootstrap

This commit is contained in:
iAmShorty 2014-03-01 23:53:16 +01:00
commit d6443665ff
2 changed files with 13 additions and 6 deletions

View File

@ -66,9 +66,7 @@
<td> <td>
<input type="hidden" name="data[{$WORKERS[worker].id}][monitor]" value="0" /> <input type="hidden" name="data[{$WORKERS[worker].id}][monitor]" value="0" />
<input type="checkbox" data-size="small" name="data[{$WORKERS[worker].id}][monitor]" id="data[{$WORKERS[worker].id}][monitor]" value="1" {if $WORKERS[worker].monitor}checked{/if}/> <input type="checkbox" data-size="small" name="data[{$WORKERS[worker].id}][monitor]" id="data[{$WORKERS[worker].id}][monitor]" value="1" {if $WORKERS[worker].monitor}checked{/if}/>
<script>
$("[id='data[{$WORKERS[worker].id}][monitor]']").bootstrapSwitch();
</script>
</td> </td>
{/if} {/if}
<td class="text-right">{$WORKERS[worker].hashrate|number_format}</td> <td class="text-right">{$WORKERS[worker].hashrate|number_format}</td>
@ -83,3 +81,12 @@
<div class="panel-footer"> <div class="panel-footer">
<input type="submit" class="btn btn-success" value="Update Workers"> <input type="submit" class="btn btn-success" value="Update Workers">
</div> </div>
</div>
</form>
</div>
</div>
</div>
<script>
$("[id='data[{$WORKERS[worker].id}][monitor]']").bootstrapSwitch();
</script>

0
public/templates/bootstrap/master.tpl Normal file → Executable file
View File