Swapped pull and push buttons on dashboard

reverted auto detect for max intensity and limited to conceal
This commit is contained in:
Ben Gräf 2019-11-03 11:21:07 +01:00
parent d1cc0aa3df
commit e88ba694e6
3 changed files with 16 additions and 16 deletions

View file

@ -223,19 +223,6 @@
},
buttons: [
'colvis',
{
text: '<i class="fa fa-download"> Pull miner config</i>',
className: 'btn-info',
enabled: false,
action: function () {
table.rows({selected: true}).eq(0).each(function (index) {
var row = table.row(index);
var data = row.data();
sendAction("PUBLISH_CONFIG", data.client_status.client_id);
});
}
},
{
text: '<i class="fa fa-upload"> Push miner config</i>',
className: 'btn-primary',
@ -249,6 +236,19 @@
});
}
},
{
text: '<i class="fa fa-download"> Pull miner config</i>',
className: 'btn-info',
enabled: false,
action: function () {
table.rows({selected: true}).eq(0).each(function (index) {
var row = table.row(index);
var data = row.data();
sendAction("PUBLISH_CONFIG", data.client_status.client_id);
});
}
},
{
text: '<i class="fa fa-play"> Start miner</i>',
className: 'btn-success',