feature: rdf_type & fix: router user panel
This commit is contained in:
parent
57adab6d2d
commit
4c60658860
@ -28,6 +28,9 @@ html(lang="en")
|
||||
include page-job-offer-create.pug
|
||||
#project(hidden)
|
||||
include page-project.pug
|
||||
#user-profile(hidden)
|
||||
#user-settings(hidden)
|
||||
#user-admin(hidden)
|
||||
//- #client-creation(hidden)
|
||||
include page-client-creation.pug
|
||||
//-#groups(hidden)
|
||||
|
@ -10,7 +10,7 @@ nav#navbar
|
||||
div.menu-label Members
|
||||
div.menu-icon.icon-people
|
||||
div.divider
|
||||
sib-route.menu(name='job-offers')
|
||||
sib-route.menu(name='job-offers', rdf-type='hd:joboffer')
|
||||
div.menu-notification
|
||||
sib-display(
|
||||
data-src=`${sdn}/job-offers/`,
|
||||
@ -27,7 +27,7 @@ nav#navbar
|
||||
div.menu-icon.icon-arrow-up
|
||||
div.menu-label Projects
|
||||
div.menu-icon.icon-folder-alt
|
||||
sib-route(hidden,name='project', id-prefix=`${sdn}/projects/`, use-id)
|
||||
sib-route(hidden,name='project', id-prefix=`${sdn}/projects/`, rdf-type='hd:project', use-id='')
|
||||
div.sub-menu
|
||||
sib-display(
|
||||
data-src=`${sdn}/projects/`,
|
||||
@ -43,7 +43,7 @@ nav#navbar
|
||||
div.menu-icon.icon-arrow-up
|
||||
div.menu-label Cercles
|
||||
div.menu-icon.icon-globe
|
||||
sib-route(hidden, name='circle', id-prefix=`${sdn}/circles/`)
|
||||
sib-route(hidden, name='circle', id-prefix=`${sdn}/circles/`, rdf-type='hd:circle')
|
||||
div.sub-menu
|
||||
sib-display(
|
||||
data-src=`${sdn}/circles/`,
|
||||
@ -58,7 +58,7 @@ nav#navbar
|
||||
div.menu-icon.icon-arrow-up
|
||||
div.menu-label Chat
|
||||
div.menu-icon.icon-envelope-letter
|
||||
sib-route(hidden, name='member-chat', id-prefix=`${sdn}/members/`, use-id='')
|
||||
sib-route(hidden, name='member-chat', id-prefix=`${sdn}/members/`, rdf-type='foaf:user', use-id='')
|
||||
div.sub-menu
|
||||
sib-display(
|
||||
data-src=`${sdn}/members/`,
|
||||
|
@ -1,13 +1,13 @@
|
||||
nav(role="user's functionalities menu")
|
||||
sib-router
|
||||
ul
|
||||
sib-route(name='')
|
||||
sib-route(name='user-profile')
|
||||
li
|
||||
a(href='#') My profile
|
||||
sib-route(name='')
|
||||
sib-route(name='user-settings')
|
||||
li
|
||||
a(href='#') Settings
|
||||
sib-route(name='')
|
||||
sib-route(name='user-admin')
|
||||
li
|
||||
a Admin
|
||||
button(role='log out' onclick="document.querySelector('sib-auth').logout();") Log out
|
||||
|
Loading…
Reference in New Issue
Block a user