Reformat
This commit is contained in:
@@ -11,10 +11,7 @@
|
||||
|
||||
{#if $page.status === 404}
|
||||
<p>This is not the page you're looking for.</p>
|
||||
<p>
|
||||
The page you are looking for doesn't exist, use the tabs below to find
|
||||
another page.
|
||||
</p>
|
||||
<p>The page you are looking for doesn't exist, use the tabs below to find another page.</p>
|
||||
{:else if $page.status === 500}
|
||||
<p>
|
||||
Something went wrong loading the app.<br />
|
||||
@@ -22,10 +19,7 @@
|
||||
</p>
|
||||
<p>If the problem persists, you can report an issue from the 'More' menu.</p>
|
||||
{:else}
|
||||
<p>
|
||||
Not sure what went wrong, please try again later or report an issue from the
|
||||
'More' menu.
|
||||
</p>
|
||||
<p>Not sure what went wrong, please try again later or report an issue from the 'More' menu.</p>
|
||||
{/if}
|
||||
|
||||
<Nav />
|
||||
|
||||
@@ -6,10 +6,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="application-name" content="OwlBoard" />
|
||||
<meta name="author" content="Frederick Boniface" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Live train data, PIS Codes & reference data. Built by railway staff, for railway staff."
|
||||
/>
|
||||
<meta name="description" content="Live train data, PIS Codes & reference data. Built by railway staff, for railway staff." />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="theme-color" content="#00b7b7" />
|
||||
<link rel="icon" href="/images/icon.svg" type="image/svg+xml" />
|
||||
|
||||
@@ -10,13 +10,8 @@
|
||||
<LargeLogo />
|
||||
<p class="neg">© 2022-2023 Frederick Boniface</p>
|
||||
<p>OwlBoard was created by train-crew for train-crew</p>
|
||||
<p>
|
||||
I created OwlBoard in 2022 to freely give fast and easy access to the
|
||||
information that we need every day.
|
||||
</p>
|
||||
<p>
|
||||
Data sourced from: National Rail Enquiries, OwlBoard Project and Network Rail.
|
||||
</p>
|
||||
<p>I created OwlBoard in 2022 to freely give fast and easy access to the information that we need every day.</p>
|
||||
<p>Data sourced from: National Rail Enquiries, OwlBoard Project and Network Rail.</p>
|
||||
<p>
|
||||
OwlBoard components are available under various Open Source licenses, see the
|
||||
<a href="https://git.fjla.uk/OwlBoard" target="_blank">code repository</a>
|
||||
|
||||
@@ -82,46 +82,15 @@
|
||||
<form on:submit={submit}>
|
||||
<input type="text" readonly placeholder="Name" bind:value={val.name} />
|
||||
<br />
|
||||
<input
|
||||
type="text"
|
||||
maxlength="3"
|
||||
autocomplete="off"
|
||||
placeholder="CRS/3ALPHA"
|
||||
bind:value={val.crs}
|
||||
/>
|
||||
<input type="text" maxlength="3" autocomplete="off" placeholder="CRS/3ALPHA" bind:value={val.crs} />
|
||||
<br />
|
||||
<input
|
||||
type="text"
|
||||
maxlength="7"
|
||||
autocomplete="off"
|
||||
placeholder="TIPLOC"
|
||||
bind:value={val.tiploc}
|
||||
/>
|
||||
<input type="text" maxlength="7" autocomplete="off" placeholder="TIPLOC" bind:value={val.tiploc} />
|
||||
<br />
|
||||
<input
|
||||
type="text"
|
||||
maxlength="10"
|
||||
autocomplete="off"
|
||||
placeholder="STANOX"
|
||||
bind:value={val.stanox}
|
||||
/>
|
||||
<input type="text" maxlength="10" autocomplete="off" placeholder="STANOX" bind:value={val.stanox} />
|
||||
<br />
|
||||
<input
|
||||
type="number"
|
||||
maxlength="6"
|
||||
min="0"
|
||||
autocomplete="off"
|
||||
placeholder="NLC"
|
||||
bind:value={val.nlc}
|
||||
/>
|
||||
<input type="number" maxlength="6" min="0" autocomplete="off" placeholder="NLC" bind:value={val.nlc} />
|
||||
<br />
|
||||
<input
|
||||
type="text"
|
||||
readonly
|
||||
autocomplete="off"
|
||||
placeholder="UIC"
|
||||
bind:value={val.uic}
|
||||
/>
|
||||
<input type="text" readonly autocomplete="off" placeholder="UIC" bind:value={val.uic} />
|
||||
<br />
|
||||
<button type="submit">Submit</button>
|
||||
<button type="reset" on:click={reset}>Reset</button>
|
||||
|
||||
@@ -35,17 +35,9 @@
|
||||
|
||||
<Header {title} />
|
||||
|
||||
<p>
|
||||
OwlBoard stores as little data about you as possible to offer the service.
|
||||
</p>
|
||||
<p>
|
||||
Your randomly generated UUID is not displayed, this is stored in your browser
|
||||
and on the OwlBoard server.
|
||||
</p>
|
||||
<p>
|
||||
The data below is the entirity of the data we hold about you and constitutes a
|
||||
response to a `Subject Access Request` under GDPR legislation.
|
||||
</p>
|
||||
<p>OwlBoard stores as little data about you as possible to offer the service.</p>
|
||||
<p>Your randomly generated UUID is not displayed, this is stored in your browser and on the OwlBoard server.</p>
|
||||
<p>The data below is the entirity of the data we hold about you and constitutes a response to a `Subject Access Request` under GDPR legislation.</p>
|
||||
<br /><br />
|
||||
|
||||
{#if isLoading}
|
||||
@@ -54,9 +46,7 @@
|
||||
<p class="api_response">Registration Domain: {data[0]['domain']}</p>
|
||||
<p class="api_response">Access Time: {data[0]['atime']}</p>
|
||||
{:else}
|
||||
<p class="api_response">
|
||||
You are not registered, we don't have any data stored.
|
||||
</p>
|
||||
<p class="api_response">You are not registered, we don't have any data stored.</p>
|
||||
{/if}
|
||||
|
||||
<Nav />
|
||||
|
||||
@@ -7,57 +7,32 @@
|
||||
<Header {title} />
|
||||
<div>
|
||||
<p>
|
||||
OwlBoard stores the minimum amount of data necessary to provide its
|
||||
functions for your use. No personal data is stored unless you report an
|
||||
issue. To review the specific data that we store, please visit <a
|
||||
href="/more/data">My Data</a
|
||||
>.
|
||||
</p>
|
||||
<p>
|
||||
OwlBoard does not utilize any cookies. IP addresses and browser fingerprints
|
||||
are not logged.
|
||||
OwlBoard stores the minimum amount of data necessary to provide its functions for your use. No personal data is stored unless you report an issue. To review the specific data
|
||||
that we store, please visit <a href="/more/data">My Data</a>.
|
||||
</p>
|
||||
<p>OwlBoard does not utilize any cookies. IP addresses and browser fingerprints are not logged.</p>
|
||||
<h2>If You Do Not Sign Up</h2>
|
||||
<p>
|
||||
If you choose not to sign up, no personal data will be processed or stored
|
||||
unless you report an issue. Any personal settings are stored locally in your
|
||||
browser and do not leave your device.
|
||||
If you choose not to sign up, no personal data will be processed or stored unless you report an issue. Any personal settings are stored locally in your browser and do not leave
|
||||
your device.
|
||||
</p>
|
||||
<h2>If You Sign Up</h2>
|
||||
<p>
|
||||
If you sign up for the rail staff version of OwlBoard, we do require the
|
||||
storage of some data. However, none of this data can be used to personally
|
||||
identify you. Any personal settings are stored locally in your browser and
|
||||
do not leave your device.
|
||||
If you sign up for the rail staff version of OwlBoard, we do require the storage of some data. However, none of this data can be used to personally identify you. Any personal
|
||||
settings are stored locally in your browser and do not leave your device.
|
||||
</p>
|
||||
<p>
|
||||
During the sign-up process, you will be asked to provide a work email
|
||||
address, which will be checked to confirm its origin from a railway company.
|
||||
Once confirmed, an email containing a registration link will be sent to you.
|
||||
At this point, the username portion of your email address is discarded. For
|
||||
example, if your email address is 'a-user@owlboard.info', only
|
||||
'owlboard.info' will be stored. This host portion of your email address is
|
||||
stored to filter and display relevant results prominently.
|
||||
</p>
|
||||
<p>
|
||||
The email server may store the address and message content as part of its
|
||||
regular operation, and your consent to this is implied when you sign up.
|
||||
</p>
|
||||
<p>
|
||||
In addition to the host portion of your email address, a randomly generated
|
||||
UUID is stored for the purpose of authorizing access to the rail staff data.
|
||||
During the sign-up process, you will be asked to provide a work email address, which will be checked to confirm its origin from a railway company. Once confirmed, an email
|
||||
containing a registration link will be sent to you. At this point, the username portion of your email address is discarded. For example, if your email address is
|
||||
'a-user@owlboard.info', only 'owlboard.info' will be stored. This host portion of your email address is stored to filter and display relevant results prominently.
|
||||
</p>
|
||||
<p>The email server may store the address and message content as part of its regular operation, and your consent to this is implied when you sign up.</p>
|
||||
<p>In addition to the host portion of your email address, a randomly generated UUID is stored for the purpose of authorizing access to the rail staff data.</p>
|
||||
<h2>Reporting an Issue</h2>
|
||||
<p>When you report an issue, certain data is collected, including your browser's User Agent string and the size of the window in which you are viewing the website.</p>
|
||||
<p>
|
||||
When you report an issue, certain data is collected, including your
|
||||
browser's User Agent string and the size of the window in which you are
|
||||
viewing the website.
|
||||
</p>
|
||||
<p>
|
||||
Any data submitted when reporting an issue will be publicly viewable
|
||||
alongside the <a
|
||||
href="https://git.fjla.uk/owlboard/backend/issues"
|
||||
target="_blank">OwlBoard/backend git repository</a
|
||||
Any data submitted when reporting an issue will be publicly viewable alongside the <a href="https://git.fjla.uk/owlboard/backend/issues" target="_blank"
|
||||
>OwlBoard/backend git repository</a
|
||||
>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -64,18 +64,9 @@
|
||||
</script>
|
||||
|
||||
<Header {title} />
|
||||
<p>
|
||||
A reason code is a three digit number that maps to a reason for a delay or
|
||||
cancellation
|
||||
</p>
|
||||
<p>A reason code is a three digit number that maps to a reason for a delay or cancellation</p>
|
||||
<form on:submit={handleSubmit}>
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Enter Code"
|
||||
autocomplete="off"
|
||||
bind:value={inputValue}
|
||||
on:input={handleInput}
|
||||
/>
|
||||
<input type="text" placeholder="Enter Code" autocomplete="off" bind:value={inputValue} on:input={handleInput} />
|
||||
|
||||
<br />
|
||||
|
||||
@@ -105,8 +96,7 @@
|
||||
border-radius: 50px;
|
||||
border: none;
|
||||
text-align: center;
|
||||
font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular',
|
||||
'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
||||
font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 15px;
|
||||
}
|
||||
@@ -118,8 +108,7 @@
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
padding: 5px;
|
||||
font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular',
|
||||
'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
||||
font-family: urwgothic, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
background-color: var(--overlay-color);
|
||||
|
||||
@@ -62,47 +62,23 @@
|
||||
<li>Display up to 40 services</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<p>
|
||||
To register, you will need to enter a work email address to receive a
|
||||
confirmation email
|
||||
</p>
|
||||
<p>To register, you will need to enter a work email address to receive a confirmation email</p>
|
||||
<form on:submit={request}>
|
||||
<input
|
||||
type="text"
|
||||
autocomplete="email"
|
||||
placeholder="Enter work email"
|
||||
bind:value={inputValue}
|
||||
on:input={handleInput}
|
||||
/><br />
|
||||
<input type="text" autocomplete="email" placeholder="Enter work email" bind:value={inputValue} on:input={handleInput} /><br />
|
||||
<label for="checkbox">
|
||||
I have read and accept the terms of the <a href="/more/privacy"
|
||||
>Privacy Policy</a
|
||||
><br />
|
||||
I have read and accept the terms of the <a href="/more/privacy">Privacy Policy</a><br />
|
||||
<input id="checkbox" type="checkbox" required />
|
||||
</label><br />
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
{:else if state == 'sent'}
|
||||
<p>
|
||||
An email has been sent, click the link in the email to activate your
|
||||
profile.
|
||||
</p>
|
||||
<p>
|
||||
When you click the link, your authorisation key will be automatically be
|
||||
stored in your browser.
|
||||
</p>
|
||||
<p>
|
||||
If you use multiple browsers, you will only be logged in using the browser
|
||||
you open the link with.
|
||||
</p>
|
||||
<p>An email has been sent, click the link in the email to activate your profile.</p>
|
||||
<p>When you click the link, your authorisation key will be automatically be stored in your browser.</p>
|
||||
<p>If you use multiple browsers, you will only be logged in using the browser you open the link with.</p>
|
||||
<p>You will be able to register again using the same email address</p>
|
||||
{:else if state == 'unauth'}
|
||||
<p>
|
||||
The email address you entered does not belong to an authorised business.
|
||||
</p>
|
||||
<p>
|
||||
If you think this is an error, you can report an issue in the 'More' menu.
|
||||
</p>
|
||||
<p>The email address you entered does not belong to an authorised business.</p>
|
||||
<p>If you think this is an error, you can report an issue in the 'More' menu.</p>
|
||||
{:else if state == 'error'}
|
||||
<p>There was an error processing your request.</p>
|
||||
<p>Check that the email you entered was correct or try again later.</p>
|
||||
@@ -120,8 +96,7 @@
|
||||
height: 40px;
|
||||
width: 80%;
|
||||
max-width: 375px;
|
||||
font-family: urwgothic, 'Franklin Gothic Medium', 'Arial Narrow', Arial,
|
||||
sans-serif;
|
||||
font-family: urwgothic, 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
border-radius: 50px;
|
||||
|
||||
@@ -88,20 +88,11 @@
|
||||
{#if !preFlight && !isDone}
|
||||
<p>
|
||||
Any data that you enter here will be visible publicly
|
||||
<a href="https://git.fjla.uk/OwlBoard/backend/issues" target="_blank"
|
||||
>here</a
|
||||
>
|
||||
</p>
|
||||
<p>
|
||||
You will be shown all of the collected data before the form is submitted.
|
||||
<a href="https://git.fjla.uk/OwlBoard/backend/issues" target="_blank">here</a>
|
||||
</p>
|
||||
<p>You will be shown all of the collected data before the form is submitted.</p>
|
||||
<form on:submit={submit}>
|
||||
<select
|
||||
class="formInputs"
|
||||
name="type"
|
||||
bind:value={reportType}
|
||||
placeholder="Choose Category"
|
||||
>
|
||||
<select class="formInputs" name="type" bind:value={reportType} placeholder="Choose Category">
|
||||
<option value="" disabled selected>Choose an Issue Type</option>
|
||||
<option value="bug">Problem</option>
|
||||
<option value="enhancement">Feature Request</option>
|
||||
@@ -109,18 +100,9 @@
|
||||
<option value="user-support">Unable to sign up</option>
|
||||
</select>
|
||||
<br />
|
||||
<input
|
||||
class="formInputs"
|
||||
type="text"
|
||||
bind:value={reportSubject}
|
||||
placeholder="Subject"
|
||||
/>
|
||||
<input class="formInputs" type="text" bind:value={reportSubject} placeholder="Subject" />
|
||||
<br />
|
||||
<textarea
|
||||
class="formInputs"
|
||||
bind:value={reportMsg}
|
||||
placeholder="Enter your message..."
|
||||
/>
|
||||
<textarea class="formInputs" bind:value={reportMsg} placeholder="Enter your message..." />
|
||||
<br />
|
||||
<button type="submit">Submit</button>
|
||||
<button type="reset">Reset</button>
|
||||
|
||||
@@ -96,33 +96,15 @@
|
||||
<p>This feature is only supported for GWR West & Sleeper services</p>
|
||||
<p class="label">Find By Start/End CRS:</p>
|
||||
<form on:submit={findByStartEnd}>
|
||||
<input
|
||||
type="text"
|
||||
maxlength="3"
|
||||
autocomplete="off"
|
||||
placeholder="Start"
|
||||
bind:value={entryStartCRS}
|
||||
/>
|
||||
<input
|
||||
type="text"
|
||||
maxlength="3"
|
||||
autocomplete="off"
|
||||
placeholder="End"
|
||||
bind:value={entryEndCRS}
|
||||
/>
|
||||
<input type="text" maxlength="3" autocomplete="off" placeholder="Start" bind:value={entryStartCRS} />
|
||||
<input type="text" maxlength="3" autocomplete="off" placeholder="End" bind:value={entryEndCRS} />
|
||||
<br />
|
||||
<button type="submit">Search</button>
|
||||
</form>
|
||||
|
||||
<p class="label">Find By PIS Code:</p>
|
||||
<form on:submit={findByPis}>
|
||||
<input
|
||||
type="number"
|
||||
max="9999"
|
||||
autocomplete="off"
|
||||
placeholder="PIS"
|
||||
bind:value={entryPIS}
|
||||
/>
|
||||
<input type="number" max="9999" autocomplete="off" placeholder="PIS" bind:value={entryPIS} />
|
||||
<br />
|
||||
<button type="submit">Search</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user