Commit graph

473 commits

Author SHA1 Message Date
Edward Betts f8658a7850 Put map icons in a circle 2024-01-14 21:28:56 +00:00
Edward Betts 1f8d465c6d Show accommodation pins on the map 2024-01-14 21:28:12 +00:00
Edward Betts 7ca5eafd1d Show accommodation pins on the map 2024-01-14 21:00:19 +00:00
Edward Betts f60a1a329c Link to more flight info sites 2024-01-14 18:16:20 +00:00
Edward Betts 283a9d0b27 Link from accommodation list to trip pages
Closes: #109
2024-01-14 17:57:02 +00:00
Edward Betts 31e8197c79 Link from conference list to trip pages 2024-01-14 17:23:50 +00:00
Edward Betts 36168843d6 Adjust template layout 2024-01-14 16:52:06 +00:00
Edward Betts 7883c89b76 Refactor 2024-01-14 16:50:16 +00:00
Edward Betts f3a4f1dcd1 Use unpkg.com as CDN to be consistent 2024-01-14 15:42:48 +00:00
Edward Betts e86bd69ddb Show number of days between trips 2024-01-14 12:35:15 +00:00
Edward Betts fbee775f5b Next trip and previous trip links on trip pages
Closes: #110
2024-01-14 12:29:39 +00:00
Edward Betts 36b5d38274 Show map of past trips 2024-01-14 12:17:22 +00:00
Edward Betts bd61b1bccd Move map code into dedicated JS file 2024-01-14 12:01:33 +00:00
Edward Betts fab478dc61 Rename trips.html template to trip_list.html 2024-01-14 10:32:52 +00:00
Edward Betts fd34190368 Map of all upcoming travel on trips page
Closes: #107
2024-01-14 10:31:51 +00:00
Edward Betts 4a990a9fe5 Move trip code into separate file 2024-01-14 10:14:05 +00:00
Edward Betts e0735b4185 Refresh space launches from cron because API is slow
Closes: #98
2024-01-14 08:04:05 +00:00
Edward Betts cb2a2c7fb8 Change colour of rail journey on map to blue 2024-01-13 18:20:02 +00:00
Edward Betts e2fdd1d198 Show rail routes using GeoJSON 2024-01-12 22:29:26 +00:00
Edward Betts 4e719a07ab Show flights and trains in different colours 2024-01-12 19:52:00 +00:00
Edward Betts 4b62ec96dc Make the map bigger 2024-01-12 19:43:22 +00:00
Edward Betts e993329939 Show lines connecting transport stops on map
Closes: #104
2024-01-12 17:17:12 +00:00
Edward Betts 4b8b1f7556 Show station and airport icons on the map 2024-01-12 16:54:52 +00:00
Edward Betts 0c02d9c899 Include airport pins on the map 2024-01-12 16:20:36 +00:00
Edward Betts 60070d07fd Add maps to trip pages
Closes: #102
2024-01-12 15:04:08 +00:00
Edward Betts a9c9c719a4 Return 404 not found for invalid trip IDs
Closes: #103
2024-01-12 14:08:36 +00:00
Edward Betts 2744f67987 Add pages for individual trips
Closes: #100
2024-01-12 14:04:06 +00:00
Edward Betts ad47f291f8 Add events to trips 2024-01-10 13:27:25 +00:00
Edward Betts 8504a3a022 Add radarbox.com links for flights 2024-01-10 13:26:59 +00:00
Edward Betts 82de51109f import datetime 2024-01-10 13:06:29 +00:00
Edward Betts 199eb82bce Add refresh option for Bristol waste schedule 2024-01-08 15:45:08 +00:00
Edward Betts 7456f72325 Update Bristol bins from cron to save time
Closes: #96
2024-01-08 15:43:31 +00:00
Edward Betts 1453c4015c Show timings for index page data gathering 2024-01-08 15:22:16 +00:00
Edward Betts cd0ffb3390 Hide LHG run club when on a trip
Closes: #95
2024-01-08 15:20:48 +00:00
Edward Betts 3d16e30aa8 Try and make mypy happy about types 2024-01-08 15:19:20 +00:00
Edward Betts acbad39df7 Download bank-holidays.json if the local copy is unreadable 2024-01-08 15:18:28 +00:00
Edward Betts 7a5319aa83 Improve trip template layout 2024-01-06 15:39:46 +00:00
Edward Betts 50127417f0 Show trip country list in order visited 2024-01-06 09:21:54 +00:00
Edward Betts fd6d3b674b Split up trips page and sort like conference page
Closes: #94
2024-01-06 09:17:34 +00:00
Edward Betts 21b67bdc64 Show end date for trips 2024-01-05 09:35:56 +00:00
Edward Betts ea33722f69 Add missing template 2024-01-04 22:57:05 +00:00
Edward Betts 3dddc52430 Merge branch 'main' of git.4angle.com:edward/agenda 2024-01-04 22:56:14 +00:00
Edward Betts ce9faa654f Add trips page
Creating a new entity called a trip. This will group together any travel
accommodation and conferences that happen together on one trip.

A trip is assumed to start when leaving home and finish when returning
home.

The start date of a trip in is the trip ID. The date is written in ISO
format.

This assumes there cannot be multiple trips one one day. This assumption
might be wrong, for example a morning day trip by rail, then another
trip starts in the afternoon. I can change my choice of using dates as
trip IDs if that happens.

Sometimes during the planning of a trip the start date is unknown. For
now we make up a start date, we can always change it later. If we use
the start date in URLs then the URLs will change. Might need to keep a
file of redirects, or could think of a different style of identifier.

Trip ID have been added to accommodation, conferences, trains and
flights.

Later there will be a trips.yaml with notes about each trip.
2024-01-04 22:56:07 +00:00
Edward Betts d9b1d77872 Add trips page
Creating a new entity called a trip. This will group together any travel
accommodation and conferences that happen together on one trip.

A trip is assumed to start when leaving home and finish when returning
home.

The start date of a trip in is the trip ID. The date is written in ISO
format.

This assumes there cannot be multiple trips one one day. This assumption
might be wrong, for example a morning day trip by rail, then another
trip starts in the afternoon. I can change my choice of using dates as
trip IDs if that happens.

Sometimes during the planning of a trip the start date is unknown. For
now we make up a start date, we can always change it later. If we use
the start date in URLs then the URLs will change. Might need to keep a
file of redirects, or could think of a different style of identifier.

Trip ID have been added to accommodation, conferences, trains and
flights.

Later there will be a trips.yaml with notes about each trip.
2024-01-04 22:55:19 +00:00
Edward Betts 5786e3d575 Make conferences a top-level list 2024-01-04 15:08:12 +00:00
Edward Betts b1139b79d2 Make name a link to conference web site 2024-01-04 07:40:39 +00:00
Edward Betts 824285a4cf Add links to accommodation 2024-01-03 17:22:04 +00:00
Edward Betts 17036d849f Show country names and flags on conference page 2024-01-03 15:52:24 +00:00
Edward Betts fd46f0a405 Show country names and flags on accommodation page 2024-01-03 11:33:24 +00:00
Edward Betts 9800030201 Split space launches into separate page
Closes: #93
2024-01-03 09:13:58 +00:00