48 lines
2.0 KiB
Plaintext
48 lines
2.0 KiB
Plaintext
// Scripts
|
|
//- script(src="https://unpkg.com/@webcomponents/webcomponentsjs@1.2.7/webcomponents-loader.js")
|
|
script(src="/lib/webcomponentsjs/webcomponents-loader.js")
|
|
//- script(src="lib/html-imports.js")
|
|
|
|
script(src="/lib/oidc-client.js")
|
|
script(
|
|
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',
|
|
data-scope='openid profile email',
|
|
data-automaticSilentRenew='true',
|
|
data-loadUserInfo='true'
|
|
)
|
|
|
|
script(src="/scripts/index.js")
|
|
script(src="/scripts/hd-widgets.js")
|
|
|
|
// Stylesheets
|
|
link(rel='stylesheet', href='/lib/normalize.css')
|
|
link(rel='stylesheet', href='/styles/index.css')
|
|
link(
|
|
rel='stylesheet'
|
|
href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700&subset=latin-ext'
|
|
)
|
|
link(href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i" rel="stylesheet")
|
|
|
|
// Web components
|
|
|
|
//- local
|
|
<script type='module' src='/lib/sib-core/sib-display.js'></script>
|
|
<script type='module' src='/lib/sib-router/sib-router.js'></script>
|
|
<script type='module' src='/lib/sib-chat/sib-chat.js'></script>
|
|
<script type='module' src='/lib/sib-chat/sib-form.js'></script>
|
|
//- 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
|
|
<script type='module' src='https://cdn.happy-dev.fr/sib-core/sib-display.js'></script>
|
|
<script type='module' src='https://cdn.happy-dev.fr/sib-router/sib-router.js'></script>
|
|
<script type='module' src='https://cdn.happy-dev.fr/sib-chat/sib-chat.js'></script>
|
|
<script type='module' src='https://cdn.happy-dev.fr/sib-chat/sib-form.js'></script>
|
|
//- 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")
|