Merge branch 'parameters-on-sample-for-clients' into 'staging'

Parameters on sample for clients

See merge request startinblox/applications/sib-app!103
This commit is contained in:
Jean-Baptiste Pasquier 2020-01-16 19:33:11 +00:00
commit 2485e00aff
3 changed files with 29 additions and 27 deletions

View File

@ -1,6 +1,9 @@
{ {
"xmpp": "https://jabber.happy-dev.fr/http-bind/", "xmpp": "https://jabber.happy-dev.fr/http-bind/",
"authority": "http://localhost:8000/", "authority": "http://localhost:8000/",
"clientLogo": "/images/logo.png",
"authorityName": "djangoldp-server-name",
"clientName": "Sib App",
"endpoints": { "endpoints": {
"businessproviders": "http://localhost:8000/businessproviders/", "businessproviders": "http://localhost:8000/businessproviders/",
"circles": "http://localhost:8000/circles/", "circles": "http://localhost:8000/circles/",

View File

@ -1,6 +1,6 @@
#logo #logo
sib-link(next='members') sib-link(next='members')
img(src='/images/logo.png' width=111 height=32) img(src=`${clientLogo || '/images/logo.png'}` width=111 height=32)
//- #search-bar //- #search-bar
//- input#search-input(type='search') //- input#search-input(type='search')

View File

@ -19,32 +19,31 @@ nav#main__menu
//- sib-route(name='job-offer-create', hidden) //- sib-route(name='job-offer-create', hidden)
//- sib-route(name='job-offer-edit', use-id, hidden) //- sib-route(name='job-offer-edit', use-id, hidden)
//- div.divider //- div.divider
div //- div.menu-wrapper
div.menu //- div.menu
div.menu-chevron //- div.menu-chevron
sib-link(next='admin-project-list') //- div.menu-icon.icon-arrow-up
div.menu-icon.icon-arrow-right //- div.menu-label Projects
div.menu-label Projects //- div.menu-icon.icon-folder-alt
div.menu-icon.icon-folder-alt //- sib-route(name='project', rdf-type='hd:project', use-id='', hidden)
sib-route(name='project', rdf-type='hd:project', use-id='', hidden) //- div.sub-menu.menu-notification
div.sub-menu.menu-notification //- sib-display.project-tab(
sib-display.project-tab( //- data-src=`${endpoints.projects}`
data-src=`${endpoints.projects}` //- fields='project(customer.name, name), badge'
fields='project(customer.name, name), badge' //- class-customer.name='project-customer'
class-customer.name='project-customer' //- class-name='project-name'
class-name='project-name' //- empty-widget='hd-create'
empty-widget='hd-create' //- empty-value='project'
empty-value='project' //- search-fields='team'
search-fields='team' //- search-widget-team='sib-form-hidden'
search-widget-team='sib-form-hidden' //- search-value-team='-'
search-value-team='-' //- hd-inherit-user-id='search-value-team'
hd-inherit-user-id='search-value-team' //- hd-inherit-widgets
hd-inherit-widgets //- widget-badge='hd-counter'
widget-badge='hd-counter' //- action-badge='badge'
action-badge='badge' //- order-by='customer.name'
order-by='customer.name' //- next='project'
next='project' //- )
)
div.divider div.divider
div div
div.menu div.menu