xt/javascript">
$(function() {
    var $table = $('table#pools')

    $table.on('load-success.bs.table', function (e, data) {
        $.getJSON("/disabled", function (disabled) {
            $.each(data, function (index, item) {
                var algo = item.CoinSymbol? item.CoinSymbol : item.Algorithm.split(/-/)[0]
                var name = item.Name + '_' + algo + '_Profit'
                var disable = disabled.indexOf(name) > -1
                if (disable && item.tEnabled) { $table.bootstrapTable('u