Compare commits

..

No commits in common. "4b297508f091a6ef8cc5a6b76272fe1e5650781f" and "b529b41911154b9c2af26c3a4f62eb1d83884699" have entirely different histories.

3 changed files with 7 additions and 7 deletions

View File

@ -60,6 +60,7 @@
<div id="quick_links">
</div>
<div class="text-description">
<p>A fault with our bandwidth provider is causing intermittent connectivity. Apologies for any inconvenience.</p>
<p>Customise your quick links on the <a href="/settings.html">Settings</a> page.</p>
</div>
<!-- Footer -->

View File

@ -91,9 +91,8 @@ async function register() { // Registers a device by sending POST request to API
showDone();
hideLoading();
return;
} else if (res.status == 403)
log(`settings.register: Error: Fetch returned: ${res.body['errorCode']}`, "err")
document.getElementsByName("eml")[0].placeholder = "Not Authorised";
}
log(`settings.register: Error: Fetch returned: ${res.status}`, "err")
} else {
logout()
}

View File

@ -71,10 +71,10 @@
<label>Register for Rail Staff Version:</label>
<p id="reg_text">Enter your work email address:</p>
<input type="text" maxlength="128" id="eml" name="eml" autocomplete="email" class="lookup-box" placeholder="Not yet available"><br>
<p>One registration confirmation email will be sent which will include more details about your account</p>
<p>Your address will not be stored</p>
<p>If your domain is not authorised and you are a using a railway company email address,
<a href="./issue.html">submit an issue</a> and it can be added.</p>
<p>Once you've registered you will receive an email with a link to create your access key.</p>
<p>Your email address is not stored by OwlBoard, accounts do not contain any identifying information and are automatically removed after three months of inactivity.</p>
<p>You can use the same email address again on multiple devices.</p>
<button onclick="register()" class="lookup-button" id="reg_button">Register</button>
</body>
</html>