diff --git a/src/lib/ldb/public-ldb.svelte b/src/lib/ldb/public-ldb.svelte index 103af34..57b0e77 100644 --- a/src/lib/ldb/public-ldb.svelte +++ b/src/lib/ldb/public-ldb.svelte @@ -155,7 +155,7 @@ {#if dataAge}

Updated: {dataAge.toLocaleTimeString()}

{#if services.length} - +
@@ -215,7 +215,7 @@
Bus services
Bus Services -
From To
+
@@ -252,7 +252,7 @@
Bus services
Ferry Services -
From To
+
@@ -289,54 +289,56 @@ {#if serviceDetail} -
Service Detail
- -
From To
- - - - - - {#if serviceDetail?.previousCallingPoints?.callingPointList?.callingPoint} - {#if Array.isArray(serviceDetail?.previousCallingPoints?.callingPointList?.callingPoint)} - {#each serviceDetail.previousCallingPoints.callingPointList.callingPoint as prevPoint} +
+
Service Detail
+ +
LocationSchExp
+ + + + + + {#if serviceDetail?.previousCallingPoints?.callingPointList?.callingPoint} + {#if Array.isArray(serviceDetail?.previousCallingPoints?.callingPointList?.callingPoint)} + {#each serviceDetail.previousCallingPoints.callingPointList.callingPoint as prevPoint} + + + + + + {/each} + {:else} - - - + + + - {/each} - {:else} - - - - - + {/if} {/if} - {/if} - - - - - - {#if serviceDetail?.subsequentCallingPoints?.callingPointList?.callingPoint} - {#if Array.isArray(serviceDetail?.subsequentCallingPoints?.callingPointList?.callingPoint)} - {#each serviceDetail.subsequentCallingPoints.callingPointList.callingPoint as nextPoint} - - - - + + + + + + {#if serviceDetail?.subsequentCallingPoints?.callingPointList?.callingPoint} + {#if Array.isArray(serviceDetail?.subsequentCallingPoints?.callingPointList?.callingPoint)} + {#each serviceDetail.subsequentCallingPoints.callingPointList.callingPoint as nextPoint} + + + + + + {/each} + {:else} + + + + - {/each} - {:else} - - - - - + {/if} {/if} - {/if} -
LocationSchExp
{prevPoint.locationName}{prevPoint.st}{parseTime(prevPoint.at || prevPoint.et).data}
{prevPoint.locationName}{prevPoint.st}{parseTime(prevPoint.at || prevPoint.et).data}{serviceDetail.previousCallingPoints.callingPointList.callingPoint.locationName}{serviceDetail.previousCallingPoints.callingPointList.callingPoint.st}{parseTime(serviceDetail.previousCallingPoints.callingPointList.callingPoint.at || serviceDetail.previousCallingPoints.callingPointList.callingPoint.et).data}
{serviceDetail.previousCallingPoints.callingPointList.callingPoint.locationName}{serviceDetail.previousCallingPoints.callingPointList.callingPoint.st}{parseTime(serviceDetail.previousCallingPoints.callingPointList.callingPoint.at || serviceDetail.previousCallingPoints.callingPointList.callingPoint.et).data}
{title}{serviceDetail.std || serviceDetail.sta}{parseTime(serviceDetail.etd || serviceDetail.eta).data}
{nextPoint.locationName}{nextPoint.st}{parseTime(nextPoint.et).data}
{title}{serviceDetail.std || serviceDetail.sta}{parseTime(serviceDetail.etd || serviceDetail.eta).data}
{nextPoint.locationName}{nextPoint.st}{parseTime(nextPoint.et).data}
{serviceDetail.subsequentCallingPoints.callingPointList.callingPoint.locationName}{serviceDetail.subsequentCallingPoints.callingPointList.callingPoint.st}{parseTime(serviceDetail.subsequentCallingPoints.callingPointList.callingPoint.et).data}
{serviceDetail.subsequentCallingPoints.callingPointList.callingPoint.locationName}{serviceDetail.subsequentCallingPoints.callingPointList.callingPoint.st}{parseTime(serviceDetail.subsequentCallingPoints.callingPointList.callingPoint.et).data}
+ + {/if} @@ -346,10 +348,12 @@ text-align: left; font-size: 14px; } - table { + .ldbTable { width: 100%; - max-width: 800px; + min-width: 300px; margin: auto; + padding-right: 2px; + padding-left: 0px; color: white; font-size: 13px; } @@ -368,7 +372,7 @@ font-size: 14px; } @media (min-width: 800px) { - table {font-size: 15px;} + table {font-size: 15px; max-width: 850px;} .service-detail {font-size: 14px;} .transport-mode {width: 50px;} #timestamp {font-size: 16px;} @@ -418,6 +422,9 @@ color: var(--main-alert-color); } } +#detailBox { + width: 100%; +} h6 { position: absolute; top: -25px; @@ -439,6 +446,8 @@ h6 { } #detailTable { margin-top: 40px; + color: white; + font-size: 15px; } .thisStop { color: yellow; diff --git a/src/routes/more/data/+page.svelte b/src/routes/more/data/+page.svelte index fc1c05f..dc70307 100644 --- a/src/routes/more/data/+page.svelte +++ b/src/routes/more/data/+page.svelte @@ -35,8 +35,9 @@
-

OwlBoard stored as little data about you as possible to offer the service.

-

Besides your randomly generated UUID which is used to authorise your staff access we store the following data:

+

OwlBoard stores as little data about you as possible to offer the service.

+

Your randomly generated UUID is not displayed, this is stored in your browser and on the OwlBoard server.

+

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.



{#if isLoading}