From f2ae43b0c1ba57189866887ed5a0ebb0801e8aa3 Mon Sep 17 00:00:00 2001 From: int2001 Date: Wed, 20 Dec 2023 06:26:32 +0000 Subject: [PATCH 1/3] Fix Highlighting of current QRG for Bootstrap5 --- assets/js/sections/bandmap_list.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/js/sections/bandmap_list.js b/assets/js/sections/bandmap_list.js index 1e7e8fba..7436d498 100644 --- a/assets/js/sections/bandmap_list.js +++ b/assets/js/sections/bandmap_list.js @@ -94,9 +94,11 @@ $(function() { if (distance<=20) { distance++; alpha=(.5/distance); - this.nodes().to$().css('background-color', 'rgba(0,0,255,' + alpha + ')'); + this.nodes().to$().css('--bs-table-bg', 'rgba(0,0,255,' + alpha + ')'); + this.nodes().to$().css('--bs-table-accent-bg', 'rgba(0,0,255,' + alpha + ')'); } else { - this.nodes().to$().css('background-color', ''); + this.nodes().to$().css('--bs-table-bg', ''); + this.nodes().to$().css('--bs-table-accent-bg', ''); } }); } From 3118e54b569c3e5113d4da5757e2a751a4775303 Mon Sep 17 00:00:00 2001 From: int2001 Date: Wed, 20 Dec 2023 07:12:49 +0000 Subject: [PATCH 2/3] Bring back Highlighting of new spots, too --- assets/js/sections/bandmap_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/sections/bandmap_list.js b/assets/js/sections/bandmap_list.js index 7436d498..1fac4c00 100644 --- a/assets/js/sections/bandmap_list.js +++ b/assets/js/sections/bandmap_list.js @@ -66,7 +66,7 @@ $(function() { } }); if (!update) { // Sth. Fresh? So highlight - table.rows.add(data).draw().nodes().to$().addClass("fresh bg-info"); + table.rows.add(data).draw().nodes().to$().addClass("fresh table-info"); } else { table.rows.add(data).draw(); } From b96d1a7498fa5652894f45637177276e83ea3427 Mon Sep 17 00:00:00 2001 From: int2001 Date: Wed, 20 Dec 2023 07:45:30 +0000 Subject: [PATCH 3/3] Add missing space --- application/models/Dxcluster_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Dxcluster_model.php b/application/models/Dxcluster_model.php index 6dbee924..9d66e2f9 100644 --- a/application/models/Dxcluster_model.php +++ b/application/models/Dxcluster_model.php @@ -89,7 +89,7 @@ class Dxcluster_model extends CI_Model { // CURL Functions $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $dxcache_url); - curl_setopt($ch, CURLOPT_USERAGENT, 'Cloudlog '.$this->optionslib->get_option('version').'DXLookup by QRG'); + curl_setopt($ch, CURLOPT_USERAGENT, 'Cloudlog '.$this->optionslib->get_option('version').' DXLookup by QRG'); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $jsonraw = curl_exec($ch);