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/pis.html

76 lines
3.3 KiB
HTML
Raw Normal View History

2023-04-22 21:46:34 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
2023-04-30 21:55:56 +01:00
<meta charset="UTF-8">
<meta name="description" content="OwlBoard - Beta: Quick access to route codes for PIS Systems.">
2023-04-22 21:46:34 +01: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">
2023-04-30 21:55:56 +01:00
<link rel="stylesheet" type="text/css" href="./styles/main.css">
<link rel="stylesheet" type="text/css" href="./styles/pis.css">
<link rel="icon" type="image/svg+xml" href="./images/icon.svg">
<link rel="manifest" type="application/json" href="./manifest.json">
2023-04-22 21:46:34 +01:00
<title>OwlBoard - PIS</title>
<script src="./js/lib.main.js" defer></script>
<script src="./js/pis.js" defer></script>
</head>
<body>
<div id="top_button" class="hide_micro">
<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>
</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>PIS Codes</h2>
<div id="loading">
<div class="spinner">
</div>
<p id="loading_desc">Searching</p>
</div>
<div id="crs-box">
2023-04-30 21:18:46 +01:00
<p>Enter a services start and end station CRS codes to see code options and stopping patterns.</p>
2023-05-06 21:03:57 +01:00
<p>Currently supported (Beta): GWR: Up/Dn SVB-EXD, Dn CDF-PNZ, Up/Dn GMV/CDF-PMH, HEx<br>Duplicate stopping patterns have been removed.</p>
<p id="auth-required">You need to be logged into a free <a href="./settings.html">rail staff version</a> account for this feature.</p>
2023-04-30 21:18:46 +01:00
<form action="javascript:findByOrigDest();">
<div id="crs-inputs">
<div class="crs-input">
<label for="origin">From:</label><br>
<input type="text" class="small-lookup-box pis-input" id="origin" name="origin" maxlength="3">
</div>
<div class="crs-input">
<label for="destination">To:</label><br>
<input type="text" class="small-lookup-box pis-input" id="destination" name="destination" maxlength="3"><br><br>
</div>
2023-04-30 21:10:37 +01:00
</div>
2023-05-01 21:27:31 +01:00
<button type="submit" value="Find" class="lookup-button">Submit</button>
2023-04-30 21:10:37 +01:00
</form>
2023-04-22 21:46:34 +01:00
</div>
<div id="result-box">
2023-04-22 22:44:32 +01:00
<h3>Results: <span id="result-count">0</span></h3>
2023-04-22 21:46:34 +01:00
<!-- display: none; by default, some kind of box which shows each code
and destination individually with a previous and next arrow. -->
</div>
2023-05-01 21:27:31 +01:00
<button type="reset" id="reset" class="lookup-button" onclick="reset()">Reset</button>
2023-04-22 21:46:34 +01:00
<!-- Footer -->
<footer>
2023-04-28 13:52:26 +01:00
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - <span id="ver_str">d</span></p>
2023-04-22 21:46:34 +01:00
</footer>
</body>
</html>