downgrade: keep only circle, oidc and users
This commit is contained in:
parent
736338092c
commit
4e09bb1c52
@ -19,6 +19,6 @@ script(type="module" src="https://unpkg.com/@startinblox/core@0.8")
|
||||
script(type="module" src="https://unpkg.com/@startinblox/router@0.7")
|
||||
script(type="module" src="https://unpkg.com/@startinblox/component-chat@0.2")
|
||||
script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.2")
|
||||
script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3")
|
||||
script(type="module" src="https://unpkg.com/@startinblox/component-directory@beta")
|
||||
script(type="module" src="https://unpkg.com/@startinblox/component-job-board@beta")
|
||||
//- script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3")
|
||||
//- script(type="module" src="https://unpkg.com/@startinblox/component-directory@beta")
|
||||
//- script(type="module" src="https://unpkg.com/@startinblox/component-job-board@beta")
|
||||
|
@ -15,22 +15,22 @@ html(lang="en")
|
||||
include menu-left.pug
|
||||
div#viewport
|
||||
|
||||
#members(hidden).no-sidebar
|
||||
include page-members-directory.pug
|
||||
//- #members(hidden).no-sidebar
|
||||
//- include page-members-directory.pug
|
||||
|
||||
#job-offers(hidden).no-sidebar
|
||||
include page-job-offers.pug
|
||||
//- #job-offers(hidden).no-sidebar
|
||||
//- include page-job-offers.pug
|
||||
|
||||
#job-offer-create(hidden).no-sidebar
|
||||
sib-link(class="backlink", next="job-offers") Back
|
||||
include page-job-offer-create.pug
|
||||
//- #job-offer-create(hidden).no-sidebar
|
||||
//- sib-link(class="backlink", next="job-offers") Back
|
||||
//- include page-job-offer-create.pug
|
||||
|
||||
#job-offer-edit(hidden).no-sidebar
|
||||
sib-link(class="backlink", next="job-offers") Back
|
||||
include page-job-offer-edit.pug
|
||||
//- #job-offer-edit(hidden).no-sidebar
|
||||
//- sib-link(class="backlink", next="job-offers") Back
|
||||
//- include page-job-offer-edit.pug
|
||||
|
||||
#project(hidden).with-sidebar
|
||||
include page-project.pug
|
||||
//- #project(hidden).with-sidebar
|
||||
//- include page-project.pug
|
||||
|
||||
#circle(hidden).with-sidebar
|
||||
include page-circle.pug
|
||||
@ -38,5 +38,5 @@ html(lang="en")
|
||||
#messages(hidden).with-sidebar
|
||||
include page-messages.pug
|
||||
|
||||
#my-profile(hidden).no-sidebar
|
||||
include page-user-profile.pug
|
||||
//- #my-profile(hidden).no-sidebar
|
||||
//- include page-user-profile.pug
|
||||
|
@ -3,47 +3,49 @@ sib-widget(name='hd-counter')
|
||||
sib-badge(data-src="${src}")
|
||||
nav#main__menu
|
||||
sib-router#navbar-router(default-route='members')
|
||||
sib-route.menu(name='members')
|
||||
div.menu-label Members
|
||||
div.menu-icon.icon-people
|
||||
div.divider
|
||||
sib-route.menu(name='job-offers', rdf-type='hd:joboffer')
|
||||
div.menu-label Job offers
|
||||
div.menu-icon.icon-briefcase
|
||||
sib-route(hidden, name='job-offer-create')
|
||||
sib-route(hidden, name='job-offer-edit', use-id)
|
||||
div.divider
|
||||
div.menu-wrapper
|
||||
div.menu
|
||||
div.menu-chevron
|
||||
div.menu-icon.icon-arrow-up
|
||||
div.menu-label Projects
|
||||
div.menu-icon.icon-folder-alt
|
||||
sib-route(hidden,name='project', id-prefix=`${endpoints.projects}`, rdf-type='hd:project', use-id='')
|
||||
div.sub-menu.menu-notification
|
||||
sib-display(
|
||||
data-src=`${endpoints.projects}`
|
||||
fields='project(customer.name, dash, name), badge'
|
||||
value-dash=' - '
|
||||
widget-badge='hd-counter'
|
||||
action-badge='badge'
|
||||
next='project'
|
||||
)
|
||||
//- sib-route.menu(name='members')
|
||||
//- div.menu-label Members
|
||||
//- div.menu-icon.icon-people
|
||||
//- div.divider
|
||||
//- sib-route.menu(name='job-offers', rdf-type='hd:joboffer')
|
||||
//- div.menu-label Job offers
|
||||
//- div.menu-icon.icon-briefcase
|
||||
//- sib-route(hidden, name='job-offer-create')
|
||||
//- sib-route(hidden, name='job-offer-edit', use-id)
|
||||
//- div.divider
|
||||
//- div.menu-wrapper
|
||||
//- div.menu
|
||||
//- div.menu-chevron
|
||||
//- div.menu-icon.icon-arrow-up
|
||||
//- div.menu-label Cercles
|
||||
//- div.menu-icon.icon-globe
|
||||
//- sib-route(hidden, name='circle', id-prefix=`${endpoints.circles}`, rdf-type='hd:circle')
|
||||
//- div.sub-menu
|
||||
//- div.menu-label Projects
|
||||
//- div.menu-icon.icon-folder-alt
|
||||
//- sib-route(hidden,name='project', id-prefix=`${endpoints.projects}`, rdf-type='hd:project', use-id='')
|
||||
//- div.sub-menu.menu-notification
|
||||
//- sib-display(
|
||||
//- data-src=`${endpoints.circles}`,
|
||||
//- fields='name',
|
||||
//- widget-name='sib-display-div',
|
||||
//- next='circle'
|
||||
//- data-src=`${endpoints.projects}`
|
||||
//- fields='project(customer.name, dash, name), badge'
|
||||
//- value-dash=' - '
|
||||
//- widget-badge='hd-counter'
|
||||
//- action-badge='badge'
|
||||
//- next='project'
|
||||
//- )
|
||||
//- div.divider
|
||||
div.menu-wrapper
|
||||
div.menu
|
||||
div.menu-chevron
|
||||
div.menu-icon.icon-arrow-up
|
||||
div.menu-label Circles
|
||||
div.menu-icon.icon-folder-alt
|
||||
sib-route(hidden,name='circle', id-prefix=`${endpoints.circles}`, rdf-type='hd:circle', use-id='')
|
||||
div.sub-menu.menu-notification
|
||||
sib-display(
|
||||
data-src=`${endpoints.circles}`
|
||||
fields='name, badge'
|
||||
widget-name='sib-display-div',
|
||||
widget-badge='hd-counter'
|
||||
action-badge='badge'
|
||||
next='circle'
|
||||
)
|
||||
div.divider
|
||||
div.menu-wrapper
|
||||
div.menu
|
||||
@ -62,6 +64,6 @@ nav#main__menu
|
||||
next='messages'
|
||||
)
|
||||
|
||||
div.divider
|
||||
sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='')
|
||||
//- div.divider
|
||||
//- sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='')
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
nav(role="user's functionalities menu")
|
||||
ul
|
||||
li
|
||||
sib-link(next='my-profile') My profile
|
||||
//- li
|
||||
//- sib-link(next='my-profile') My profile
|
||||
//-li
|
||||
sib-link(next='user-settings') Settings
|
||||
//-li
|
||||
sib-link(name='user-admin') 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
|
||||
|
@ -103,7 +103,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
details#user-controls {
|
||||
#user-controls {
|
||||
padding: 0;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
|
Loading…
Reference in New Issue
Block a user