From 475746300e2b71e43efbc9a170cd516729a6e5c8 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sun, 2 Jul 2023 21:40:54 +0100 Subject: [PATCH] Begin work on StaffLDB --- src/lib/ldb/staff-ldb.svelte | 45 ++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 17 deletions(-) diff --git a/src/lib/ldb/staff-ldb.svelte b/src/lib/ldb/staff-ldb.svelte index d60ce1f..0ed3c3c 100644 --- a/src/lib/ldb/staff-ldb.svelte +++ b/src/lib/ldb/staff-ldb.svelte @@ -1,9 +1,10 @@

Staff Boards not yet implemented

@@ -101,7 +103,16 @@

Updated: {dataAge.toLocaleTimeString()}

Staff LDB for {station}

- + {#each services as service} +
+

{service.operatorCode}

+

{service.trainid}

+

{service.origin.location.tiploc}

+

{service.destination.location.tiploc}

+

{service.platform}

+

{new Date(service.sta).toLocaleTimeString() || '-'}

+
+ {/each} {/if}