diff --git a/src/routes/pis/+page.svelte b/src/routes/pis/+page.svelte index fbc1421..ed8ca40 100644 --- a/src/routes/pis/+page.svelte +++ b/src/routes/pis/+page.svelte @@ -1,53 +1,153 @@
-

To search by headcode use the Train Finder on the homepage

-

Find By Start/End CRS:

-
- - -
- -
- -

Find By PIS Code:

-
- +{#if error} + +

{errMsg}

+
+{:else if data.length} + + + + + + + + {#each data as item} + + + + + + {/each} +
TOCCodeStops
{item.operator.toUpperCase()}{item.code}{item.stops.join(", ").toUpperCase() + " "}
+
+{:else} +

To search by headcode use the Train Finder on the homepage

+

Find By Start/End CRS:

+ + +
-
+ -{#if data.length} - {#each data as entry} -

{JSON.stringify(entry)}

- {/each} +

Find By PIS Code:

+
+ +
+ +
{/if} +