bug fixes
This commit is contained in:
parent
5ce5bb165f
commit
6665aaa047
2
app.js
2
app.js
@ -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');
|
||||
|
@ -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') %>
|
@ -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') %>
|
Reference in New Issue
Block a user