From 0d80556556636f0b69a04fc0856923826c439244 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 16 Jun 2023 12:50:19 +0100 Subject: [PATCH] Add statistics page --- src/routes/more/statistics/+page.svelte | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/routes/more/statistics/+page.svelte b/src/routes/more/statistics/+page.svelte index b3b5f27..429d9fb 100644 --- a/src/routes/more/statistics/+page.svelte +++ b/src/routes/more/statistics/+page.svelte @@ -3,10 +3,39 @@ import Nav from '$lib/navigation/nav.svelte' const title = "Statistics" + let update_timetable = "", update_corpus="", + update_pis = "", count_ldbws_api="", + count_ldbsvws_api = "", count_corpus_api = "", + count_timetable_db = "", count_pis_db = "", + count_corpus_db = "", count_stations_db = "", + length_users = "", length_registrations = "", + length_stations = "", length_corpus = "", + length_pis = "", length_timetable = "" +
+

Last Update

+

Timetable Data: {update_timetable}

+

Location Reference Data: {update_corpus}

+

PIS Codes Data: {update_pis}

+

Request Counts

+

LDBWS API: {count_ldbws_api}

+

LDBSVWS API: {count_ldbsvws_api}

+

Location Reference API: {count_corpus_api}

+

Timetable: {count_timetable_db}

+

PIS: {count_pis_db}

+

Location Reference: {count_corpus_db}

+

Stations: {count_stations_db}

+ +

Database Lengths

+

Users: {length_users}

+

Pending Registrations: {length_registrations}

+

CORPUS: {length_corpus}

+

Stations: {length_stations}

+

PIS: {length_pis}

+

Timetable: {length_timetable}