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

74 lines
3.6 KiB
HTML
Raw 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>
<p class="stat_desc">Server hostname: <span class="stat_result" id="server_host"></span><br>
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>
<p class="stat_desc">Public Board Lookups: <span class="stat_result" id="ldbws"></span><br>
Staff Board Lookups: <span class="stat_result" id="ldbsvws"></span><br>
CORPUS Data Refreshes: <span class="stat_result" id="corpus_api"></span><br>
COSPUS Lookups: <span class="stat_result" id="corpus"></span><br>
Station code Lookups: <span class="stat_result" id="stations"></span><br>
PIS Lookups: <span class="stat_result" id="pis"></span><br>
User Lookups: <span class="stat_result" id="users"></span><br>
Meta Lookups: <span class="stat_result" id="meta"></span>
</p>
<h3>Counts</h3>
<p class="stat_desc">Registered Users: <span class="stat_result" id="user_count"></span><br>
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>
Available Station Entries: <span class="stat_result" id="stations_count"></span></p>
<!-- Footer -->
<footer>
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a></p>
</footer>
</body>
</html>