From f7cf107febd6a28c8a4aac73617361b66e296a91 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Tue, 28 Nov 2023 20:34:18 +0100 Subject: [PATCH 1/2] Fixing some classes for correct styling --- application/views/oqrs/index.php | 6 +++--- assets/js/sections/oqrs.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/application/views/oqrs/index.php b/application/views/oqrs/index.php index ba76c94d..5d0ed50a 100644 --- a/application/views/oqrs/index.php +++ b/application/views/oqrs/index.php @@ -46,7 +46,7 @@
- result() as $station) { echo ''."\n"; } ?> @@ -57,7 +57,7 @@
- - \ No newline at end of file + diff --git a/assets/js/sections/oqrs.js b/assets/js/sections/oqrs.js index 67d57197..7e763312 100644 --- a/assets/js/sections/oqrs.js +++ b/assets/js/sections/oqrs.js @@ -11,7 +11,7 @@ function loadStationInfo() { success: function (data) { if (data.count > 0) { $(".resulttable").append('
' + data.count + ' Qsos logged between ' + data.mindate + ' and ' + data.maxdate + '.

'); - $(".resulttable").append('
'); + $(".resulttable").append('
'); // Get the input field var input = document.getElementById("oqrssearch"); From 8354ae3638ada84121704300b08b3c747c23d501 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Tue, 28 Nov 2023 21:10:30 +0100 Subject: [PATCH 2/2] fixed some bs5 layouts --- application/views/oqrs/notinlogform.php | 2 +- application/views/oqrs/request.php | 2 +- application/views/oqrs/request_grouped.php | 2 +- application/views/oqrs/result.php | 2 ++ application/views/visitor/layout/header.php | 26 +++++++++++---------- assets/js/sections/oqrs.js | 4 ++-- 6 files changed, 21 insertions(+), 17 deletions(-) diff --git a/application/views/oqrs/notinlogform.php b/application/views/oqrs/notinlogform.php index 2f6cd8d5..8367873b 100644 --- a/application/views/oqrs/notinlogform.php +++ b/application/views/oqrs/notinlogform.php @@ -16,7 +16,7 @@ checked.
1 - + diff --git a/application/views/oqrs/request.php b/application/views/oqrs/request.php index 93e44dc8..3f7b2953 100644 --- a/application/views/oqrs/request.php +++ b/application/views/oqrs/request.php @@ -25,7 +25,7 @@ The following QSO(s) were found. Please fill out the date and time and submit yo echo ''; echo ''. $i++ .''; echo ''; - echo ''; + echo ''; echo ''. $qso->col_band .''; echo ''; echo $qso->col_submode == null ? strtoupper($qso->col_mode) : strtoupper($qso->col_submode); echo ''; echo ''; diff --git a/application/views/oqrs/request_grouped.php b/application/views/oqrs/request_grouped.php index 1b1bf31e..b110706f 100644 --- a/application/views/oqrs/request_grouped.php +++ b/application/views/oqrs/request_grouped.php @@ -20,7 +20,7 @@ The following QSO(s) were found. Please fill out the date and time and submit yo echo ''; echo ''. $i++ .''; echo ''; - echo ''; + echo ''; echo ''. $qso->col_band .''; echo ''; echo $qso->col_submode == null ? strtoupper($qso->col_mode) : strtoupper($qso->col_submode); echo ''; echo ''. $qso->station_callsign .''; diff --git a/application/views/oqrs/result.php b/application/views/oqrs/result.php index 814e3123..23e64b06 100644 --- a/application/views/oqrs/result.php +++ b/application/views/oqrs/result.php @@ -29,8 +29,10 @@ echo ''; echo strtoupper($callsign) . ' has ' . $count . ' band slot(s) and has ' . $qsocount . ' QSO(s) in the log.

'; ?> +
No QSOs found in the log.
'; } ?> +
\ No newline at end of file diff --git a/application/views/visitor/layout/header.php b/application/views/visitor/layout/header.php index 3ac04413..718252a5 100644 --- a/application/views/visitor/layout/header.php +++ b/application/views/visitor/layout/header.php @@ -72,18 +72,20 @@ - -
- CI =& get_instance(); - if ($this->CI->public_search_enabled($slug) || $this->session->userdata('user_type') >= 2) { ?> -
- aria-label="Search" data-toogle="tooltip" data-bs-placement="bottom" title="Please enter a callsign!"> - - -
- +
+ CI =& get_instance(); + if ($this->CI->public_search_enabled($slug) || $this->session->userdata('user_type') >= 2) { ?> +
+ aria-label="Search" data-toogle="tooltip" data-bs-placement="bottom" title="Please enter a callsign!"> + + +
+ +
diff --git a/assets/js/sections/oqrs.js b/assets/js/sections/oqrs.js index 7e763312..23a85d36 100644 --- a/assets/js/sections/oqrs.js +++ b/assets/js/sections/oqrs.js @@ -11,7 +11,7 @@ function loadStationInfo() { success: function (data) { if (data.count > 0) { $(".resulttable").append('
' + data.count + ' Qsos logged between ' + data.mindate + ' and ' + data.maxdate + '.

'); - $(".resulttable").append('
'); + $(".resulttable").append('
'); // Get the input field var input = document.getElementById("oqrssearch"); @@ -160,7 +160,7 @@ function oqrsAddLine() { var $iterator = $('').html(rowCount); var $date = $('').html(''); - var $time = $('').html(''); + var $time = $('').html(''); var $band = $('').html(''); var $mode = $('').html('');