Compare commits
2 Commits
b529b41911
...
4b297508f0
Author | SHA1 | Date |
---|---|---|
Fred Boniface | 4b297508f0 | |
Fred Boniface | dd61bd3af7 |
|
@ -60,7 +60,6 @@
|
|||
<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 -->
|
||||
|
|
|
@ -91,8 +91,9 @@ async function register() { // Registers a device by sending POST request to API
|
|||
showDone();
|
||||
hideLoading();
|
||||
return;
|
||||
}
|
||||
log(`settings.register: Error: Fetch returned: ${res.status}`, "err")
|
||||
} else if (res.status == 403)
|
||||
log(`settings.register: Error: Fetch returned: ${res.body['errorCode']}`, "err")
|
||||
document.getElementsByName("eml")[0].placeholder = "Not Authorised";
|
||||
} else {
|
||||
logout()
|
||||
}
|
||||
|
|
|
@ -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>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>
|
||||
<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>
|
||||
<button onclick="register()" class="lookup-button" id="reg_button">Register</button>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue