initial commit

This commit is contained in:
Brian McGonagill 2022-08-04 19:50:18 -05:00
parent b7c7d8b449
commit 750811a81f
52 changed files with 25204 additions and 92 deletions

73
lib/routes.js Normal file
View file

@ -0,0 +1,73 @@
FlowRouter.route('/', {
name: 'home',
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "home" });
}
});
// ------- System Admin flows -----------
FlowRouter.route('/systemAdminReg', {
name: 'sysAdminReg',
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "systemAdminReg" });
}
});
FlowRouter.route('/sysAdminLogin', {
name: 'sysAdminLogin',
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "systemAdminLogin" });
}
});
FlowRouter.route('/adminMainLogin', {
name: 'sysAdminLogin',
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "systemAdminLogin" });
}
});
FlowRouter.route('/createServiceEntity', {
name: 'createServiceEntity',
action() {
BlazeLayout.render('MainLayout', { main: "createServiceEntity" });
}
});
// ------- General User Flows --------
FlowRouter.route('/dashboard', {
name: 'home',
action() {
BlazeLayout.render('MainLayout', { main: "dashboard" });
}
});
FlowRouter.route('/parguarlogin', {
name: 'parentLogin',
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "parentLogin" });
}
});
FlowRouter.route('/parentReg', {
name: 'parentReg',
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "parentsRegistration" });
}
});
FlowRouter.route('/teachlogin', {
name: 'teachLogin',
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "teacherLogin" });
}
});
FlowRouter.route('/teachReg', {
name: 'teachReg',
action() {
BlazeLayout.render('MainLayout', { notLoggedIn: "teacherRegistration" });
}
});