From 980afd824e0c274c26ec633486b8a8cd7d87bedc Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sun, 25 Aug 2024 18:37:32 +0200 Subject: [PATCH] small ui adjustments --- application/views/interface_assets/footer.php | 6 +++-- application/views/update/index.php | 22 +++++++++---------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 5cce21468..2201196b6 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -1295,8 +1295,10 @@ $(document).ready(function(){ url:"update/dxcc", success: function(response) { if (response == 'success') { - $("#btn_update_dxcc").removeClass("running"); - $("#btn_update_dxcc").prop("disabled", false); + setTimeout(function() { + $("#btn_update_dxcc").removeClass("running"); + $("#btn_update_dxcc").prop("disabled", false); + }, 2000); } } }); diff --git a/application/views/update/index.php b/application/views/update/index.php index 9978926fe..96484330a 100644 --- a/application/views/update/index.php +++ b/application/views/update/index.php @@ -27,7 +27,7 @@
-
:
+

@@ -41,20 +41,20 @@ hx-get="" hx-target="#missing_dxcc_results" hx-on:htmx:before-request="this.disabled = true; this.classList.add('running');" - hx-on:htmx:after-request="this.disabled = false; this.classList.remove('running');"> + hx-on:htmx:after-request="this.disabled = false; this.classList.remove('running'); document.getElementById('missing_dxcc_results').style.display = 'block';">
- -
+
+ -
+

@@ -64,11 +64,11 @@ hx-get="" hx-target="#continent_results" hx-on:htmx:before-request="this.disabled = true; this.classList.add('running');" - hx-on:htmx:after-request="this.disabled = false; this.classList.remove('running');"> + hx-on:htmx:after-request="this.disabled = false; this.classList.remove('running'); document.getElementById('continent_results').style.display = 'block';">

-
+