Add statistics page
This commit is contained in:
parent
005f05b738
commit
0d80556556
@ -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 = ""
|
||||
|
||||
</script>
|
||||
|
||||
<Header {title} />
|
||||
|
||||
<h2>Last Update</h2>
|
||||
<p>Timetable Data: <span>{update_timetable}</span></p>
|
||||
<p>Location Reference Data: <span>{update_corpus}</span></p>
|
||||
<p>PIS Codes Data: <span>{update_pis}</span></p>
|
||||
|
||||
<h2>Request Counts</h2>
|
||||
<p>LDBWS API: <span>{count_ldbws_api}</span></p>
|
||||
<p>LDBSVWS API: <span>{count_ldbsvws_api}</span></p>
|
||||
<p>Location Reference API: <span>{count_corpus_api}</span></p>
|
||||
<p>Timetable: <span>{count_timetable_db}</span></p>
|
||||
<p>PIS: <span>{count_pis_db}</span></p>
|
||||
<p>Location Reference: <span>{count_corpus_db}</span></p>
|
||||
<p>Stations: <span>{count_stations_db}</span></p>
|
||||
|
||||
<h2>Database Lengths</h2>
|
||||
<p>Users: <span>{length_users}</span></p>
|
||||
<p>Pending Registrations: <span>{length_registrations}</span></p>
|
||||
<p>CORPUS: <span>{length_corpus}</span></p>
|
||||
<p>Stations: <span>{length_stations}</span></p>
|
||||
<p>PIS: <span>{length_pis}</span></p>
|
||||
<p>Timetable: <span>{length_timetable}</span></p>
|
||||
|
||||
<Nav />
|
Loading…
Reference in New Issue
Block a user