diff --git a/public/site_assets/bootstrap/js/mpos.js b/public/site_assets/bootstrap/js/mpos.js index de552279..3943e033 100755 --- a/public/site_assets/bootstrap/js/mpos.js +++ b/public/site_assets/bootstrap/js/mpos.js @@ -17,7 +17,12 @@ $(function() { }) }) -// Make all table with "datatable" class a datatable +// Several JS Glocal Classes $(document).ready(function() { - $('.datatable').dataTable(); -}); \ No newline at end of file + // Make all tables with database class sortable + $('.datatable').dataTable(); + + // Bootstrap iOS style switches for checkboxes with switch class + $('.switch').bootstrapSwitch(); +}); + diff --git a/public/templates/bootstrap/account/workers/default.tpl b/public/templates/bootstrap/account/workers/default.tpl index 9444a94d..1f99f56f 100755 --- a/public/templates/bootstrap/account/workers/default.tpl +++ b/public/templates/bootstrap/account/workers/default.tpl @@ -65,8 +65,7 @@ {if $GLOBAL.config.disable_notifications != 1} - - + {/if} {$WORKERS[worker].hashrate|number_format} @@ -85,8 +84,4 @@ - - - \ No newline at end of file + \ No newline at end of file