From 83dd417539bdabdf454e32724e053362b2406abd Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Fri, 6 Dec 2024 15:07:52 +0000 Subject: [PATCH] [QSO] Adds Select Radio under the map --- application/views/interface_assets/footer.php | 269 ++-- application/views/qso/index.php | 1178 +++++++++-------- 2 files changed, 786 insertions(+), 661 deletions(-) diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index a66d3b7a..d7152fc2 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -807,8 +807,7 @@ if ($this->session->userdata('user_id') != null) { document.getElementById('from').value = data; document.getElementById('to').value = new Date().toISOString().split('T')[0]; }, - error: function() { - }, + error: function() {}, }); } @@ -916,8 +915,8 @@ if ($this->session->userdata('user_id') != null) { var icon = L.divIcon({ className: 'custom-icon', html: `` - }); - + }); + L.marker([marker.lat, marker.lng], { icon: icon }) @@ -931,9 +930,9 @@ if ($this->session->userdata('user_id') != null) { } }); markers = newMarkers; - } else { - console.log("No QSOs found to populate dashboard map."); - } + } else { + console.log("No QSOs found to populate dashboard map."); + } }); } @@ -1502,129 +1501,159 @@ if ($this->session->userdata('user_id') != null) { + + + + uri->segment(1) == "logbook" && $this->uri->segment(2) == "view") { ?> diff --git a/application/views/qso/index.php b/application/views/qso/index.php index 037aeac1..56b1700c 100755 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -1,649 +1,745 @@
- + -
+
-
-
+
+
-
+ -
- +
+ +
+
+
+ + session->userdata('user_qso_end_times') == 1) { ?> +
+
+ + required pattern="[0-3][0-9]-[0-1][0-9]-[0-9]{4}"> +
+ +
+ + + + + + + required pattern="[0-2][0-9]:[0-5][0-9]"> +
+ +
+ + + + + required pattern="[0-2][0-9]:[0-5][0-9]"> +
+ + + + + + +
+ + +
+
+ + required pattern="[0-3][0-9]-[0-1][0-9]-[0-9]{4}"> +
+ +
+ + + + + required pattern="[0-2][0-9]:[0-5][0-9]"> +
+ + + + + +
+ + + +
+
+ optionslib->get_option('dxcache_url') != '') { ?>  +
+
+ + +
-
- - -
-
-
-
- - + result() as $mode) { if ($mode->submode == null) { - printf("", $mode->mode, $this->session->userdata('mode')==$mode->mode?"selected=\"selected\"":"",$mode->mode); + printf("", $mode->mode, $this->session->userdata('mode') == $mode->mode ? "selected=\"selected\"" : "", $mode->mode); } else { - printf("", $mode->submode, $this->session->userdata('mode')==$mode->submode?"selected=\"selected\"":"",$mode->submode); + printf("", $mode->submode, $this->session->userdata('mode') == $mode->submode ? "selected=\"selected\"" : "", $mode->submode); } } - ?> - -
+ ?> + +
-
- +
+ - + $bandgroup) { + echo ''; + foreach ($bandgroup as $band) { + echo ''; + echo '>' . $band . '' . "\n"; } - ?> - -
-
- - -
-
- - + echo ''; + } + ?> + +
-
- - -
-
+ +
+
+ + +
-
+
+ + +
+
+ +
+
-
-
- -
+
+ +
+
-
-
+
+
-
- + -
+
+
+
-
+ +
+
+ + +
- -
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
+
+ + +
-
- - -
- -
+
-
+
-
- - - -
+
+ + + +
-
- - -
+
+ + +
-
+
- -
-
+ +
+
-
-
+
+
-
-
+
+
-
+
-
- - -
+
+ + +
-
- - -
+
+ + +
-
+
+
+ +
+ + +
+ +
+
+ + + +
+
+ +
+
+ +
+
+ + + +
+
+ +
+
+ +
+
+ + + +
+
+ +
+
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
-
- - + +
+ +
+ + + + + +
+
+ + + + + +
+ +
+ +
+ -
+
+
-
-
- - - -
-
- +
+ +
+ +
+
+ +
+ +
+ +
+
+ + +
+ + + + +
-
-
- - - -
-
- -
+ + +
+
-
-
- - - -
-
- -
-
- -
- - - -
- -
- - - -
- -
- - - -
+ + +
- - -
-
- - - - - -
- -
- - - - - -
-
- - - - - -
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- - -
- - - - -
-
-
- - - -
- -
- - - - +
- -
-
- - -
- - - - - - - - - - -
-
-
- +
- session->userdata('isWinkeyEnabled')) { ?> + + + -
+ + + + + +
+
+
+ +
+ +
+ + +
+ + + + + session->userdata('isWinkeyEnabled')) { ?> + +
+
+

Winkey + + + + +

+
+ +
+ +
+ + + + + +

+ + +
+ +
+
+ + + +
-

Winkey - - - - -

+

-
- -
- - - - - -

- - -
- -
-
- - - -
-

-
-
+
- session->userdata('user_show_profile_image')) { ?> - \ No newline at end of file