Commit graph

79 commits

Author SHA1 Message Date
f3d474a9c7
Improve caching 2023-11-02 04:39:46 +01:00
90d1435fb8
Add fixed size for star to fix visual glitch 2023-11-02 04:38:58 +01:00
7bfb8fceb9
Add custom colors for some networks
- Stuttgart Stadtbahn
- Stuttgart S-Bahn
- Köln S-Bahn
- Bonn S23
- Karlsruhe Trams
- Karlsruhe S-Bahn
2023-10-25 02:11:56 +02:00
14c99d6d0c
Change infotren to infodb 2023-10-24 08:58:06 +02:00
fb54636ce7
Stop showing alert about yesterday train 2023-06-03 14:54:24 +02:00
7f3637518b
Add initial .gitignore 2023-06-03 14:52:58 +02:00
708f25ce83
Manipulate history when viewing yesterday's train 2023-03-17 03:17:35 +01:00
0833765a84
Add train operator to itineraries page 2023-03-16 20:59:57 +01:00
1078807875
Fix colors in embedded header 2023-01-23 05:11:09 +01:00
32facdbd72
Fix header placeholder size 2023-01-23 05:03:08 +01:00
c180e56584
Fix header background 2023-01-22 10:53:27 +01:00
b5ed00a9f1
Embed header in window controls overlay 2023-01-22 09:55:36 +01:00
b488d28ff9
Add icons to PWA, making it installable 2023-01-22 09:34:35 +01:00
b134829e8c
Add arrow navigation to route page 2022-12-31 14:00:34 +02:00
c231586b6d
Fix a.no-custom-a 2022-12-31 13:57:20 +02:00
86b2caf6e9
Add link to stations and trains in routes page 2022-12-31 01:08:49 +02:00
0d7cc124ba
Add showcase page to aid in visualising elements 2022-12-28 12:53:31 +02:00
fbebd1557c
Initial routing/itineraries implementation 2022-12-28 12:53:16 +02:00
7645effd5f
Add recently viewed train on homepage 2022-12-27 19:08:42 +02:00
a653e92e03
Add share on clicking title 2022-12-25 10:09:19 +02:00
06e57e5b8b
Fix CSS typo 2022-12-25 09:55:10 +02:00
c0c5f3e7c4
Show time in monospace 2022-12-25 09:54:14 +02:00
04e2019afe
Fix date handling on API request 2022-12-11 14:33:41 +01:00
220f6666a5
Add support for IC trains 2022-12-10 23:38:45 +01:00
255dae9dec
Add service worker version on about page 2022-11-18 07:52:08 +01:00
3b007ce548
Add defer to script loading 2022-11-18 07:51:12 +01:00
fd1e7c0729
Add back button
Also: change PWA to standalone
2022-11-18 04:58:35 +01:00
32f52fe549
Fix refresh button on view station page 2022-11-18 01:52:43 +01:00
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.
2022-11-17 23:30:38 +01:00
9d4442de45
Fix service worker cache, handle refresh better 2022-11-17 21:31:07 +01:00
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.
2022-11-15 21:21:47 +01:00
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.
2022-11-15 21:18:52 +01:00
6e4b6a609a
Add label 2022-11-15 21:13:42 +01:00
1d86207143
Change input type to search, add label 2022-11-15 21:13:06 +01:00
002086c74c
Fix bug in sw caching API 2022-10-13 22:38:43 +03:00
c748f117c3
Fix bug in yesterday date computation 2022-10-11 03:23:01 +03:00
7bd7b26256
Add alert about yesterday train feature 2022-10-11 03:09:33 +03:00
f1141b1e06
Allow viewing yesterday's train
This can be achieved by selecting the date in the view train screen.
2022-10-11 03:01:54 +03:00
a6757f394a
Implement selectable links for station names
Also prepare for date switcher
2022-09-28 12:33:06 +03:00
ee86e741eb
Add CSS rules for uncustomised <a> 2022-09-28 12:23:18 +03:00
dd666466ee
Remove number input type from station input 2022-09-23 22:53:55 +03:00
ebb0b5f0ba
Add loading text 2022-09-20 00:51:58 +03:00
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.
2022-09-20 00:34:49 +03:00
35b19ffe80
Add station arrivals/departures pages 2022-09-20 00:25:05 +03:00
e4b8a25b60
Add support for tabs 2022-09-20 00:24:17 +03:00
555f80aa1c
Allow choosing train that is not known/suggested 2022-09-20 00:23:51 +03:00
f4ae034812
Show only first 100 results to prevent lag 2022-09-20 00:23:22 +03:00
5531f908af
Allow pages to be properly printable 2022-09-20 00:22:02 +03:00
a1628d6297
Apply different background color for even items 2022-09-20 00:21:11 +03:00
729f047903
Attempt at keeping print items not page broken 2022-09-20 00:20:43 +03:00