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) {
|
if (!request) {
|
||||||
return res.status(404).render('error/404');
|
return res.status(404).render('error/404');
|
||||||
}
|
}
|
||||||
res.render('req-status', { request });
|
res.render('request', { request });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
res.status(500).render('error/500');
|
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">
|
<div class="lg-container">
|
||||||
<%- include('shards/nav', { currentPage: 'admin' }) %>
|
<%- include('../shards/nav', { currentPage: 'admin' }) %>
|
||||||
<i class="il mt-5">Dashboard</i>
|
<i class="il mt-5">Dashboard</i>
|
||||||
<hr>
|
<hr>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
@ -47,4 +47,4 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</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">
|
<div class="container">
|
||||||
<%- include('shards/nav', { currentPage: 'admin' }) %>
|
<%- include('../shards/nav', { currentPage: 'admin' }) %>
|
||||||
<i class="il mt-5">Login to administration panel</i>
|
<i class="il mt-5">Login to administration panel</i>
|
||||||
<hr>
|
<hr>
|
||||||
<% if (error) { %>
|
<% if (error) { %>
|
||||||
@ -18,4 +18,4 @@
|
|||||||
<button type="submit" class="btn btn-dark mt-3">Login</button>
|
<button type="submit" class="btn btn-dark mt-3">Login</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<%- include('shards/footer') %>
|
<%- include('../shards/footer') %>
|
Reference in New Issue
Block a user