Commit graph

526 commits

Author SHA1 Message Date
Edward Betts f8c523c674 Add format_distance macro 2024-05-27 10:12:58 +02:00
Edward Betts 093000bbc3 Show more detail for flights 2024-05-20 20:56:14 +02:00
Edward Betts 8181dfbe3b Remove unused code from trip list HTML 2024-05-20 18:33:53 +02:00
Edward Betts a96aefe22b Improve trip list template 2024-05-20 18:32:49 +02:00
Edward Betts 5758d3f1d0 Add more flags on trip list 2024-05-19 13:33:04 +02:00
Edward Betts 1948ab8ff5 Rewrite TripElement.get_emoji() to use dict lookup 2024-05-19 08:59:27 +02:00
Edward Betts 277e991869 Validate airport and station YAML 2024-05-18 20:37:10 +02:00
Edward Betts d4dda44768 Add more country flags on the trip list. 2024-05-18 20:29:29 +02:00
Edward Betts 448d59514b Use ndash instead of mdash 2024-05-18 18:02:35 +02:00
Edward Betts 34d7655ace Remove duplicate emoji 2024-05-18 18:02:14 +02:00
Edward Betts 7e8d156126 Show check-in and check-out times 2024-05-18 16:53:38 +02:00
Edward Betts 455528125c Improvements to trip list pages 2024-05-18 16:44:18 +02:00
Edward Betts 7d376b38f3 Use heading in trip list page title 2024-05-18 16:43:06 +02:00
Edward Betts ab74ebab34 Remove unused imports 2024-05-18 14:59:09 +02:00
Edward Betts 85ebaf7c84 Show indivudal train legs 2024-05-18 14:23:00 +02:00
Edward Betts 5b2d248955 Use proper arrow in ferry title 2024-05-18 14:22:35 +02:00
Edward Betts f1a472a944 Better airport labels 2024-05-18 14:22:08 +02:00
Edward Betts d5a92c9a8e Trip list URL to redirect 2024-05-18 12:46:32 +02:00
Edward Betts a253f720dd Switch to singulr for navbar 2024-05-18 12:44:23 +02:00
Edward Betts 2e1cf0ce84 Show current trip on future trip map 2024-05-18 12:42:41 +02:00
Edward Betts c9fcf1d5e7 Include current trip in future list 2024-05-18 12:14:34 +02:00
Edward Betts afb96bc855 Bug fix validate_yaml.py 2024-05-18 12:04:28 +02:00
Edward Betts cd16b857a0 Split trip list into future and past pages
Redo page layout and trip display. Map is now shown on the right.
2024-05-18 12:02:21 +02:00
Edward Betts 3ec7f5c18a Improve duration display 2024-05-16 16:58:07 +02:00
Edward Betts dd59c809e1 Split out busy events code 2024-05-16 16:23:46 +02:00
Edward Betts 7bb6110f45 Split out code for reading events from YAML 2024-05-16 15:21:57 +01:00
Edward Betts 18d8fa6b7c Split out rio_carnival_events function 2024-05-16 15:18:56 +01:00
Edward Betts 78c90b0164 Bug fix ESA detection 2024-05-10 10:16:39 +01:00
Edward Betts 096e0a371e Adjust overlap of markers 2024-05-06 12:48:06 +03:00
Edward Betts dd82470835 Arrange map markers to overlap less 2024-05-06 11:36:00 +03:00
Edward Betts c65e60a1f1 Include ferry distances 2024-05-05 14:57:13 +03:00
Edward Betts ca7c449410 Add eslintrc.js 2024-05-05 14:56:36 +03:00
Edward Betts 4fa7647584 Add ferry terminal icon 2024-05-01 15:00:24 +03:00
Edward Betts afa2a2e934 Show ferry routes and terminals on the map 2024-05-01 11:59:21 +03:00
Edward Betts b9b849802d Show ferry bookings in trip list 2024-05-01 08:32:15 +02:00
Edward Betts a5d1290491 Use cached FX rate if fresh rate not available 2024-05-01 08:31:14 +02:00
Edward Betts 2b822e28a0 Hide booking reference if not logged in 2024-04-20 14:39:56 +01:00
Edward Betts 6d6e416df3 Adjust travel page to show flights grouped by booking with booking reference and price
Closes: #152
2024-04-20 14:17:32 +01:00
Edward Betts 19732a3ef1 Update to read flights grouped by booking
Closes: #151
2024-04-20 10:23:56 +01:00
Edward Betts 5ab9d93484 Convert prices to GBP and show
Closes: #120
2024-04-20 07:54:29 +01:00
Edward Betts dbc12adb3d Rewrite update code to use flask app_context() 2024-04-20 07:52:00 +01:00
Edward Betts 66ca6c0744 Get more exchange rates 2024-04-18 22:26:04 +01:00
Edward Betts b0381db3b5 Add docstrings and types 2024-04-18 11:56:51 +01:00
Edward Betts 0fcaf76104 Simplify code 2024-04-17 14:48:18 +01:00
Edward Betts 32e07d4ce4 More code re-use 2024-04-17 14:33:23 +01:00
Edward Betts d28e172a8c Add 'free' badge to conferences 2024-04-17 11:49:18 +01:00
Edward Betts e2afe0ffa4 Show prices for logged in users
Trip prices are visible on trip list, accommodation list,
conference list and travel list.

Prices are hidden if not logged in, except conference prices.

Still need to show prices on individual trip page.
2024-04-17 11:40:13 +01:00
Edward Betts dbffd60937 Ensure all pages have a title
Closes: #117
2024-04-16 22:01:16 +01:00
Edward Betts 875f50e684 Fix LUX country code in ESA list 2024-04-16 21:52:30 +01:00
Edward Betts e1688629a3 Trip distance by means of transport: air and rail
Closes: #148
2024-04-16 12:41:00 +01:00