Fred Boniface
302b749834
Deployment now serves minified GZipped files. Frontend now has a responsive station title size. Need to: Change to an nginx container version that supports Brotli - I am after all the speed! Signed-off-by: Fred Boniface <fred@fjla.uk>
82 lines
2.9 KiB
HTML
82 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<meta name="description" content="OwlBoard - Live train departures for traincrew."/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="application-name" content="OwlBoard">
|
|
<meta name="author" content="Frederick Boniface">
|
|
<meta name="theme-color" content="#155bb7">
|
|
<title>OwlBoard - Loading</title>
|
|
<link rel="stylesheet" type="text/css" href="./styles/main.css"/>
|
|
<link rel="stylesheet" type="text/css" href="./styles/boards.css"/>
|
|
<link rel="icon" type="image/png" href="./images/logo/logo-sq-256.png"/>
|
|
<link rel="manifest" type="application/json" href="./manifest.json"/>
|
|
<script src="./js/main.js" defer></script>
|
|
<script src="./js/boards.js" defer></script>
|
|
<script src="./js/public-board.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<div id="loading">
|
|
<div class="spinner">
|
|
</div>
|
|
<p>Loading</p>
|
|
</div>
|
|
|
|
<div id="content">
|
|
<div id="header">
|
|
<div id="station_name">
|
|
<h1 id="stn_name" class="header-large"></h1>
|
|
</div>
|
|
<div id="header-right">
|
|
<p class="header-small">Data from:</p>
|
|
<p id="fetch_time" class="header-small">Loading...</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nrcc_notices">
|
|
<p>
|
|
Example NRCC Message Here... ... ...
|
|
NRCC Messages can sometimes be long, and sometimes
|
|
short so this must be accounted for.
|
|
</p>
|
|
</div>
|
|
|
|
<div id="output">
|
|
<table>
|
|
<tr>
|
|
<th class="name">Origin</th>
|
|
<th class="name">Dest.</th>
|
|
<th class="plat">Plat.</th>
|
|
<th class="time">Sch Arr.</th>
|
|
<th class="time">Exp Arr.</th>
|
|
<th class="time">Sch Dep.</th>
|
|
<th class="time">Exp Dep.</th>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="ferry" class="hide-when-loading">
|
|
<p>Ferry Services</p>
|
|
</div>
|
|
|
|
<div id="error_notice" class="main-notice hide-when-loading">
|
|
<h1 class="error">Oops</h1>
|
|
<p class="error">There was an error with your request</p>
|
|
<p id="err_not_found" class="notices-hidden">The station you are searching for cannot be found</p>
|
|
<p id="err_no_data" class="notices-hidden">The station has no data. It may not be in operation yet/anymore.</p>
|
|
<p id="err_conn" class="notices-hidden">Connection Error, check your data connection. Retrying.</p>
|
|
</div>
|
|
<div id="no_services" class="main-notice hidden-whille-loading">
|
|
<p>There are no scheduled train services from this station</p>
|
|
</div>
|
|
|
|
<div id="footer">
|
|
<picture>
|
|
<source srcset="./images/nre/nre-powered_200w.webp" type="image/webp">
|
|
<img id="nre_logo" src="./images/nre/nre-powered_200w.webp" alt="Powered by National Rail Enquiries">
|
|
</picture>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |