This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
web/find-code.html

60 lines
2.9 KiB
HTML
Raw Normal View History

2023-02-09 20:29:07 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="OwlBoard - Find CRS, TIPLOC & STANOX Codes with ease.">
2023-02-09 20:29:07 +00:00
<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="#00b7b7">
<link rel="apple-touch-icon" href="/images/app-icons/any/apple-192.png">
<link rel="stylesheet" type="text/css" href="./styles/main.css">
<link rel="stylesheet" type="text/css" href="./styles/find-code.css">
<link rel="icon" type="image/svg+xml" href="./images/icon.svg">
<link rel="manifest" type="application/json" href="./manifest.json">
2023-02-09 20:29:07 +00:00
<title>OwlBoard - Code Lookup</title>
<script src="./js/lib.main.js" defer></script>
<script src="./js/find-code.js" defer></script>
</head>
<body>
<div id="top_button" class="hide_micro">
<a href="/">
2023-05-08 21:36:23 +01:00
<picture class="sidebar_control">
2023-02-09 20:29:07 +00:00
<source srcset="/images/nav/back.svg" type="image/svg+xml">
2023-05-08 21:36:23 +01:00
<img aria-label="Home" src="back-40.png" alt="Home">
2023-02-09 20:29:07 +00:00
</picture>
</a>
</div>
<picture>
<source srcset="/images/logo/wide_logo.svg" type="image/svg+xml">
<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">
</picture>
<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-02-09 20:29:07 +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>
<div id="loading">
<div class="spinner">
</div>
<p id="loading_desc">Searching</p>
</div>
<label for="name">Location name:</label><br>
<input type="text" class="small-lookup-box" id="name" name="name" readonly><br>
2023-02-09 20:29:07 +00:00
<label for="3alpha">CRS/3ALPHA:</label><br>
2023-05-08 22:11:14 +01:00
<input type="text" class="small-lookup-box" id="3alpha" name="3alpha" maxlength="3" autocomplete="off"><br>
2023-02-09 20:29:07 +00:00
<label for="nlc">NLC:</label><br>
2023-05-08 22:11:14 +01:00
<input type="number" class="small-lookup-box" id="nlc" name="nlc" min="100000" max="999999" autocomplete="off"><br>
2023-02-09 20:29:07 +00:00
<label for="tiploc">TIPLOC:</label><br>
2023-05-08 22:11:14 +01:00
<input type="text" class="small-lookup-box" id="tiploc" name="tiploc" maxlength="7" autocomplete="off"><br>
2023-02-09 20:29:07 +00:00
<label for="stanox">STANOX:</label><br>
2023-05-08 22:11:14 +01:00
<input type="number" class="small-lookup-box" id="stanox" name="stanox" autocomplete="off"><br>
2023-02-09 20:29:07 +00:00
<input type="submit" value="Find" class="lookup-button" onclick="fetchEntry()">
<input type="submit" value="Clear" class="lookup-button" onclick="clearForm()">
</body>
</html>