Frontend: Improve format of no scheduled trains msg.

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-01-14 12:06:35 +00:00
parent dea8221054
commit 5e293d902b
2 changed files with 8 additions and 11 deletions

View File

@ -41,7 +41,7 @@
<p id="err_conn">Connection Error, check your data connection. Retrying.</p> <p id="err_conn">Connection Error, check your data connection. Retrying.</p>
</div> </div>
<div id="no_services" class="main-notice hidden-whille-loading"> <div id="no_services" class="main-notice hidden-whille-loading">
<p>There are no scheduled services from this station</p> <p>There are no scheduled train services from this station</p>
</div> </div>
<div id="output"> <div id="output">

View File

@ -45,16 +45,12 @@
margin-top: 150px; margin-top: 150px;
} }
#err_not_found { #no_services {
display: none; width: 75%;
} margin: auto;
margin-top: 150px;
#err_no_data { font-size: 20px;
display: none; font-weight: 900;
}
#err_conn {
display: none;
} }
/* Fixed Content: */ /* Fixed Content: */
@ -69,6 +65,7 @@
#station_name { #station_name {
position: absolute; position: absolute;
margin-top: 10px;
font-size: 15pt; font-size: 15pt;
left: 10px; left: 10px;
text-transform: capitalize; text-transform: capitalize;