fix sort userstat and re-add version without placeholder
This commit is contained in:
+5
-6
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user