Fix issues, bump version
This commit is contained in:
parent
d328236f16
commit
a2f98e77f5
@ -64,7 +64,7 @@
|
||||
</div>
|
||||
<!-- Footer -->
|
||||
<footer>
|
||||
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - <span id="ver_str">1.0.8</span></p>
|
||||
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - <span id="ver_str">1.0.9</span></p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -11,8 +11,10 @@ async function get() {
|
||||
}
|
||||
|
||||
async function display(data) {
|
||||
console.log(JSON.stringify(data))
|
||||
document.getElementById('server_host').textContent = data.host;
|
||||
document.getElementById('server_mode').textContent = data.mode || "Unknown";
|
||||
document.getElementById('ver-bkend').textContent = data.verBkend || "Unknown";
|
||||
let dat = data.dat[0]
|
||||
console.log(JSON.stringify(dat))
|
||||
document.getElementById('time').textContent = await convertUnixLocal(dat.since);
|
||||
@ -23,7 +25,6 @@ async function display(data) {
|
||||
document.getElementById('stations').textContent = dat.stations || "0";
|
||||
document.getElementById('users').textContent = dat.user || "0";
|
||||
document.getElementById('meta').textContent = dat.meta || "0";
|
||||
document.getElementById('ver-bkend').textContent = dat.ver-bkend || "Unknown";
|
||||
document.getElementById('ver-dbman').textContent = dat.ver-bkend || "Unknown";
|
||||
document.getElementById('ver-dbman').textContent = dat.verDbman || "Unknown";
|
||||
document.getElementById('ver-web').textContent = localStorage.getItem('ver-web') || "Unknown";
|
||||
}
|
Reference in New Issue
Block a user