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 @@
{{schedule.action}}
{{schedule.command}}
{{schedule.schedule_id}}
{{ translate('serverSchedules', 'every', data['lang']) }} {{schedule.interval}} +
{{ translate('serverSchedules', 'every', data['lang']) }} {{schedule.interval}} {{schedule.interval_type}}
{{schedule.interval_type}}{{ translate('serverSchedules', 'child', +
{{schedule.interval_type}}{{ translate('serverSchedules', 'child', data['lang']) }}: {{ schedule.parent }}
{{ translate('serverSchedules', 'cron', data['lang']) }}: {{schedule.cron_string}} -
{{ translate('serverSchedules', 'cron', data['lang']) }}: {{schedule.cron_string}}
{{schedule.next_run}}
zzzzzzz
{{webhook.webhook_type}}