Server improvements and remote machine reboot (#213)
* Add remote reboot feature to Dashboard, Server & Miner * Integrated Pushover push notifications for Offline miners and periodical stats
This commit is contained in:
parent
408e7d3670
commit
de9f64e515
22 changed files with 288 additions and 40 deletions
15
index.html
15
index.html
|
@ -206,7 +206,20 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
text: '<i class="fa fa-power-off"> Shutdown miner</i>',
|
||||
text: '<i class="fa fa-refresh"> Reebot machine</i>',
|
||||
className: 'btn-warning',
|
||||
enabled: false,
|
||||
action: function () {
|
||||
table.rows({selected: true}).eq(0).each(function (index) {
|
||||
var row = table.row(index);
|
||||
var data = row.data();
|
||||
|
||||
sendAction("REBOOT", data.client_status.client_id);
|
||||
});
|
||||
}
|
||||
},
|
||||
{
|
||||
text: '<i class="fa fa-sign-out"> Stop miner</i>',
|
||||
className: 'btn-danger',
|
||||
enabled: false,
|
||||
action: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue