Bump version, add auth required
This commit is contained in:
parent
255382710f
commit
28e306cbdb
@ -36,9 +36,7 @@ async function insertData(json) {
|
||||
for(var i = 0; i < json.length; i++) { // Hopefully can style output with CSS
|
||||
tableData += `<tr><td class="pis-code">${json[i]['code']}</td>
|
||||
<td class="station">${json[i]['stops'].join(', ')}</td></tr>`
|
||||
log(`Count prior to incrementing: ${results}`)
|
||||
results++
|
||||
log(`Count after incrementing: ${results}`)
|
||||
}
|
||||
tableData += "</table>"
|
||||
div.insertAdjacentHTML("beforeend", tableData)
|
||||
|
2
pis.html
2
pis.html
@ -46,7 +46,7 @@
|
||||
<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 region only.</p>
|
||||
<p hidden>You must be logged into the free <a href="./settings.html">staff version</a> for this feature</p>
|
||||
<p id="auth-required">You must be logged into the free <a href="./settings.html">staff version</a> for this feature</p>
|
||||
<label for="origin">Origin:</label><br>
|
||||
<input type="text" class="small-lookup-box" id="origin" name="origin" maxlength="3"><br><br>
|
||||
<label for="destination">Destination:</label><br>
|
||||
|
@ -301,6 +301,10 @@ label {
|
||||
transition: 0.5s;
|
||||
}
|
||||
|
||||
#auth-required {
|
||||
color: crimson;
|
||||
}
|
||||
|
||||
/* Footer Styles */
|
||||
footer {
|
||||
background-color: var(--accent-color);
|
||||
|
Reference in New Issue
Block a user