From cbdfd44a73d4ec3441c4f4a69fecaac1397003da Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:41:32 +0100 Subject: [PATCH] [Advanced Logbook] Adjusted filters and column order --- application/views/logbookadvanced/index.php | 84 +++++++++---------- .../views/logbookadvanced/useroptions.php | 60 ++++++------- assets/js/sections/logbookadvanced.js | 48 +++++------ 3 files changed, 96 insertions(+), 96 deletions(-) diff --git a/application/views/logbookadvanced/index.php b/application/views/logbookadvanced/index.php index 3673544ae..e3067e9a9 100644 --- a/application/views/logbookadvanced/index.php +++ b/application/views/logbookadvanced/index.php @@ -152,19 +152,19 @@ $options = json_decode($options);
-
+
datetime->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
datetime->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
dx->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
dxcc->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
state->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
gridsquare->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
mode->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
band->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
propagation->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
cqzone->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
ituzone->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
pota->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
iota->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
wwff->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
operator->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
contest->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
continent->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl"> @@ -347,7 +347,7 @@ $options = json_decode($options);
-
+
qsl->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
qsl->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
qsl->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
lotw->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
lotw->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
clublog->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
clublog->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
eqsl->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
eqsl->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
qsl->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
-
+
qsl->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl"> band->show ?? "true") == "true") { echo 'checked'; } ?>>
- -
myrefs->show ?? "true") == "true") { echo 'checked'; } ?>>
+ +
gridsquare->show ?? "true") == "true") { echo 'checked'; } ?>>
@@ -59,20 +59,24 @@
qslvia->show ?? "true") == "true") { echo 'checked'; } ?>>
- -
qsl->show ?? "true") == "true") { echo 'checked'; } ?>>
+ +
clublog->show ?? "true") == "true") { echo 'checked'; } ?>>
- -
lotw->show ?? "true") == "true") { echo 'checked'; } ?>>
+ +
qsl->show ?? "true") == "true") { echo 'checked'; } ?>>
eqsl->show ?? "true") == "true") { echo 'checked'; } ?>>
- -
clublog->show ?? "true") == "true") { echo 'checked'; } ?>>
+ +
lotw->show ?? "true") == "true") { echo 'checked'; } ?>>
+ + + +
qrz->show ?? "true") == "true") { echo 'checked'; } ?>>
@@ -94,10 +98,6 @@
ituzone->show ?? "true") == "true") { echo 'checked'; } ?>>
- - -
sota->show ?? "true") == "true") { echo 'checked'; } ?>>
-
iota->show ?? "true") == "true") { echo 'checked'; } ?>>
@@ -106,6 +106,22 @@
pota->show ?? "true") == "true") { echo 'checked'; } ?>>
+ + +
sota->show ?? "true") == "true") { echo 'checked'; } ?>>
+ + + +
dok->show ?? "true") == "true") { echo 'checked'; } ?>>
+ + + +
wwff->show ?? "true") == "true") { echo 'checked'; } ?>>
+ + + +
sig->show ?? "true") == "true") { echo 'checked'; } ?>>
+
operator->show ?? "true") == "true") { echo 'checked'; } ?>>
@@ -123,29 +139,13 @@
contest->show ?? "true") == "true") { echo 'checked'; } ?>>
- -
gridsquare->show ?? "true") == "true") { echo 'checked'; } ?>>
- - - -
dok->show ?? "true") == "true") { echo 'checked'; } ?>>
- - - -
wwff->show ?? "true") == "true") { echo 'checked'; } ?>>
- - - -
sig->show ?? "true") == "true") { echo 'checked'; } ?>>
+ +
myrefs->show ?? "true") == "true") { echo 'checked'; } ?>>
continent->show ?? "true") == "true") { echo 'checked'; } ?>>
- - -
qrz->show ?? "true") == "true") { echo 'checked'; } ?>>
-
profilename->show ?? "true") == "true") { echo 'checked'; } ?>>
diff --git a/assets/js/sections/logbookadvanced.js b/assets/js/sections/logbookadvanced.js index 1e574d84a..358b6ef21 100644 --- a/assets/js/sections/logbookadvanced.js +++ b/assets/js/sections/logbookadvanced.js @@ -97,18 +97,6 @@ function updateRow(qso) { if (user_options.pota.show == "true"){ cells.eq(c++).html(qso.pota); } - if ( (user_options.operator) && (user_options.operator.show == "true")){ - cells.eq(c++).html(qso.operator); - } - if ( (user_options.comment) && (user_options.comment.show == "true")){ - cells.eq(c++).html(qso.comment); - } - if ( (user_options.propagation) && (user_options.propagation.show == "true")){ - cells.eq(c++).html(qso.propagation); - } - if ( (user_options.contest) && (user_options.contest.show == "true")){ - cells.eq(c++).html(qso.contest); - } if ( (user_options.sota) && (user_options.sota.show == "true")){ cells.eq(c++).html(qso.sota); } @@ -121,6 +109,18 @@ function updateRow(qso) { if ( (user_options.sig) && (user_options.sig.show == "true")){ cells.eq(c++).html(qso.sig); } + if ( (user_options.operator) && (user_options.operator.show == "true")){ + cells.eq(c++).html(qso.operator); + } + if ( (user_options.comment) && (user_options.comment.show == "true")){ + cells.eq(c++).html(qso.comment); + } + if ( (user_options.propagation) && (user_options.propagation.show == "true")){ + cells.eq(c++).html(qso.propagation); + } + if ( (user_options.contest) && (user_options.contest.show == "true")){ + cells.eq(c++).html(qso.contest); + } if (user_options.myrefs.show == "true"){ cells.eq(c++).text(qso.deRefs); } @@ -251,18 +251,6 @@ function loadQSOTable(rows) { if (user_options.pota.show == "true"){ data.push(qso.pota); } - if (user_options.operator.show == "true"){ - data.push(qso.operator); - } - if (user_options.comment.show == "true"){ - data.push(qso.comment); - } - if (user_options.propagation.show == "true"){ - data.push(qso.propagation); - } - if (user_options.contest.show == "true"){ - data.push(qso.contest); - } if (user_options.sota.show == "true"){ data.push(qso.sota); } @@ -275,6 +263,18 @@ function loadQSOTable(rows) { if (user_options.sig.show == "true"){ data.push(qso.sig); } + if (user_options.operator.show == "true"){ + data.push(qso.operator); + } + if (user_options.comment.show == "true"){ + data.push(qso.comment); + } + if (user_options.propagation.show == "true"){ + data.push(qso.propagation); + } + if (user_options.contest.show == "true"){ + data.push(qso.contest); + } if (user_options.myrefs.show == "true"){ data.push(qso.deRefs); }