50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
#logo
|
|
sib-link(next='members')
|
|
img(src=`${clientLogo || '/images/logo.png'}` style=`height:${clientLogoHeight || '32px'}`)
|
|
|
|
//- #search-bar
|
|
//- input#search-input(type='search')
|
|
//- i#search-icon.icon-magnifier(aria-hidden='true')
|
|
//- i#close-search-icon.icon-close(aria-hidden='true')
|
|
|
|
sib-notifications.notLoggedIn(
|
|
nested-field="inbox"
|
|
bind-user
|
|
)
|
|
|
|
include templates/hubl-user-avatar.pug
|
|
|
|
details#user-controls.notLoggedIn
|
|
summary(tabindex='0' role='button')
|
|
sib-display#user-controls__profile(
|
|
fields='first_name, account.picture'
|
|
widget-account.picture='hubl-user-avatar'
|
|
bind-user
|
|
)
|
|
#user-controls__panel
|
|
nav(role="user's functionalities menu")
|
|
ul
|
|
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
|
li
|
|
sib-link(next='my-profile') Mon profil
|
|
//-li
|
|
sib-link(next='user-settings') Settings
|
|
|
|
li
|
|
sib-link(next='admin') Administration
|
|
li
|
|
sib-link(next='about') A propos
|
|
button(role='log out' onclick="document.querySelector('sib-auth').logout();") Se déconnecter
|
|
|
|
button.loggedIn(role='log in' onclick="document.querySelector('sib-auth').login();") Se connecter
|
|
|
|
button.notLoggedIn.mobile-menu-icon.icon-menu#toggleMainMenu
|
|
|
|
sib-auth(style='display:none!important')
|
|
sib-auth-provider(
|
|
data-authority=`${authority}`
|
|
data-id=`${authorityName || "authority"}`
|
|
data-client-name=`${clientName || "Hubl"}`
|
|
)
|
|
|