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; + } + -
+
-

- -