From 290689c257951e0dcd55c08283e1118261f12cde Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sun, 19 Nov 2023 14:05:00 +0100 Subject: [PATCH] datetimepicker to html 5 --- application/controllers/Logbookadvanced.php | 1 - application/controllers/Simplefle.php | 1 - application/views/interface_assets/footer.php | 11 +- application/views/interface_assets/header.php | 4 - application/views/webadif/export.php | 27 +- assets/css/datepicker.css | 290 - assets/js/datetime-moment.js | 70 + assets/js/moment.min.js | 5685 +++++++++++++++++ assets/js/sections/adif.js | 23 - assets/js/sections/hrdlog.js | 12 - assets/js/sections/logbookadvanced.js | 6 - assets/js/sections/qrzlogbook.js | 12 - assets/js/sections/webadif.js | 12 - 13 files changed, 5766 insertions(+), 388 deletions(-) delete mode 100644 assets/css/datepicker.css create mode 100644 assets/js/datetime-moment.js create mode 100644 assets/js/moment.min.js delete mode 100644 assets/js/sections/adif.js diff --git a/application/controllers/Logbookadvanced.php b/application/controllers/Logbookadvanced.php index 924f694b..ba7df5c1 100644 --- a/application/controllers/Logbookadvanced.php +++ b/application/controllers/Logbookadvanced.php @@ -82,7 +82,6 @@ class Logbookadvanced extends CI_Controller { $footerData = []; $footerData['scripts'] = [ 'assets/js/moment.min.js', - 'assets/js/tempusdominus-bootstrap-4.min.js', 'assets/js/datetime-moment.js', 'assets/js/sections/logbookadvanced.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/logbookadvanced.js")) ]; diff --git a/application/controllers/Simplefle.php b/application/controllers/Simplefle.php index 4e2b3c81..2c01ceb5 100644 --- a/application/controllers/Simplefle.php +++ b/application/controllers/Simplefle.php @@ -23,7 +23,6 @@ class SimpleFLE extends CI_Controller { $footerData = []; $footerData['scripts'] = [ 'assets/js/moment.min.js', - 'assets/js/tempusdominus-bootstrap-4.min.js', 'assets/js/datetime-moment.js', 'assets/js/sections/simplefle.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/simplefle.js")) ]; diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index e85262e5..893820db 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -98,17 +98,12 @@ function load_was_map() { uri->segment(1) == "adif" || $this->uri->segment(1) == "qrz" || $this->uri->segment(1) == "hrdlog" || $this->uri->segment(1) == "webadif" || $this->uri->segment(1) == "sattimers") { ?> - uri->segment(1) == "maintenance" ) { ?> -uri->segment(1) == "adif" ) { ?> - - - uri->segment(1) == "notes" && ($this->uri->segment(2) == "add" || $this->uri->segment(2) == "edit") ) { ?> @@ -687,9 +682,6 @@ function showActivatorsMap(call, count, grids) { uri->segment(1) == "map" && $this->uri->segment(2) == "custom") { ?> - - - - +