This repository has been archived on 2023-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
athena.fb-infra.uk/index.php

69 lines
2.6 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<?php include './page-blocks/headers.php';?>
<title>Athena</title>
<script src="/js/tiploc-finder.js" async></script>
</head>
<body>
<!-- Popup Menu -->
<?php require "./page-blocks/nav-menu.php";?>
<!-- Main Content Begins -->
<img class="titleimg" src="/assets/title/title.webp"></img>
<br>
<input class="lookup-box" type="text" id="crs-lookup" name="crs-lookup" placeholder="Enter CRS/TIPLOC"/>
<br>
<button class="lookup-button" onclick="getTextEntry()">Lookup Departure Board</button>
<br>
<br>
<h2>Quick Links</h2>
<button class="quicklink" onclick="gotoInfoBoard('bathspa')">BTH</button>
<button class="quicklink" onclick="gotoInfoBoard('brstltm')">BRI</button>
<button class="quicklink" onclick="gotoInfoBoard('brstpwy')">BPW</button>
<button class="quicklink" onclick="gotoInfoBoard('crdfcen')">CDF</button>
<button class="quicklink" onclick="gotoInfoBoard('gloster')">GCR</button>
<button class="quicklink" onclick="gotoInfoBoard('oldfldp')">OLF</button>
<button class="quicklink" onclick="gotoInfoBoard('soton')">SOU</button>
<button class="quicklink" onclick="gotoInfoBoard('wstbryw')">WSB</button>
<button class="quicklink" onclick="gotoInfoBoard('wsmare')">WSM</button>
<br>
<br>
<p>This is an Alpha release and is under testing.</p>
<p>Some features may not work and some stations may not be available.</p>
<!-- Popup Boxes (Usually Hidden with CSS) -->
<div id="popup-about" class="popup-info">
<img onclick="closeAboutPopup()" class="popup-close" src="/assets/icons/close-circle.png"></img>
<h2>Help</h2>
<p>Just type in a three character CRS code or a TIPLOC into the text
box and tap the Lookup button.</p>
<p>If you enter a TIPLOC, this will not be verified - if it is
incorrect or unavailable on Tiger, you will be redirected to a
blank board. CRS codes will be verified against a lookup file
before redirecting.</p>
<p>Some stations are not on Tiger and these stations are not supported
here either. Notably TfW and Chiltern stations that border the GWR
network. Most GWR Central served stations are now available to
lookup.</p>
<p>I am working on a new version that will provide data for every
station in the National Rail database.</p>
</div>
<!-- Footer -->
<?php include "./page-blocks/footer.php" ?>
</body>
</html>