diff --git a/src/lib/ldb/staff/table/table-generator.svelte b/src/lib/ldb/staff/table/table-generator.svelte index 83170df..151b916 100644 --- a/src/lib/ldb/staff/table/table-generator.svelte +++ b/src/lib/ldb/staff/table/table-generator.svelte @@ -333,7 +333,10 @@ .tableTxt { font-size: 14px; } - td.to,td.from,th.to,th.from { + td.to, + td.from, + th.to, + th.from { text-align: center; } } diff --git a/src/lib/navigation/loading-text.svelte b/src/lib/navigation/loading-text.svelte new file mode 100644 index 0000000..e17bf76 --- /dev/null +++ b/src/lib/navigation/loading-text.svelte @@ -0,0 +1,15 @@ +
Loading...
+ \ No newline at end of file diff --git a/src/lib/train/train-detail.svelte b/src/lib/train/train-detail.svelte index 2347917..80d85f9 100644 --- a/src/lib/train/train-detail.svelte +++ b/src/lib/train/train-detail.svelte @@ -1,15 +1,34 @@ -PIS: {service.pis}
- {/if} -- Planned Type: {parseInt(service.planSpeed) || 68}mph {service.powerType || 'Bus'} -
-- Days Run: {service.daysRun.join(', ').toUpperCase()} -
-- Valid From: {new Date(service.scheduleStartDate).toLocaleDateString('en-GB', { - timeZone: 'UTC' - })} - {new Date(service.scheduleEndDate).toLocaleDateString('en-GB', { - timeZone: 'UTC' - })} -
-Location | -Sch Arr. | -Sch Dep. | -
---|
Location | +Sch Arr. | +Sch Dep. | +||
---|---|---|---|---|
{stop.tiploc} | +{stop.publicArrival || '-'} | +{stop.publicDeparture || '-'} | +||
{stop.tiploc} | -{stop.publicArrival || '-'} | -{stop.publicDeparture || '-'} | +{stop.wttArrival || '-'} | +{stop.wttDeparture || '-'} |
{stop.tiploc} | -{stop.wttArrival || '-'} | -{stop.wttDeparture || '-'} | -
Unable to fetch train data
+ {/await}