mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-10 02:13:44 +02:00
Daemon now sends this info
This commit is contained in:
@@ -436,12 +436,6 @@ $(window).load(function () {
|
||||
|
||||
var can_run = true;
|
||||
function updateServerPowerControls (data) {
|
||||
|
||||
// Reset Console Data
|
||||
if (data === 2) {
|
||||
terminal.echo('\n[Daemon] -- + Server Detected as Booting + --\n');
|
||||
}
|
||||
|
||||
// Server is On or Starting
|
||||
if(data == 1 || data == 2) {
|
||||
$('[data-attr="power"][data-action="start"]').addClass('disabled');
|
||||
@@ -456,7 +450,6 @@ $(window).load(function () {
|
||||
} else {
|
||||
$('[data-attr="power"][data-action="kill"]').addClass('disabled');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$('[data-attr="power"]').click(function (event) {
|
||||
|
||||
Reference in New Issue
Block a user