2023-01-15 20:00:18 +00:00
|
|
|
<!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">
|
2023-02-05 19:54:00 +00:00
|
|
|
<meta name="theme-color" content="#00b7b7">
|
2023-02-05 19:08:38 +00:00
|
|
|
<link rel="apple-touch-icon" href="/images/app-icons/any/apple-192.png">
|
2023-01-18 01:25:01 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="./styles/main.css"/>
|
2023-01-16 10:10:06 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="./styles/find-code.css"/>
|
2023-01-21 21:59:33 +00:00
|
|
|
<link rel="icon" type="image/svg+xml" href="./images/icon.svg"/>
|
2023-01-15 20:00:18 +00:00
|
|
|
<link rel="manifest" type="application/json" href="./manifest.json"/>
|
|
|
|
<title>OwlBoard - Code Lookup</title>
|
2023-01-23 18:46:33 +00:00
|
|
|
<script src="./js/lib.main.js" defer></script>
|
2023-01-18 01:25:01 +00:00
|
|
|
<script src="./js/find-code.js" defer></script>
|
2023-01-15 20:00:18 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="top_button" class="hide_micro">
|
2023-02-08 10:28:12 +00:00
|
|
|
<a href="/">
|
|
|
|
<picture aria-label="Home" class="sidebar_control">
|
|
|
|
<source srcset="/images/nav/back.svg" type="image/svg+xml">
|
|
|
|
<img src="back-40.png" alt="Home">
|
|
|
|
</picture>
|
|
|
|
</a>
|
2023-01-15 20:00:18 +00:00
|
|
|
</div>
|
|
|
|
|
2023-01-21 21:59:33 +00:00
|
|
|
<picture>
|
|
|
|
<source srcset="/images/logo/wide_logo.svg" type="image/svg+xml">
|
2023-01-26 14:39:19 +00:00
|
|
|
<source media="(max-height: 739px)" srcset="/images/logo/logo-full-200.png" type="image/png">
|
|
|
|
<source srcset="/images/logo/logo-full-250.png" type="image/png">
|
|
|
|
<img class="titleimg" src="/images/logo/logo-full-250.png" alt="OwlBoard Logo">
|
2023-01-21 21:59:33 +00:00
|
|
|
</picture>
|
2023-01-15 20:00:18 +00:00
|
|
|
<h2>Code Lookup</h2>
|
|
|
|
<p>Enter one known code in the relevant box below and hit submit.
|
|
|
|
Where they exist, the other code types will be filled in.</p>
|
2023-01-16 11:40:38 +00:00
|
|
|
<p>You cannot yet lookup by location name as the values are not unique.</p>
|
|
|
|
<p>Location name search will be added in the future.</p>
|
2023-01-16 10:10:06 +00:00
|
|
|
|
|
|
|
<div id="loading">
|
|
|
|
<div class="spinner">
|
|
|
|
</div>
|
2023-01-21 20:24:59 +00:00
|
|
|
<p id="loading_desc">Searching</p>
|
2023-01-16 10:10:06 +00:00
|
|
|
</div>
|
|
|
|
|
2023-01-16 11:40:38 +00:00
|
|
|
<label for="name">Location name:</label><br>
|
|
|
|
<input type="text" class="small-lookup-box" id="name" name="name" readonly=""><br>
|
|
|
|
<label for="3alpha">CRS/3ALPHA:</label><br>
|
|
|
|
<input type="text" class="small-lookup-box" id="3alpha" name="3alpha" maxlength="3"><br>
|
|
|
|
<label for="nlc">NLC:</label><br>
|
|
|
|
<input type="number" class="small-lookup-box" id="nlc" name="nlc" min="100000" max="999999"><br>
|
|
|
|
<label for="tiploc">TIPLOC:</label><br>
|
|
|
|
<input type="text" class="small-lookup-box" id="tiploc" name="tiploc" maxlength="7"><br>
|
|
|
|
<label for="stanox">STANOX:</label><br>
|
|
|
|
<input type="number" class="small-lookup-box" id="stanox" name="stanox"><br>
|
|
|
|
<label for="stanme" hidden>STANME:</label><br>
|
|
|
|
<input type="test" class="small-lookup-box" id="stanme" name="stanme" readonly="" hidden><br>
|
|
|
|
<input type="submit" value="Find" class="lookup-button" onclick="fetchEntry()">
|
|
|
|
<input type="submit" value="Clear" class="lookup-button" onclick="clearForm()">
|
2023-01-15 20:00:18 +00:00
|
|
|
</body>
|
|
|
|
</html>
|