diff --git a/src/routes/more/corpus/+page.svelte b/src/routes/more/corpus/+page.svelte
index 3804d57..40689c2 100644
--- a/src/routes/more/corpus/+page.svelte
+++ b/src/routes/more/corpus/+page.svelte
@@ -21,6 +21,9 @@
async function processData(data) {
//console.log("data",JSON.stringify(data))
+ if (data.ERROR == "Offline") {
+ return;
+ };
val = {
crs: data[0]['3ALPHA'] || "None",
tiploc: data[0]['TIPLOC'] || "None",
diff --git a/src/routes/pis/+page.svelte b/src/routes/pis/+page.svelte
index 1f65de4..fbc1421 100644
--- a/src/routes/pis/+page.svelte
+++ b/src/routes/pis/+page.svelte
@@ -3,10 +3,51 @@
import Nav from '$lib/navigation/nav.svelte'
const title = "PIS Finder"
-
+ let entryPIS;
+ let entryStartCRS = "";
+ let entryEndCRS = "";
+ let data = [];
+
+ async function findByStartEnd() {
+ return;
+ }
+
+ async function findByPis() {
+ data = [
+ {"one": 1},
+ {"two": 2}
+ ]
+ return;
+ }
+
-
To search by headcode use the Train Finder on the homepage
+Find By Start/End CRS:
+ + +Find By PIS Code:
+ + +{#if data.length} + {#each data as entry} +{JSON.stringify(entry)}
+ {/each} +{/if} + + + \ No newline at end of file