Add code registration page
This commit is contained in:
@@ -21,10 +21,10 @@
|
||||
|
||||
const pageText: string[] = [
|
||||
'<h3>Resgistration Errors</h3>' +
|
||||
"<p>There is an issue registering with GWR email addresses being caused by the phishing prevension system in use.</p>" +
|
||||
'<p>There is an issue registering with GWR email addresses being caused by the phishing prevension system in use.</p>' +
|
||||
'<p>You will be able to use Headcode and PIS lookups without registering.</p>' +
|
||||
'<p>Staff departure boards will remain unavailable unless registered due to sensitive information which may be shown.</p>' +
|
||||
'<p>Join the conversation on the <a href="https://www.facebook.com/owlboard.support">Facebook page</a> where updates will be given.</p>',
|
||||
'<p>Join the conversation on the <a href="https://www.facebook.com/owlboard.support">Facebook page</a> where updates will be given.</p>'
|
||||
];
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { dev } from '$app/environment';
|
||||
|
||||
const testUrl: string = 'http://localhost:8460'
|
||||
const prodUrl: string = 'https://owlboard.info'
|
||||
const testUrl: string = 'http://localhost:8460';
|
||||
const prodUrl: string = 'https://owlboard.info';
|
||||
|
||||
export function getApiUrl() {
|
||||
if (dev) {
|
||||
|
||||
@@ -11,8 +11,10 @@
|
||||
<span class="pis">PIS: {pisObject.code}</span>
|
||||
{:else if pisObject['skipCount'] > 0}
|
||||
<span class="pis">PIS: {pisObject.code}</span>
|
||||
<br>
|
||||
<span class="pis-text">(skip {pisObject.skipType}{#if pisObject.skipCount > 1} {" " + pisObject.skipCount} stops{:else} stop{/if})</span>
|
||||
<br />
|
||||
<span class="pis-text"
|
||||
>(skip {pisObject.skipType}{#if pisObject.skipCount > 1} {' ' + pisObject.skipCount} stops{:else} stop{/if})</span
|
||||
>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -28,4 +30,4 @@
|
||||
font-weight: 600;
|
||||
color: var(--main-text-color);
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -46,8 +46,10 @@
|
||||
<LoadingText />
|
||||
{:then serviceDetail}
|
||||
{#if serviceDetail.stpIndicator === 'C'}
|
||||
<p class="text-message">This has been removed from the timetable for today.<br /><br>
|
||||
The service will not run, another service may be running in its place.</p>
|
||||
<p class="text-message">
|
||||
This has been removed from the timetable for today.<br /><br />
|
||||
The service will not run, another service may be running in its place.
|
||||
</p>
|
||||
{:else}
|
||||
{#if serviceDetail.vstp}
|
||||
<div class="vstp">VSTP</div>
|
||||
|
||||
Reference in New Issue
Block a user