diff --git a/src/lib/ldb/public-ldb.svelte b/src/lib/ldb/public-ldb.svelte new file mode 100644 index 0000000..02e374d --- /dev/null +++ b/src/lib/ldb/public-ldb.svelte @@ -0,0 +1,60 @@ + + +

{requestedStation.toUpperCase()}

+ +

+ {#each services as service} + {service.origin?.location?.locationName || 'Unknown'} + {/each} +

+ + + + + + + + + + + + {#each services as service} + + + + + + {/each} +
FromToPlat.Sch Arr.Exp Arr.Sch Dep.Exp Dep.
{service.origin?.location?.locationName || ''}{service.destination?.location?.locationName || ''}{service.platform || ''}
+ + \ No newline at end of file diff --git a/src/routes/ldb/+page.svelte b/src/routes/ldb/+page.svelte index 14536d2..9d5e13f 100644 --- a/src/routes/ldb/+page.svelte +++ b/src/routes/ldb/+page.svelte @@ -1,44 +1,25 @@
-

Station:

-

-{#each services as service} - {service.origin?.location?.locationName || 'Unknown'} -{/each} -

-

{JSON.stringify(jsonData)}

+ + - -