diff --git a/src/lib/islands/input-island.svelte b/src/lib/islands/input-island-form.svelte similarity index 100% rename from src/lib/islands/input-island.svelte rename to src/lib/islands/input-island-form.svelte diff --git a/src/lib/islands/input-island-onclick.svelte b/src/lib/islands/input-island-onclick.svelte deleted file mode 100644 index 3a2d7e2..0000000 --- a/src/lib/islands/input-island-onclick.svelte +++ /dev/null @@ -1,45 +0,0 @@ - - - -
- -
- -
-
- - \ No newline at end of file diff --git a/src/lib/islands/result-island.svelte b/src/lib/islands/result-island.svelte new file mode 100644 index 0000000..0b5730c --- /dev/null +++ b/src/lib/islands/result-island.svelte @@ -0,0 +1,21 @@ + + + + + {#each resultObject.resultLines as line} +

{line}

+ {/each} + +
\ No newline at end of file diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 77c4776..8c0e5f2 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,7 +1,7 @@ - -
- - -{#if loading} - +
+

A reason code is a three digit number that maps to a reason for a delay or cancellation

+
+ + +
+ + +
+ +{#if isLoading} + {/if} -{#if results} - - {#if result.code} -

{result.code}

-

Late Message: {result.lateReason}

-

Delay Message: {result.cancReason}

- {/if} - {#if result.error} -

{result.error}

- {/if} -
- {/if} +{#if resultObject.results} + +{/if} -