Commit graph

12 commits

Author SHA1 Message Date
Peter Goodhall
7c50480cce Load Leaflet assets on search pages
Add the `search` route to the shared Leaflet include checks in the main and mini headers plus the footer. This ensures search pages load the map CSS and scripts needed for Leaflet-based UI elements.
2026-08-06 14:48:05 +01:00
Peter Goodhall
fb9ffdb3ad Enable Leaflet maps in logbookadvanced
Add 'logbookadvanced' controller to the list of routes that require Leaflet map assets. Also conditionally load easyprint.js only when Leaflet is enabled to reduce unnecessary script loading.

#3453 Fixed
2026-07-11 16:45:29 +01:00
Peter Goodhall
8439798799 Lazy-load Leaflet and fix QRB modal map
Leaflet CSS/JS assets are now loaded conditionally in shared headers/footers so map libraries are only included on pages that need them. For the QRB calculator dialog, Leaflet is loaded on demand in `common.js`, and the `newpath` map-rendering function was moved into the QRB view so the modal still works when global map scripts are skipped. Also adds a small HTMX updating indicator to the dashboard’s Today’s QSOs section.
2026-07-06 17:18:39 +01:00
abarrau
7ed5a89253
load custom.css from assets path 2021-04-10 05:21:22 +02:00
abarrau
de52e91cde
load custom.css file from third_party 2021-04-10 05:03:44 +02:00
Peter Goodhall
8dfaf47c79 [Options] Greates OptionsLib library, sets default theme and others
This commit does a couple of things

- Creates OptionsLib which stores the 'Options' within the CI config system prefixed with "options_"
- Loads the OptionsLib automatically
- Adds function to OptionsLib for selecting the active stylesheet.
- Adds function to get an option_value that isn't automatically loaded.
2020-12-12 22:03:42 +00:00
Paul Beesley
301483bddf Change the way themes are processed
Place themes in subfolders and use the folder name in the DB instead of the path to a single CSS file
2020-12-07 09:55:30 +00:00
Andreas
14e69ed43a Javascript: changed to local copies of files. 2020-11-08 11:26:38 +01:00
Peter Goodhall
e6ab52ee25 Missing migration config file change, added IF statements to catch users who arent logged in 2020-09-24 20:03:05 +01:00
Andreas
97fd1b137a New feature: theme is user selectable. 2020-09-23 10:59:49 +02:00
Peter Goodhall
1430aae552 Changed a few bits of code to clean it up 2020-05-24 22:40:37 +01:00
Peter Goodhall
da4dc1bf27 Fixed CSS/HTML for the qso information popup 2019-05-25 18:43:32 +01:00