Compare commits
No commits in common. "8194ac0f5b0d5d62b9fa14a26d42ade281db932c" and "f525466b84f4be4338f0330ca5b2a866d2963ca7" have entirely different histories.
8194ac0f5b
...
f525466b84
|
@ -165,13 +165,6 @@ async function getApi(path,auth = false) {
|
|||
}
|
||||
}
|
||||
|
||||
async function showHideAuthNotice() {
|
||||
let uuid = localStorage.getItem("uuid")
|
||||
if (uuid) {
|
||||
document.getElementById('auth-notice').style = 'display:none'
|
||||
}
|
||||
}
|
||||
|
||||
async function vibe(type) {
|
||||
let canVibrate = "vibrate" in navigator || "mozVibrate" in navigator
|
||||
if (canVibrate && !("vibrate" in navigator)){
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
hideLoading()
|
||||
versionDisplay()
|
||||
showHideAuthNotice()
|
||||
|
||||
async function findByOrigDest() {
|
||||
showLoading()
|
||||
|
|
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 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 will need to be logged into a free <a href="./settings.html">rail staff version</a> account for this feature once it has finished testing.</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>
|
||||
|
|
Reference in New Issue