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
|
include page-job-offer-create.pug
|
||||||
#project(hidden)
|
#project(hidden)
|
||||||
include page-project.pug
|
include page-project.pug
|
||||||
|
#user-profile(hidden)
|
||||||
|
#user-settings(hidden)
|
||||||
|
#user-admin(hidden)
|
||||||
//- #client-creation(hidden)
|
//- #client-creation(hidden)
|
||||||
include page-client-creation.pug
|
include page-client-creation.pug
|
||||||
//-#groups(hidden)
|
//-#groups(hidden)
|
||||||
|
@ -10,7 +10,7 @@ nav#navbar
|
|||||||
div.menu-label Members
|
div.menu-label Members
|
||||||
div.menu-icon.icon-people
|
div.menu-icon.icon-people
|
||||||
div.divider
|
div.divider
|
||||||
sib-route.menu(name='job-offers')
|
sib-route.menu(name='job-offers', rdf-type='hd:joboffer')
|
||||||
div.menu-notification
|
div.menu-notification
|
||||||
sib-display(
|
sib-display(
|
||||||
data-src=`${sdn}/job-offers/`,
|
data-src=`${sdn}/job-offers/`,
|
||||||
@ -27,7 +27,7 @@ nav#navbar
|
|||||||
div.menu-icon.icon-arrow-up
|
div.menu-icon.icon-arrow-up
|
||||||
div.menu-label Projects
|
div.menu-label Projects
|
||||||
div.menu-icon.icon-folder-alt
|
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
|
div.sub-menu
|
||||||
sib-display(
|
sib-display(
|
||||||
data-src=`${sdn}/projects/`,
|
data-src=`${sdn}/projects/`,
|
||||||
@ -43,7 +43,7 @@ nav#navbar
|
|||||||
div.menu-icon.icon-arrow-up
|
div.menu-icon.icon-arrow-up
|
||||||
div.menu-label Cercles
|
div.menu-label Cercles
|
||||||
div.menu-icon.icon-globe
|
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
|
div.sub-menu
|
||||||
sib-display(
|
sib-display(
|
||||||
data-src=`${sdn}/circles/`,
|
data-src=`${sdn}/circles/`,
|
||||||
@ -58,7 +58,7 @@ nav#navbar
|
|||||||
div.menu-icon.icon-arrow-up
|
div.menu-icon.icon-arrow-up
|
||||||
div.menu-label Chat
|
div.menu-label Chat
|
||||||
div.menu-icon.icon-envelope-letter
|
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
|
div.sub-menu
|
||||||
sib-display(
|
sib-display(
|
||||||
data-src=`${sdn}/members/`,
|
data-src=`${sdn}/members/`,
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
nav(role="user's functionalities menu")
|
nav(role="user's functionalities menu")
|
||||||
sib-router
|
sib-router
|
||||||
ul
|
ul
|
||||||
sib-route(name='')
|
sib-route(name='user-profile')
|
||||||
li
|
li
|
||||||
a(href='#') My profile
|
a(href='#') My profile
|
||||||
sib-route(name='')
|
sib-route(name='user-settings')
|
||||||
li
|
li
|
||||||
a(href='#') Settings
|
a(href='#') Settings
|
||||||
sib-route(name='')
|
sib-route(name='user-admin')
|
||||||
li
|
li
|
||||||
a Admin
|
a Admin
|
||||||
button(role='log out' onclick="document.querySelector('sib-auth').logout();") Log out
|
button(role='log out' onclick="document.querySelector('sib-auth').logout();") Log out
|
||||||
|
Loading…
Reference in New Issue
Block a user