1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 22:59:28 +00:00

Implement admin nav 'current' page display

This commit is contained in:
2022-02-08 20:21:52 +00:00
parent 2a9e39f4a4
commit ec6437e2bc
4 changed files with 12 additions and 9 deletions

View File

@@ -7,19 +7,22 @@ router.get('/', (req, res) => {
router.get('/dashboard', (req, res) => {
return res.render('dashboard', {
title: 'Stratos - Dashboard'
title: 'Stratos - Dashboard',
current: 'Dashboard'
});
});
router.get('/classes', (req, res) => {
return res.render('classes', {
title: 'Stratos - Classes'
title: 'Stratos - Classes',
current: 'Classes'
});
});
router.get('/tests', (req, res) => {
return res.render('tests', {
title: 'Stratos - Tests'
title: 'Stratos - Tests',
current: 'Tests'
});
});