From 5e293d902bfa386310bd1f6ba6d4f2a0509898db Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 14 Jan 2023 12:06:35 +0000 Subject: [PATCH] Frontend: Improve format of no scheduled trains msg. Signed-off-by: Fred Boniface --- static/board.html | 2 +- static/styles/boards.css | 17 +++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/static/board.html b/static/board.html index ca6b3dd..47c768a 100644 --- a/static/board.html +++ b/static/board.html @@ -41,7 +41,7 @@

Connection Error, check your data connection. Retrying.

-

There are no scheduled services from this station

+

There are no scheduled train services from this station

diff --git a/static/styles/boards.css b/static/styles/boards.css index 0c43496..9988c04 100644 --- a/static/styles/boards.css +++ b/static/styles/boards.css @@ -45,16 +45,12 @@ margin-top: 150px; } -#err_not_found { - display: none; -} - -#err_no_data { - display: none; -} - -#err_conn { - display: none; +#no_services { + width: 75%; + margin: auto; + margin-top: 150px; + font-size: 20px; + font-weight: 900; } /* Fixed Content: */ @@ -69,6 +65,7 @@ #station_name { position: absolute; + margin-top: 10px; font-size: 15pt; left: 10px; text-transform: capitalize;