This commit is contained in:
Fred Boniface 2023-04-30 21:18:46 +01:00
parent a7b8fb36d4
commit ab452d985c
2 changed files with 13 additions and 11 deletions

View File

@ -63,4 +63,5 @@ async function reset() {
document.getElementById('result-box').style = 'display:none' document.getElementById('result-box').style = 'display:none'
document.getElementById('result-table').remove() document.getElementById('result-table').remove()
document.getElementById('crs-box').style = 'display:block' document.getElementById('crs-box').style = 'display:block'
document.getElementById('result-count').textContent = 0
} }

View File

@ -43,11 +43,11 @@
</div> </div>
<div id="crs-box"> <div id="crs-box">
<p>Enter a services start and end station CRS codes to see code options and <p>Enter a services start and end station CRS codes to see code options and stopping patterns.</p>
stopping patterns.</p>
<p>Currently supported (Beta): GWR: Bristol Metro, WOS & CDF Southbound.</p> <p>Currently supported (Beta): GWR: Bristol Metro, WOS & CDF Southbound.</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> <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>
<form id = "crs-inputs" action="javascript:findByOrigDest();"> <form action="javascript:findByOrigDest();">
<div id="crs-inputs">
<div class="crs-input"> <div class="crs-input">
<label for="origin">From:</label><br> <label for="origin">From:</label><br>
<input type="text" class="small-lookup-box pis-input" id="origin" name="origin" maxlength="3"> <input type="text" class="small-lookup-box pis-input" id="origin" name="origin" maxlength="3">
@ -56,8 +56,9 @@
<label for="destination">To:</label><br> <label for="destination">To:</label><br>
<input type="text" class="small-lookup-box pis-input" id="destination" name="destination" maxlength="3"><br><br> <input type="text" class="small-lookup-box pis-input" id="destination" name="destination" maxlength="3"><br><br>
</div> </div>
</form> </div>
<input type="submit" value="Find" class="lookup-button"> <input type="submit" value="Find" class="lookup-button">
</form>
</div> </div>
<div id="result-box"> <div id="result-box">