diff --git a/app/config/globalvar.py b/app/config/globalvar.py index 12973af..c86b2eb 100644 --- a/app/config/globalvar.py +++ b/app/config/globalvar.py @@ -86,5 +86,56 @@ menu = { "roles":[1,2,3] } ] + }, + "dashboard": { + "navbar": [ + { + "name":"Home", + "target":"_self", + "href":"/", + "notification":0, + "roles":[0,1,2,3] + } + ], + "profile": [ + { + "name" :"Profile", + "href" :"/dashboard/profile", + "target":"_self", + "roles":[1,2] + }, + { + "name" :"Settings", + "href" :"/dashboard/settings", + "target":"_self", + "roles":[1,2] + }, + { + "name" :"Logout", + "href" :"/logout", + "target":"_self", + "roles":[1,2,3] + } + ], + "sidebar": [ + { + "name":"Dashboard", + "target":"_self", + "href":"/dashboard", + "roles":[1,2] + }, + { + "name":"Roles", + "target":"_self", + "href":"/dashboard/roles", + "roles":[1] + }, + { + "name":"Users", + "target":"_self", + "href":"/dashboard/users", + "roles":[1,2] + } + ] } }