diff --git a/app/frontend/templates/panel/parts/details_stats.html b/app/frontend/templates/panel/parts/details_stats.html index f05c4336..aa199340 100644 --- a/app/frontend/templates/panel/parts/details_stats.html +++ b/app/frontend/templates/panel/parts/details_stats.html @@ -136,15 +136,8 @@ /* TODO Update each element */ if (server.running){ - if (server['stats']['waiting_start']){ - server_status.setAttribute("class", "text-warning"); - server_status.innerHTML = `{{ translate('serverStats', 'starting', data['lang']) }}`; - } - else - { server_status.setAttribute("class", "text-success"); server_status.innerHTML = `{{ translate('serverStats', 'online', data['lang']) }}`; - } startedUTC = server.started; startedUTC = moment.utc(startedUTC, 'YYYY-MM-DD HH:mm:ss'); diff --git a/app/frontend/templates/panel/server_backup.html b/app/frontend/templates/panel/server_backup.html index 4ee705c7..5c827d54 100644 --- a/app/frontend/templates/panel/server_backup.html +++ b/app/frontend/templates/panel/server_backup.html @@ -327,7 +327,8 @@ const server_id = new URLSearchParams(document.location.search).get('id') label: ' {{ translate("serverBackups", "cancel", data['lang']) }}' }, confirm: { - label: ' {{ translate("serverBackups", "restore", data['lang']) }}' + label: ' {{ translate("serverBackups", "restore", data['lang']) }}', + className: 'btn-outline-danger' } }, callback: function (result) {