This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
web/stats.html

78 lines
3.6 KiB
HTML
Raw Permalink Normal View History

2023-05-23 12:03:48 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="OwlBoard - Personalise your OwlBoard.">
<meta name="robots" content="noindex">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="application-name" content="OwlBoard">
<meta name="author" content="Frederick Boniface">
<meta name="theme-color" content="#00b7b7">
<link rel="apple-touch-icon" href="/images/app-icons/any/apple-192.png">
<link rel="stylesheet" type="text/css" href="./styles/main.css">
<link rel="stylesheet" type="text/css" href="./styles/stats.css">
<link rel="icon" type="image/svg+xml" href="./images/icon.svg">
<link rel="manifest" type="application/json" href="./manifest.json">
<title>OwlBoard - Statistics</title>
<script src="./js/lib.main.js" defer></script>
<script src="./js/stats.js" defer></script>
</head>
<body>
<div id="loading">
<div class="spinner">
</div>
<p>Loading</p>
</div>
<div id="top_button" class="hide_micro">
<a href="/">
<picture class="sidebar_control">
<source srcset="./images/nav/back.svg" type="image/svg+xml">
<img aria-label="Home" src="./images/nav/back-40.png" alt="Home">
</picture>
</a>
</div>
<picture>
<source srcset="./images/logo/wide_logo.svg" type="image/svg+xml">
<source media="(max-height: 739px)" srcset="/images/logo/logo-full-200.png" type="image/png">
<source srcset="./images/logo/logo-full-250.png" type="image/png">
<img class="titleimg" src="./images/logo/logo-full-250.png" alt="OwlBoard Logo">
</picture>
<h2>Statistics</h2>
2023-05-23 23:52:55 +01:00
<p class="stat_desc">API Server: <span class="stat_result" id="server_host"></span><br>
2023-05-23 12:03:48 +01:00
Runtime Mode: <span class="stat_result" id="server_mode"></span><br>
Statistics Reset: <span class="stat_result" id="time"></span>
</p>
<h3>Component Versions</h3>
<p class="stat_desc">OwlBoard Web: <span class="stat_result" id="ver_str"></span><br>
OwlBoard Backend: <span class="stat_result" id="ver-bkend"></span><br>
OwlBoard DBManager: <span class="stat_result" id="ver-dbman"></span>
</p>
<h3>Usage Statistics</h3>
2023-05-23 16:43:26 +01:00
<p class="stat_desc">
2023-05-24 09:33:37 +01:00
Upstream LDBWS Lookups: <span class="stat_result" id="ldbws"></span><br>
Upstream LDBSVWS Lookups: <span class="stat_result" id="ldbsvws"></span><br>
2023-05-23 16:43:26 +01:00
Upstream CORPUS Fetches: <span class="stat_result" id="corpus_api"></span><br>
CORPUS DB Lookups: <span class="stat_result" id="corpus"></span><br>
Stations DB Lookups: <span class="stat_result" id="stations"></span><br>
PIS DB Lookups: <span class="stat_result" id="pis"></span><br>
User DB Lookups: <span class="stat_result" id="users"></span><br>
Meta DB Lookups: <span class="stat_result" id="meta"></span>
2023-05-23 12:03:48 +01:00
</p>
2023-05-23 16:43:26 +01:00
<h3>DB Counts</h3>
<p class="stat_desc">
2023-05-24 09:33:37 +01:00
Extarnal Registered Users: <span class="stat_result" id="user_count"></span><br>
2023-05-23 12:03:48 +01:00
Pending Registrations: <span class="stat_result" id="reg_count"></span><br>
Available PIS Codes: <span class="stat_result" id="pis_count"></span><br>
Available CORPUS Entries: <span class="stat_result" id="corpus_count"></span><br>
2023-05-24 09:33:37 +01:00
Available Station Entries: <span class="stat_result" id="stations_count"></span><br>
Services in local timetable: <span class="stat_result" id="timetable_count"></span>
</p>
2023-05-23 12:03:48 +01:00
<!-- Footer -->
<footer>
2023-05-23 14:41:40 +01:00
<p>&copy; Fred Boniface 2023</p>
2023-05-23 12:03:48 +01:00
</footer>
</body>
</html>