Add db-pis to stats

This commit is contained in:
Fred Boniface 2023-04-24 10:51:26 +01:00
parent 1e6b013507
commit 7a8ab8ad4c
2 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,7 @@ async function display(data) { // Parses and displays data from API
document.getElementById('stations').textContent = dat.stations || "0";
document.getElementById('users').textContent = dat.user || "0";
document.getElementById('meta').textContent = dat.meta || "0";
document.getElementById('pis').textContent = dat.pis
document.getElementById('ver-dbman').textContent = ver.dbmanager || "Unknown";
document.getElementById('ver-web').textContent = localStorage.getItem('ver-web') || "Unknown";
}

View File

@ -45,6 +45,10 @@
<td>DB-meta</td>
<td id="meta"></td>
</tr>
<tr>
<td>DB-pis</td>
<td id="pis"></td>
</tr>
</table>
<br><br>
<table style="margin:auto;text-align:center;">