diff --git a/config.sample.json b/config.sample.json index 27aed52..dd243e8 100644 --- a/config.sample.json +++ b/config.sample.json @@ -1,6 +1,9 @@ { "xmpp": "https://jabber.happy-dev.fr/http-bind/", "authority": "http://localhost:8000/", + "clientLogo": "/images/logo.png", + "authorityName": "djangoldp-server-name", + "clientName": "Sib App", "endpoints": { "businessproviders": "http://localhost:8000/businessproviders/", "circles": "http://localhost:8000/circles/", diff --git a/src/header.pug b/src/header.pug index 9edcdb0..f790909 100644 --- a/src/header.pug +++ b/src/header.pug @@ -1,6 +1,6 @@ #logo 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 //- input#search-input(type='search') diff --git a/src/menu-left.pug b/src/menu-left.pug index 46c18e6..44880da 100644 --- a/src/menu-left.pug +++ b/src/menu-left.pug @@ -19,32 +19,31 @@ nav#main__menu //- sib-route(name='job-offer-create', hidden) //- sib-route(name='job-offer-edit', use-id, hidden) //- div.divider - div - div.menu - div.menu-chevron - sib-link(next='admin-project-list') - div.menu-icon.icon-arrow-right - div.menu-label Projects - div.menu-icon.icon-folder-alt - sib-route(name='project', rdf-type='hd:project', use-id='', hidden) - div.sub-menu.menu-notification - sib-display.project-tab( - data-src=`${endpoints.projects}` - fields='project(customer.name, name), badge' - class-customer.name='project-customer' - class-name='project-name' - empty-widget='hd-create' - empty-value='project' - search-fields='team' - search-widget-team='sib-form-hidden' - search-value-team='-' - hd-inherit-user-id='search-value-team' - hd-inherit-widgets - widget-badge='hd-counter' - action-badge='badge' - order-by='customer.name' - next='project' - ) + //- 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(name='project', rdf-type='hd:project', use-id='', hidden) + //- div.sub-menu.menu-notification + //- sib-display.project-tab( + //- data-src=`${endpoints.projects}` + //- fields='project(customer.name, name), badge' + //- class-customer.name='project-customer' + //- class-name='project-name' + //- empty-widget='hd-create' + //- empty-value='project' + //- search-fields='team' + //- search-widget-team='sib-form-hidden' + //- search-value-team='-' + //- hd-inherit-user-id='search-value-team' + //- hd-inherit-widgets + //- widget-badge='hd-counter' + //- action-badge='badge' + //- order-by='customer.name' + //- next='project' + //- ) div.divider div div.menu