From 28e306cbdba0a1afae66d79e87155b82bdf1428f Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 25 Apr 2023 20:56:59 +0100 Subject: [PATCH] Bump version, add auth required --- js/pis.js | 2 -- pis.html | 2 +- styles/main.css | 4 ++++ sw.js | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/js/pis.js b/js/pis.js index 1bb214a..e373729 100644 --- a/js/pis.js +++ b/js/pis.js @@ -36,9 +36,7 @@ async function insertData(json) { for(var i = 0; i < json.length; i++) { // Hopefully can style output with CSS tableData += `${json[i]['code']} ${json[i]['stops'].join(', ')}` - log(`Count prior to incrementing: ${results}`) results++ - log(`Count after incrementing: ${results}`) } tableData += "" div.insertAdjacentHTML("beforeend", tableData) diff --git a/pis.html b/pis.html index 0b04c0b..6eb0f16 100644 --- a/pis.html +++ b/pis.html @@ -46,7 +46,7 @@

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

Currently supported (Beta): GWR Bristol Metro region only.

- +

You must be logged into the free staff version for this feature





diff --git a/styles/main.css b/styles/main.css index e32ff31..7b9944c 100644 --- a/styles/main.css +++ b/styles/main.css @@ -301,6 +301,10 @@ label { transition: 0.5s; } +#auth-required { + color: crimson; +} + /* Footer Styles */ footer { background-color: var(--accent-color); diff --git a/sw.js b/sw.js index 8151cc7..fb60144 100644 --- a/sw.js +++ b/sw.js @@ -1,6 +1,6 @@ /* Service Worker */ -const appVersion = "1.2.4-dev-pis" +const appVersion = "PIS-DEV-23042501" const cacheName = `owlboard-${appVersion}`; const cacheIDs = [cacheName]; const cacheFiles = [