cloudlog/application/views/user
Peter Goodhall bcae0c8782 Add optional map greyline layer (terminator)
Add a day/night greyline (terminator) overlay to the dashboard map.

- New assets/js/leaflet/L.Terminator.js: a Leaflet polygon plugin that computes the solar terminator for a given time and exposes L.terminator().
- Load the terminator script in the footer and register a Greyline overlay layer with start/stop interval updates (refreshes every minute). Updates are managed when the overlay is added/removed or when the map unloads to avoid orphaned timers.
- Expose the greyline as a toggleable overlay in the map layer control and add markers to a dedicated markersLayer overlay (instead of adding them directly to the map).
- Add a user preference checkbox to application/views/user/edit.php (Enable Dashboard Map Greyline Layer) and wire saving/reading of the dashboard_map_greyline option in application/controllers/User.php and application/controllers/Dashboard.php. Default behavior is enabled when not set.

This change lets users enable/disable the visual day/night terminator on the dashboard map and ensures proper lifecycle handling for updates and marker layering.
2026-03-26 22:39:04 +00:00
..
delete.php Cleaned up code formatting 2025-05-23 11:55:35 +01:00
edit.php Add optional map greyline layer (terminator) 2026-03-26 22:39:04 +00:00
forgot_password.php Cleaned up code formatting 2025-05-23 11:55:35 +01:00
login.php Add open registration and public signup feature 2025-12-02 18:10:37 +00:00
main.php Add welcome email feature for new and existing users 2025-11-22 15:23:47 +00:00
profile.php Cleaned up code formatting 2025-05-23 11:55:35 +01:00
reset_password.php Cleaned up code formatting 2025-05-23 11:55:35 +01:00
signup.php Enforce unique callsigns and protect last admin 2026-03-26 14:22:02 +00:00