diff --git a/src/lib/ldb/staff/staff-ldb.svelte b/src/lib/ldb/staff/staff-ldb.svelte
index b54ae9a..05d17fc 100644
--- a/src/lib/ldb/staff/staff-ldb.svelte
+++ b/src/lib/ldb/staff/staff-ldb.svelte
@@ -20,11 +20,11 @@
/**
* @type {string | any[]}
*/
- let busServices = [];
+ let busServices = [];
/**
* @type {string | any[]}
*/
- let ferryServices = [];
+ let ferryServices = [];
let dataAge = new Date(0);
let isLoading = true;
let isErr = false;
@@ -138,7 +138,7 @@
return processedMessages;
}
- function showDetail(rid='', uid='', tid='') {
+ function showDetail(rid = '', uid = '', tid = '') {
detail = {
rid: rid,
uid: uid,
@@ -184,15 +184,14 @@
There are no scheduled train services in the next two hours
{/if}
{#if busServices && busServices.length}
-
-
-
+
+
Bus Services
{/if}
{#if ferryServices && ferryServices.length}
-
-
+
+
Ferry Services
{/if}
diff --git a/src/lib/ldb/staff/table/table-generator.svelte b/src/lib/ldb/staff/table/table-generator.svelte
index e940248..2937562 100644
--- a/src/lib/ldb/staff/table/table-generator.svelte
+++ b/src/lib/ldb/staff/table/table-generator.svelte
@@ -145,9 +145,9 @@
};
}
- function detail(event,rid,uid,tid) {
+ function detail(event, rid, uid, tid) {
const target = event.target;
- click(rid,uid,tid)
+ click(rid, uid, tid);
}
@@ -172,7 +172,11 @@
{#await generateServiceData(service)}
Loading Service Data... |
{:then serviceData}
- detail(event, service.rid, service.uid, service.trainid)} on:keypress={(event) => detail(event, service.rid, service.uid, service.trainid)}>
+
detail(event, service.rid, service.uid, service.trainid)}
+ on:keypress={(event) => detail(event, service.rid, service.uid, service.trainid)}
+ >
{service.trainid} |
{serviceData.from} |
{serviceData.to} |
@@ -196,7 +200,7 @@
{/if}
{#if service.cancelReason}
-
+
{/if}
diff --git a/src/lib/ldb/staff/train-detail.svelte b/src/lib/ldb/staff/train-detail.svelte
index 0f54e7b..1b41e7b 100644
--- a/src/lib/ldb/staff/train-detail.svelte
+++ b/src/lib/ldb/staff/train-detail.svelte
@@ -198,9 +198,8 @@
font-size: 14px;
}
#detailTable {
-
margin-top: 10px;
- margin:auto;
+ margin: auto;
color: white;
}
.tableLocation {
diff --git a/src/lib/train/train-detail.svelte b/src/lib/train/train-detail.svelte
index fe70835..80a2b5e 100644
--- a/src/lib/train/train-detail.svelte
+++ b/src/lib/train/train-detail.svelte
@@ -13,8 +13,8 @@
diff --git a/src/routes/more/+page.svelte b/src/routes/more/+page.svelte
index fffcbb3..90d370c 100644
--- a/src/routes/more/+page.svelte
+++ b/src/routes/more/+page.svelte
@@ -6,14 +6,14 @@
const links = [
{ title: 'Your Data', path: '/more/data' },
{ title: 'Registration', path: '/more/reg' },
+ { title: 'Settings', path: '/more/settings' },
+ { title: 'Report Issue', path: '/more/report' },
+ { title: 'About', path: '/more/about' },
{ title: 'Location Reference Code Lookup', path: '/more/corpus' },
{ title: 'Reason Code Lookup', path: '/more/reasons' },
{ title: 'Privacy Policy', path: '/more/privacy' },
{ title: 'Component Versions', path: '/more/versions' },
- { title: 'Statictics', path: '/more/statistics' },
- { title: 'Settings', path: '/more/settings' },
- { title: 'Report Issue', path: '/more/report' },
- { title: 'About', path: '/more/about' }
+ { title: 'Statistics', path: '/more/statistics' }
];
diff --git a/src/routes/more/about/+page.svelte b/src/routes/more/about/+page.svelte
index 7fabd5e..adb6e0c 100644
--- a/src/routes/more/about/+page.svelte
+++ b/src/routes/more/about/+page.svelte
@@ -20,6 +20,10 @@
diff --git a/src/routes/more/report/+page.svelte b/src/routes/more/report/+page.svelte
index ce8b8ce..a2cb96d 100644
--- a/src/routes/more/report/+page.svelte
+++ b/src/routes/more/report/+page.svelte
@@ -127,6 +127,10 @@