agenda/templates
Edward Betts 574b4feb1f trip: redesign itinerary display and add trip list macro
- Add render_trip_element macro to macros.html; use it in trip_item for
  the trip list page, giving a consistent one-line-per-element format
  with emoji, route, times, duration, operator, distance, and CO₂
- Redesign trip_page.html itinerary: day headers use date-only (no year),
  condense check-out to a single accent line, show time-only on transport
  cards, humanise duration (Xh Ym), km-only distance, add CO₂ for all
  transport modes, fix seat display for integer seat values
- Fix UndefinedError on /trip/past caused by absent 'arrive' key (Jinja2
  Undefined is truthy) and date-only depart/arrive fields (no .date())
- Improve mobile map layout: text column before map in HTML order, reduce
  mobile map heights, hide toggle button on mobile
- Add trips.css with design system (Playfair Display / Source Sans 3 /
  JetBrains Mono, navy/gold/amber palette, card variants by type)
- Add tests/test_trip_list_render.py covering the rendering edge cases

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 09:15:51 +00:00
..
fixture Add map fixture. 2025-11-13 06:42:12 +00:00
trip trip: redesign itinerary display and add trip list macro 2026-03-03 09:15:51 +00:00
accommodation.html Generalize and enhance yearly statistics 2025-07-23 22:52:22 +01:00
base.html Show flash messages on event list. 2026-02-17 11:34:40 +00:00
birthday_list.html Add days until column to birthdays table 2025-10-09 20:57:46 +01:00
calendar.html Bug fix calendar next/prev buttons. 2025-07-24 23:28:30 +01:00
conference_list.html Add conference count display to conference list sections 2025-07-15 11:28:15 +02:00
event_list.html Add OpenWeatherMap weather forecasts. Closes #48 2026-02-21 20:27:25 +00:00
flash_messages.html Show flash messages on event list. 2026-02-17 11:34:40 +00:00
gaps.html Fix text wrapping on gaps page 2024-09-02 09:00:37 +01:00
holiday_list.html Show current-year school holidays and add Bristol source link 2026-02-26 14:42:40 +00:00
launches.html Improve launch status UI and alert on SpaceDevs payload errors 2026-02-21 16:39:47 +00:00
macros.html trip: redesign itinerary display and add trip list macro 2026-03-03 09:15:51 +00:00
meteors.html Add meteor info page 2025-07-16 12:42:21 +02:00
navbar.html Switch from UniAuth to OpenID Connect 2026-02-17 11:25:55 +00:00
schengen_report.html Show country flags in Schengen compliance history 2025-11-03 13:05:09 +00:00
show_error.html Ensure all pages have a title 2024-04-16 22:01:16 +01:00
travel.html Show CO₂ for flights on travel page. 2025-05-26 04:48:13 -05:00
trip_debug.html Add YAML output on debug page. 2025-11-14 16:16:54 +00:00
trip_list_text.html Add page to generate a list of trips as text 2024-01-30 10:35:57 +00:00
trip_page.html trip: redesign itinerary display and add trip list macro 2026-03-03 09:15:51 +00:00
weekends.html Add OpenWeatherMap weather forecasts. Closes #48 2026-02-21 20:27:25 +00:00