mirror of
https://github.com/Django-LiveView/demo-alarms
synced 2026-04-16 04:34:52 +02:00
Updated show_alert_details and close_modal handlers to change browser URL
and page title when opening and closing the modal.
Changes:
- show_alert_details: Sets URL to /alert/{id} and title to "Alert #{id}"
- close_modal: Restores URL to / and title to "Home - Alert System"
This provides better navigation experience with proper browser history
support and bookmarkable modal states.