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-table').remove()
document.getElementById('crs-box').style = 'display:block'
document.getElementById('result-count').textContent = 0
}

View File

@ -43,21 +43,22 @@
</div>
<div id="crs-box">
<p>Enter a services start and end station CRS codes to see code options and
stopping patterns.</p>
<p>Enter a services start and end station CRS codes to see code options and stopping patterns.</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>
<form id = "crs-inputs" action="javascript:findByOrigDest();">
<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>
<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>
</div>
<input type="submit" value="Find" class="lookup-button">
</form>
<input type="submit" value="Find" class="lookup-button">
</div>
<div id="result-box">