Adjust frontend version display on stats
This commit is contained in:
parent
218e95b048
commit
fbb4702b69
@ -1,6 +1,7 @@
|
||||
init();
|
||||
|
||||
async function init() { // The page init function
|
||||
versionDisplay()
|
||||
display(await get())
|
||||
}
|
||||
|
||||
@ -26,5 +27,4 @@ async function display(data) { // Parses and displays data from API
|
||||
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";
|
||||
}
|
@ -78,7 +78,7 @@
|
||||
web-frontend
|
||||
</a>
|
||||
</td>
|
||||
<td id="ver-web"></td>
|
||||
<td id="ver_str">Unknown</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>The statistics represent hits & queries from all instances in the stack.</p>
|
||||
|
Reference in New Issue
Block a user