bug fixes

This commit is contained in:
Aidan 2024-12-29 23:04:53 -06:00
parent 5ce5bb165f
commit 6665aaa047
No known key found for this signature in database
GPG Key ID: 1773A01F0EFE4FC1
3 changed files with 7 additions and 7 deletions

2
app.js
View File

@ -122,7 +122,7 @@ app.get('/request', async (req, res) => {
if (!request) {
return res.status(404).render('error/404');
}
res.render('req-status', { request });
res.render('request', { request });
} catch (error) {
console.error(error);
res.status(500).render('error/500');

View File

@ -1,6 +1,6 @@
<%- include('shards/header', { title: 'Admin Dashboard - p0ntus mail' }) %>
<%- include('../shards/header', { title: 'Admin Dashboard - p0ntus mail' }) %>
<div class="lg-container">
<%- include('shards/nav', { currentPage: 'admin' }) %>
<%- include('../shards/nav', { currentPage: 'admin' }) %>
<i class="il mt-5">Dashboard</i>
<hr>
<table class="table">
@ -47,4 +47,4 @@
</tbody>
</table>
</div>
<%- include('shards/footer') %>
<%- include('../shards/footer') %>

View File

@ -1,6 +1,6 @@
<%- include('shards/header', { title: 'Admin - p0ntus mail' }) %>
<%- include('../shards/header', { title: 'Admin - p0ntus mail' }) %>
<div class="container">
<%- include('shards/nav', { currentPage: 'admin' }) %>
<%- include('../shards/nav', { currentPage: 'admin' }) %>
<i class="il mt-5">Login to administration panel</i>
<hr>
<% if (error) { %>
@ -18,4 +18,4 @@
<button type="submit" class="btn btn-dark mt-3">Login</button>
</form>
</div>
<%- include('shards/footer') %>
<%- include('../shards/footer') %>