mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Lots of changes and additions to the project. Still early, and not usable.
This commit is contained in:
parent
8636f8cf9b
commit
266dbd0856
41 changed files with 836 additions and 67 deletions
|
|
@ -1,10 +1,3 @@
|
|||
FlowRouter.route('/', {
|
||||
name: 'home',
|
||||
action() {
|
||||
BlazeLayout.render('MainLayout', { notLoggedIn: "home" });
|
||||
}
|
||||
});
|
||||
|
||||
FlowRouter.route('/dashboard', {
|
||||
name: 'home',
|
||||
action() {
|
||||
|
|
@ -12,6 +5,20 @@ FlowRouter.route('/dashboard', {
|
|||
}
|
||||
});
|
||||
|
||||
FlowRouter.route('/', {
|
||||
name: 'homeNoRoute',
|
||||
action() {
|
||||
BlazeLayout.render('MainLayout', { main: "dashboard" });
|
||||
}
|
||||
});
|
||||
|
||||
FlowRouter.route('/', {
|
||||
name: 'homeNotLoggedIn',
|
||||
action() {
|
||||
BlazeLayout.render('MainLayout', { notLoggedIn: "login" });
|
||||
}
|
||||
});
|
||||
|
||||
FlowRouter.route('/login', {
|
||||
name: 'login',
|
||||
action() {
|
||||
|
|
@ -31,4 +38,39 @@ FlowRouter.route('/userMgmt', {
|
|||
action() {
|
||||
BlazeLayout.render('MainLayout', { main: 'userMgmt' });
|
||||
}
|
||||
});
|
||||
|
||||
FlowRouter.route('/manageStore', {
|
||||
name: 'storeMgmt',
|
||||
action() {
|
||||
BlazeLayout.render('MainLayout', { main: 'storeMgmt' });
|
||||
}
|
||||
});
|
||||
|
||||
FlowRouter.route('/manage', {
|
||||
name: 'mgmtPage',
|
||||
action() {
|
||||
BlazeLayout.render('MainLayout', { main: 'mgmtPage' });
|
||||
}
|
||||
});
|
||||
|
||||
FlowRouter.route('/manageProduct', {
|
||||
name: 'manageProduct',
|
||||
action() {
|
||||
BlazeLayout.render('MainLayout', { main: 'prodMgmt' });
|
||||
}
|
||||
});
|
||||
|
||||
FlowRouter.route('/manageCategory', {
|
||||
name: 'manageCategory',
|
||||
action() {
|
||||
BlazeLayout.render('MainLayout', { main: 'catMgmt' });
|
||||
}
|
||||
});
|
||||
|
||||
FlowRouter.route('/manageLocation', {
|
||||
name: 'manageLocation',
|
||||
action() {
|
||||
BlazeLayout.render('MainLayout', { main: 'locMgmt' });
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue