From 0d18fd6c2699eac81b40ebcfe1265c22c2538648 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sun, 15 Jan 2023 00:17:28 +0000 Subject: [PATCH] Update error message display Signed-off-by: Fred Boniface --- static/board.html | 8 ++++---- static/index.html | 1 + static/styles/boards.css | 4 ++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/static/board.html b/static/board.html index 47c768a..9a83022 100644 --- a/static/board.html +++ b/static/board.html @@ -6,7 +6,7 @@ - OwlBoard - Loading + OwlBoard - Loading @@ -36,9 +36,9 @@

Oops

There was an error with your request

-

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.

+

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.

There are no scheduled train services from this station

diff --git a/static/index.html b/static/index.html index 1bbdf8d..d54b562 100644 --- a/static/index.html +++ b/static/index.html @@ -66,6 +66,7 @@

This is a development release and is under testing.

Departure boards do not yet work.

+

API Responses are being cached for a long time, any data you access may be stale

diff --git a/static/styles/boards.css b/static/styles/boards.css index 9988c04..d7835c4 100644 --- a/static/styles/boards.css +++ b/static/styles/boards.css @@ -45,6 +45,10 @@ margin-top: 150px; } +.notices-hidden { + display: none; +} + #no_services { width: 75%; margin: auto;