From e9844b96e1842b17e04f273964e44d28d8b78e4f Mon Sep 17 00:00:00 2001 From: Silversthorn Date: Wed, 14 Aug 2024 20:58:45 +0200 Subject: [PATCH] Fixing More ! --- .../static/assets/js/shared/root-dir.js | 4 +- .../static/assets/js/shared/upload.js | 2 +- app/frontend/templates/panel/contribute.html | 2 +- .../templates/panel/custom_login.html | 2 +- app/frontend/templates/panel/dashboard.html | 2 +- .../templates/panel/server_backup.html | 2 +- .../templates/panel/server_config.html | 4 +- .../templates/panel/server_schedules.html | 41 +++++++++---------- .../templates/panel/server_webhooks.html | 4 +- .../templates/server/bedrock_wizard.html | 2 +- app/frontend/templates/server/wizard.html | 2 +- 11 files changed, 33 insertions(+), 34 deletions(-) diff --git a/app/frontend/static/assets/js/shared/root-dir.js b/app/frontend/static/assets/js/shared/root-dir.js index 1f82c2f5..614d524a 100644 --- a/app/frontend/static/assets/js/shared/root-dir.js +++ b/app/frontend/static/assets/js/shared/root-dir.js @@ -87,8 +87,8 @@ function process_tree_response(response, unzip) {
- - + + ${filename}
  • ` diff --git a/app/frontend/static/assets/js/shared/upload.js b/app/frontend/static/assets/js/shared/upload.js index d926afa4..15d85182 100644 --- a/app/frontend/static/assets/js/shared/upload.js +++ b/app/frontend/static/assets/js/shared/upload.js @@ -137,7 +137,7 @@ async function uploadFile(type, file = null, path = null, file_num = 0, _onProgr // All promises resolved successfully $("#upload_input").html(`
    🔒
    `); if (type === "import") { - document.getElementById("lower_half").style.visibility = "visible"; + document.getElementById("lower_half").classList.remove("d-none"); document.getElementById("lower_half").hidden = false; } else if (type === "background") { setTimeout(function () { diff --git a/app/frontend/templates/panel/contribute.html b/app/frontend/templates/panel/contribute.html index 1845d41d..3fd3f099 100644 --- a/app/frontend/templates/panel/contribute.html +++ b/app/frontend/templates/panel/contribute.html @@ -61,7 +61,7 @@


    - +
    diff --git a/app/frontend/templates/panel/custom_login.html b/app/frontend/templates/panel/custom_login.html index 1784fe42..cd105cd8 100644 --- a/app/frontend/templates/panel/custom_login.html +++ b/app/frontend/templates/panel/custom_login.html @@ -91,7 +91,7 @@
    diff --git a/app/frontend/templates/panel/dashboard.html b/app/frontend/templates/panel/dashboard.html index f6954b4c..6a8d98aa 100644 --- a/app/frontend/templates/panel/dashboard.html +++ b/app/frontend/templates/panel/dashboard.html @@ -815,7 +815,7 @@ for (i = 0; i < hostStats.disk_usage.length; i++) { if (hostStats.mounts.includes(hostStats.disk_usage[i].mount)) { storage_html += `
    -

    ${hostStats.disk_usage[i].mount}

    +

    ${hostStats.disk_usage[i].mount}

    {% if len(data['backups']) == 0 %} -
    +
    {{ translate('serverBackups', 'no-backup', data['lang']) }}.
    {% end %} diff --git a/app/frontend/templates/panel/server_config.html b/app/frontend/templates/panel/server_config.html index 15bef6d0..a09f0035 100644 --- a/app/frontend/templates/panel/server_config.html +++ b/app/frontend/templates/panel/server_config.html @@ -56,7 +56,7 @@
    - {{ data['server_stats']['server_id']['path'] }} + {{ data['server_stats']['server_id']['path'] }} 🔒
    @@ -100,7 +100,7 @@ {% else %}