hubl/src/header.pug
2020-01-16 20:31:28 +01:00

36 lines
880 B
Plaintext

#logo
sib-link(next='members')
img(src=`${clientLogo || '/images/logo.png'}` width=111 height=32)
//- #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(
nested-field="inbox"
bind-user
)
include templates/hd-user-avatar.pug
details#user-controls
summary(tabindex='0' role='button')
sib-display#user-controls__profile(
fields='firstName, account.picture'
widget-account.picture='hd-user-avatar'
bind-user
)
#user-controls__panel
include page-user-panel.pug
button(role='log in' onclick="document.querySelector('sib-auth').login();") Login
sib-auth
sib-auth-provider(
data-authority=`${authority}`
data-id=`${authorityName || "paris"}`
data-client-name=`${clientName || "SIB App"}`
)