Menu in navbar
This commit is contained in:
parent
69f9941755
commit
c3b3f1d942
@ -7,19 +7,31 @@ menu = {
|
||||
"name":"Home",
|
||||
"target":"_self",
|
||||
"href":"/",
|
||||
"roles":["guest"]
|
||||
"roles":[0,1,2,3]
|
||||
},
|
||||
{
|
||||
"name":"About",
|
||||
"name":"Dashboard",
|
||||
"target":"_self",
|
||||
"href":"/about",
|
||||
"roles":["guest"]
|
||||
"href":"/portal/dashboard",
|
||||
"roles":[1,2]
|
||||
},
|
||||
{
|
||||
"name":"Docs",
|
||||
"target":"_blank",
|
||||
"href":"https://costapy.ditaajipratama.net",
|
||||
"roles":["guest"]
|
||||
"name":"Register",
|
||||
"target":"_self",
|
||||
"href":"/portal/register/member",
|
||||
"roles":[0]
|
||||
},
|
||||
{
|
||||
"name":"Login",
|
||||
"target":"_self",
|
||||
"href":"/portal/login",
|
||||
"roles":[0]
|
||||
},
|
||||
{
|
||||
"name":"Logout",
|
||||
"target":"_self",
|
||||
"href":"/portal/logout",
|
||||
"roles":[1,2,3]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user