Commit graph

10 commits

Author SHA1 Message Date
3c787b33d3 Add multi-station support, GWR fares API, and Circle line improvements
- Support any station with direct trains to Paddington; station CRS code
  is now part of the URL (/results/<crs>/<slug>/<date>)
- Load station list from data/direct_to_paddington.tsv; show dropdown on
  index page; 404 for unknown station codes
- Fetch live GWR walk-on fares via api.gwr.com for all stations (SSS/SVS/SDS
  with restrictions already applied per train); cache 30 days
- Scrape Paddington arrival platform numbers from RTT
- Show unreachable morning Eurostars (before first reachable service only)
- Circle line: show actual KX St Pancras arrival times (not check-in estimate)
  and add a second backup service in the transfer column
- Widen page max-width to 1100px for longer station names

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 20:22:44 +01:00
71be0dd8cf Move inline styles to CSS classes; update README
Extract repeated inline styles from templates into named CSS classes in
base.html: layout helpers, buttons, form groups, alert boxes, results table
rules, row highlight classes, typography utilities, and empty-state styles.
Remove the per-page <style> block from results.html.

Update README to reflect current destinations, GraphQL data source, Circle
Line timetable, configurable connection range, and GWR fare table.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 15:39:04 +01:00
b88d23a270 Use destination-specific result page metadata 2026-04-01 15:33:07 +01:00
143887d482 Add same-day destination switcher to results 2026-04-01 12:50:43 +01:00
c3d289e809 Show Bristol departure on search form 2026-04-01 12:46:30 +01:00
a9d5a0589d Show destinations as one-click cards 2026-04-01 12:38:54 +01:00
1faa0a1909 Include link to git repo. 2026-03-31 15:13:11 +01:00
cce630d922 Fix favicon 2026-03-31 14:58:49 +01:00
1fa2e68b31 Various improvements 2026-03-31 12:59:44 +01:00
a8e0bd39e5 Initial commit. 2026-03-30 19:34:46 +01:00