Commit Graph

113 Commits

Author SHA1 Message Date
0958bc92f5 Frontend: Refactor indexjs
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 19:29:20 +00:00
67cc929158 Frontend: lib.main.js replaces main.js
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 18:46:33 +00:00
3e66cdad8d Add lib.main.js and lib.board.js
Migrate code from main.js to lib.main.js

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-23 16:39:36 +00:00
42bfe8fe85 Adjust icon sizing and minor style changes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 21:06:32 +00:00
7debbe4860 Frontend:
- PNG Fallback option for alert icon.
 - Styling of calling boxes.
 - Styling of departure board headers.

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 13:49:38 +00:00
4d36177d17 Frontend: Implement previous & next stops
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 12:37:25 +00:00
e15824381e Frontend: Add support for multiple Origin/Dest
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 10:38:30 +00:00
e8c6d3bfc5 Add operator names
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-22 10:30:02 +00:00
a3251a9061 Frontend: Move more images to SVG
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 22:53:56 +00:00
35e7a43237 Frontend:
- Minify SVG Files
 - Move all logos to default SVG with webp & png fallback
 - Update favicon & app icons

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 21:59:33 +00:00
7e5be79769 Add SVG Logos
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 20:57:00 +00:00
76bd9d93ec Fix loading again
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 20:35:11 +00:00
db2300e4f4 Fix loading box
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 20:33:15 +00:00
88ae58368e Frontend:
- Make all theme colours CSS Vars.
 - Dynamic text in loading box.

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-21 20:24:59 +00:00
a24642b3da Change position of no train services note
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-20 21:15:12 +00:00
7096995401 Frontend: Add support for bus services
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-20 20:48:59 +00:00
c03a2e2fb8 Frontend: Change alert msg when only one exists;
Frontend: Change pulse colour if service cancelled

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-20 20:02:47 +00:00
3148e4b8e9 Frontend: Implement NRCC Display
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-20 01:27:29 +00:00
d8e37f1b6d Frontend: Add base alert box.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-19 23:42:22 +00:00
302b749834 Frontend/Deployment work.
Deployment now serves minified GZipped files.

Frontend now has a responsive station title size.

Need to: Change to an nginx container version that supports Brotli - I am after all the speed!

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-19 16:53:18 +00:00
efb202577e Notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-19 01:19:45 +00:00
94063af0e4 Move static files to proxy container
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-19 00:40:36 +00:00
fa1597855c Frontend: Add platform change
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 21:38:35 +00:00
c221639c89 Frontend: Improve code tidyness
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 21:37:01 +00:00
393c59c1d7 Frontend: Implement display of train data
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 13:09:15 +00:00
04e66c3317 Add output table to board
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 11:02:29 +00:00
cbd71efb45 Fix JS Structure
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-18 01:25:01 +00:00
827e77dc8a Fixes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 13:56:17 +00:00
3a93e29e51 Frontend: QLS Settings under test
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 13:54:10 +00:00
f77d262808 Optimise image loading
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 00:57:53 +00:00
400953548f Add settings page
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-17 00:42:21 +00:00
2bcf147ebd Fix labels
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-16 11:40:38 +00:00
e4bdb1cc01 Add page conent to issue.html
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-16 10:32:36 +00:00
21c17be5ad Adjust styling for find-code
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-16 10:10:06 +00:00
a178a0b66b FRONTEND: Add code-find to menu and fix frontend version no.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 21:22:32 +00:00
4463e8c8f1 FRONTEND: Implement find-code API Calls
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 21:20:08 +00:00
4c6d66c5d9 Correct API endpoint
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 20:10:04 +00:00
908ded08a7 Frontend: Add API Call for find-code
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 20:09:00 +00:00
eb828896d0 Frontend: Add code-lookup page
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 20:00:18 +00:00
0d18fd6c26 Update error message display
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-15 00:17:28 +00:00
5e293d902b Frontend: Improve format of no scheduled trains msg.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-14 12:06:35 +00:00
f3f514b80d Frontend: Add support for 'No Scheduled Services'
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-14 11:45:41 +00:00
9434d7e3a8 Work on NRCC Notices
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-12 22:15:38 +00:00
dbb9903fee Fix window.location properties to match protocol.
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-01-12 20:55:22 +00:00
3439c2ea26 Implement notices 2023-01-11 23:18:00 +00:00
de834106b8 Implement the index form 2023-01-11 21:48:52 +00:00
2d3abdc84c Frontend: Implement time parsing 2023-01-11 15:00:12 +00:00
7592fd8a0c Tidy comments 2023-01-09 15:06:13 +00:00
18659bcbfb Add features:
- Frontend Fetch API
  - Frontend Parse Title
  - Frontend Parse Time
2023-01-09 15:05:27 +00:00
191811694b Add some text to the blank page 2022-12-23 21:38:27 +00:00
d9380b354f Organize client side code 2022-12-20 13:29:20 +00:00
f6202cf966 Fix wording on home 2022-12-20 13:05:18 +00:00
0572420d19 Frontend Changes 2022-12-20 12:45:31 +00:00
e1adaa0524 Begin front-end board work 2022-12-19 23:52:27 +00:00
f0a6b66cad Begin work on board.html page 2022-12-19 22:54:23 +00:00
dc6e40f3fa Make all head refs relative 2022-12-19 22:32:49 +00:00
b12d08791b Correct app name - there is no trailing s 2022-12-09 14:41:03 +00:00
7b757736ab Add webp logo images 2022-12-09 14:40:32 +00:00
8f10f59833 Update sidebar fonts 2022-12-08 22:21:46 +00:00
4b03fd83b7 Added and implemented URW Gothic Font 2022-12-08 22:06:49 +00:00
c4d668be81 Mainly frontend 2022-12-08 15:21:59 +00:00
1cf9c8cd66 General Development 2022-11-30 22:08:27 +00:00
f440ec90f7 Organize old files, add static serving 2022-11-30 14:32:36 +00:00