From 7e89447816d4958bcc8e268e112af4f06d4d52fa Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 8 May 2023 21:06:48 +0100 Subject: [PATCH] Lint fixes, expand help, deep links --- board-staff.html | 2 +- help.html | 62 ++++++++++++++++++++++++++++-------------------- js/lib.main.js | 2 +- pis.html | 14 +++++------ settings.html | 6 ++--- sw.js | 2 +- 6 files changed, 49 insertions(+), 39 deletions(-) diff --git a/board-staff.html b/board-staff.html index fe8f827..9a741ed 100644 --- a/board-staff.html +++ b/board-staff.html @@ -111,7 +111,7 @@

Oops

There was an error with your request

-

You are not authorised to view staff versions, you can sign up in settings

+

You are not authorised to view staff versions, you can sign up in settings

The station you are searching for cannot be found

The station has no data. It may not be in operation yet/anymore.

Connection Error, check your data connection. Retrying.

diff --git a/help.html b/help.html index 479604f..75ae5fe 100644 --- a/help.html +++ b/help.html @@ -1,18 +1,18 @@ - - - + + + - - - - - + + + + + OwlBoard @@ -20,41 +20,47 @@ - - - OwlBoard Logo + + + OwlBoard Logo

Help

-

OwlBoard gives you quick and easy access to departure boards for - all National Rail stations in the UK.

-

Just type a CRS, TIPLOC or STANOX into the textbox on the homepage and tap +

OwlBoard gives you quick and easy access to departure boards for + all National Rail stations in the UK. It replaces Athena + and adds location reference codes, PIS code lookups and gives faster access to departure boards.

+

Just type a CRS, TIPLOC or STANOX into the textbox on the homepage and tap enter on the screen or your keypad. You can also select a differnt board type, more details on your choices below.

-

For example, Portway Park & - Ride's CRS is 'PRI', and its TIPLOC is 'PTWYPR'; Portsmouth Harbour's - CRS is 'PMH', and its TIPLOC is 'PHBR'.

-

A CRS is always three letters, - a TIPLOC can be between 4-7 letters.

+

For example, Portway Park & Ride's CRS is 'PRI', and its TIPLOC is 'PTWYPR'; + Portsmouth Harbour's CRS is 'PMH', and its TIPLOC is 'PHBR'.

+

A CRS is always three letters, a TIPLOC can be between 4-7 letters or numbers.


Don't know the CRS or TIPLOC?

-

Sorry, you can't search by name but you can use our +

Sorry, you can't search by name but you can use our Code Lookup page to help.

Board Types

Basic Board - Default

-

The basic board shows the next 10 train arrival and departures, as well as +

The basic board shows the next 10 train arrival and departures, as well as bus and ferry departures where available.

You can tap on a trains origin or destination to see service details.


+

PIS Lookup

+

PIS Codes are used on-train to tell the PIS system the stopping patter of the + service. Some systems allow you to enter the headcode and will then load the + stops, but others require a code to be input into the system.

+

Once you are logged in to the Rail Staff + Version of OwlBoard you can lookup PIS Codes by typing in the CRS code of + the first and last stop of your service. Lookup by headcode is being worked on.

Glossary

Some of the terms may be new to you or different from those commonly used.

@@ -72,7 +78,7 @@ - + @@ -86,6 +92,10 @@ + + + +
NLCNational Location Code - Used for finance & accountingNational Location Code - Used for finance & accounting
RTTIPLOC Timing Point Location (Name)
PISPassenger Information System (or Passenger Information Screems)

Spotted an issue with the site?

diff --git a/js/lib.main.js b/js/lib.main.js index 60d68c8..846e9aa 100644 --- a/js/lib.main.js +++ b/js/lib.main.js @@ -1,5 +1,5 @@ /* All Page Init */ -const version = '2.0.1' +const version = '2.0.2' /* Feature Detectors */ diff --git a/pis.html b/pis.html index 3791736..24966b8 100644 --- a/pis.html +++ b/pis.html @@ -7,7 +7,7 @@ - + @@ -20,10 +20,10 @@ @@ -45,7 +45,7 @@

Enter a services start and end station CRS codes to see code options and stopping patterns.

Currently supported (Beta): GWR: Up/Dn SVB-EXD, Dn CDF-PNZ, Up/Dn GMV/CDF-PMH, Up/Dn GMV-CDF/SOU via Kemble, HEx
Duplicate stopping patterns have been removed.

-

You need to be logged into a free rail staff version account for this feature.

+

You need to be logged into a free rail staff version account for this feature.

@@ -70,7 +70,7 @@ \ No newline at end of file diff --git a/settings.html b/settings.html index cf8a6dd..b8d64c1 100644 --- a/settings.html +++ b/settings.html @@ -36,9 +36,9 @@ @@ -69,7 +69,7 @@


- +

Enter your work email address:


One registration confirmation email will be sent which will include more details about your account

diff --git a/sw.js b/sw.js index 29c7315..78302d4 100644 --- a/sw.js +++ b/sw.js @@ -1,6 +1,6 @@ /* Service Worker */ -const swVersion = '2.0.1-20230508' +const swVersion = '2.0.2-20230508' const cacheName = `owlboard-${swVersion}` const cacheIDs = [cacheName] let staticCache = [