Merge branch 'bootstrap' of https://github.com/MPOS/php-mpos into bootstrap
This commit is contained in:
commit
d6443665ff
@ -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
0
public/templates/bootstrap/master.tpl
Normal file → Executable file
Loading…
Reference in New Issue
Block a user