Kenneth Bruen
7bfb8fceb9
Add custom colors for some networks
...
- Stuttgart Stadtbahn
- Stuttgart S-Bahn
- Köln S-Bahn
- Bonn S23
- Karlsruhe Trams
- Karlsruhe S-Bahn
1 year ago
Kenneth Bruen
14c99d6d0c
Change infotren to infodb
1 year ago
Kenneth Bruen
fb54636ce7
Stop showing alert about yesterday train
2 years ago
Kenneth Bruen
7f3637518b
Add initial .gitignore
2 years ago
Kenneth Bruen
708f25ce83
Manipulate history when viewing yesterday's train
2 years ago
Kenneth Bruen
0833765a84
Add train operator to itineraries page
2 years ago
Kenneth Bruen
1078807875
Fix colors in embedded header
2 years ago
Kenneth Bruen
32facdbd72
Fix header placeholder size
2 years ago
Kenneth Bruen
c180e56584
Fix header background
2 years ago
Kenneth Bruen
b5ed00a9f1
Embed header in window controls overlay
2 years ago
Kenneth Bruen
b488d28ff9
Add icons to PWA, making it installable
2 years ago
Kenneth Bruen
b134829e8c
Add arrow navigation to route page
2 years ago
Kenneth Bruen
c231586b6d
Fix a.no-custom-a
2 years ago
Kenneth Bruen
86b2caf6e9
Add link to stations and trains in routes page
2 years ago
Kenneth Bruen
0d7cc124ba
Add showcase page to aid in visualising elements
2 years ago
Kenneth Bruen
fbebd1557c
Initial routing/itineraries implementation
2 years ago
Kenneth Bruen
7645effd5f
Add recently viewed train on homepage
2 years ago
Kenneth Bruen
a653e92e03
Add share on clicking title
2 years ago
Kenneth Bruen
06e57e5b8b
Fix CSS typo
2 years ago
Kenneth Bruen
c0c5f3e7c4
Show time in monospace
2 years ago
Kenneth Bruen
04e2019afe
Fix date handling on API request
2 years ago
Kenneth Bruen
220f6666a5
Add support for IC trains
2 years ago
Kenneth Bruen
255dae9dec
Add service worker version on about page
2 years ago
Kenneth Bruen
3b007ce548
Add defer to script loading
2 years ago
Kenneth Bruen
fd1e7c0729
Add back button
...
Also: change PWA to standalone
2 years ago
Kenneth Bruen
32f52fe549
Fix refresh button on view station page
2 years ago
Kenneth Bruen
c2ea04de4b
Enable service worker for Safari
...
For future reference: the preflight request must return these headers:
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization, Pragma, Cache-Control
Otherwise, Safari will refuse requests made inside a service worker
reporting a preflight check fail.
2 years ago
Kenneth Bruen
9d4442de45
Fix service worker cache, handle refresh better
2 years ago
Kenneth Bruen
0827a1ec31
Add delay information next to time at view train
...
When a train has a 2 minute delay, currently the scheduled time is
displayed with strikethrough and the actual time is displayed below.
This change adds a +2 after the original time to also have the relative
delay, not just the absolute one.
2 years ago
Kenneth Bruen
1fb1153f13
Fix station search bug
...
When writing "cala" in order to search for "Călărași", it wouldn't work
because only the first ă was replaced with a.
2 years ago
Kenneth Bruen
6e4b6a609a
Add label
2 years ago
Kenneth Bruen
1d86207143
Change input type to search, add label
2 years ago
Kenneth Bruen
002086c74c
Fix bug in sw caching API
2 years ago
Kenneth Bruen
c748f117c3
Fix bug in yesterday date computation
2 years ago
Kenneth Bruen
7bd7b26256
Add alert about yesterday train feature
2 years ago
Kenneth Bruen
f1141b1e06
Allow viewing yesterday's train
...
This can be achieved by selecting the date in the view train screen.
2 years ago
Kenneth Bruen
a6757f394a
Implement selectable links for station names
...
Also prepare for date switcher
2 years ago
Kenneth Bruen
ee86e741eb
Add CSS rules for uncustomised <a>
2 years ago
Kenneth Bruen
dd666466ee
Remove number input type from station input
2 years ago
Kenneth Bruen
ebb0b5f0ba
Add loading text
2 years ago
Kenneth Bruen
3ca35ce91d
Prevent refresh on back to group select
...
If train data is already known, don't refresh when going back to the group
selection screen.
2 years ago
Kenneth Bruen
35b19ffe80
Add station arrivals/departures pages
2 years ago
Kenneth Bruen
e4b8a25b60
Add support for tabs
2 years ago
Kenneth Bruen
555f80aa1c
Allow choosing train that is not known/suggested
2 years ago
Kenneth Bruen
f4ae034812
Show only first 100 results to prevent lag
2 years ago
Kenneth Bruen
5531f908af
Allow pages to be properly printable
2 years ago
Kenneth Bruen
a1628d6297
Apply different background color for even items
2 years ago
Kenneth Bruen
729f047903
Attempt at keeping print items not page broken
2 years ago
Kenneth Bruen
0765bc8232
Modify title of view train page when data is found
2 years ago
Kenneth Bruen
5c95dec36d
Improve promise handling
2 years ago