From 237df22d667356dd65b30d8c8cb79acfcd2bbcf2 Mon Sep 17 00:00:00 2001 From: Gaelle Morin Date: Fri, 7 Dec 2018 17:25:05 +0100 Subject: [PATCH] wip --- src/dependencies.pug | 12 ++++++------ src/page-notifications.pug | 2 +- src/styles/header.scss | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/dependencies.pug b/src/dependencies.pug index 93a27b5..711b96b 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -5,7 +5,7 @@ script(src="/lib/webcomponentsjs/webcomponents-loader.js") script(src="/lib/oidc-client.js") script( - src="/lib/sib-oidc/sib-oidc.js" + src="https://cdn.happy-dev.fr/sib-oidc/sib-oidc.js" data-authority=`${sdn}/openid/`, data-client_id=`${client_id}`, data-response_type='id_token token', @@ -29,11 +29,11 @@ link(href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,6 // Web components //- local -link(rel='import', href='/lib/sib-core/sib-display.html') -link(rel='import', href='/lib/sib-router/sib-router.html') -//- link(rel='import', href='/lib/sib-chat/sib-chat.html') +//- link(rel='import', href='/lib/sib-core/sib-display.html') + link(rel='import', href='/lib/sib-router/sib-router.html') + link(rel='import', href='/lib/sib-chat/sib-chat.html') //- cdn - link(rel='import', href="https://cdn.happy-dev.fr/sib-core/sib-display.html") - link(rel='import', href="https://cdn.happy-dev.fr/sib-router/sib-router.html") +link(rel='import', href="https://cdn.happy-dev.fr/sib-core/sib-display.html") +link(rel='import', href="https://cdn.happy-dev.fr/sib-router/sib-router.html") link(rel='import', href="https://cdn.happy-dev.fr/sib-chat/sib-chat.html") diff --git a/src/page-notifications.pug b/src/page-notifications.pug index eb38c1f..68b15af 100644 --- a/src/page-notifications.pug +++ b/src/page-notifications.pug @@ -2,6 +2,6 @@ div.frame h1 Notifications sib-display( - data-src=`${sdn}/notifications/` + bind-user data-fields='summary' ) \ No newline at end of file diff --git a/src/styles/header.scss b/src/styles/header.scss index 96f5a19..fbd0f0c 100644 --- a/src/styles/header.scss +++ b/src/styles/header.scss @@ -13,6 +13,7 @@ flex-shrink: 0; align-items: center; padding: 1em 0.4em; + position: relative; > * { padding: 0 1.8rem; @@ -47,7 +48,6 @@ } #notifications { - display: none; position: absolute; right: 0; bottom: 0;