Add parsing for StationAlerts, and fetch function for Boards.

This commit is contained in:
2026-05-10 00:15:53 +01:00
parent f3d633e719
commit 909e36ebc2
14 changed files with 979 additions and 623 deletions

View File

@@ -10,6 +10,9 @@
{#if page.status == 404}
<!-- Warning no data image -->
<img class="err-img" src={noResult} alt="" role="presentation" width="200" height="200" />
{:else if page.status == 499}
<!-- Change to a GSM-R X Sign?? -->
<img class="err-img" src={stopErr} alt="" role="presentation" width="150" height="210" />
{:else}
<!-- STOP Error image -->
<img class="err-img" src={stopErr} alt="" role="presentation" width="150" height="210" />
@@ -26,7 +29,11 @@
</div>
{/if}
<Button href={'/'} color={'accent'}>Return to Home</Button>
{#if $page.error?.owlCode === 'NETWORK_DISCONNECTED'}
<Button onclick={() => window.location.reload()} color={'accent'}>Retry</Button>
{:else}
<Button href={'/'} color={'accent'}>Return to Home</Button>
{/if}
</div>
<style>