fix: replace express-ejs-layouts with EJS partial includes (header/footer)

This commit is contained in:
Дмитрий Мамедов
2026-06-10 18:44:06 +03:00
parent 1105f0366d
commit fad0b6d630
10 changed files with 51 additions and 10 deletions

11
views/partials/footer.ejs Normal file
View File

@@ -0,0 +1,11 @@
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script>
function logout() {
localStorage.removeItem('access_token');
localStorage.removeItem('refresh_token');
window.location.href = '/login';
}
</script>
</body>
</html>