pis #2

Merged
fred.boniface merged 76 commits from pis into main 2023-05-06 21:53:45 +01:00
2 changed files with 13 additions and 11 deletions
Showing only changes of commit ab452d985c - Show all commits

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,21 +43,22 @@
</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 class="crs-input"> <div id="crs-inputs">
<label for="origin">From:</label><br> <div class="crs-input">
<input type="text" class="small-lookup-box pis-input" id="origin" name="origin" maxlength="3"> <label for="origin">From:</label><br>
</div> <input type="text" class="small-lookup-box pis-input" id="origin" name="origin" maxlength="3">
<div class="crs-input"> </div>
<label for="destination">To:</label><br> <div class="crs-input">
<input type="text" class="small-lookup-box pis-input" id="destination" name="destination" maxlength="3"><br><br> <label for="destination">To:</label><br>
<input type="text" class="small-lookup-box pis-input" id="destination" name="destination" maxlength="3"><br><br>
</div>
</div> </div>
<input type="submit" value="Find" class="lookup-button">
</form> </form>
<input type="submit" value="Find" class="lookup-button">
</div> </div>
<div id="result-box"> <div id="result-box">