fix sort userstat and re-add version without placeholder

This commit is contained in:
quoije
2025-02-04 21:44:51 -05:00
parent 2bd07a2db4
commit de46b2d91a
2 changed files with 22 additions and 23 deletions
+5 -6
View File
@@ -48,12 +48,11 @@
<p class="mt-3 text-center">Pas de compte? <a href="/register.html">Enregistrez-vous</a></p>
</div>
<!-- Footer Section
// Doesn't work on prod, will fix later
<!-- Footer Section -->
<footer>
<p id="footer-text">Loading version information...</p>
<p id="footer-text"></p>
</footer>
-->
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
@@ -97,13 +96,13 @@
const footerText = `${data.author} - version: ${data.version} - ${data.message}`;
document.getElementById('footer-text').textContent = footerText;
} else {
document.getElementById('footer-text').textContent = 'Failed to load version info';
document.getElementById('footer-text').textContent = '';
}
}
// Call the function to fetch and display the version info
// Doesn't work on prod, will fix later
//fetchVersionInfo();
fetchVersionInfo();
</script>
</body>