Skip to content
Snippets Groups Projects
Unverified Commit 1bb97438 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Remove enclosing provider

parent eb31e7a2
No related branches found
No related tags found
No related merge requests found
Pipeline #23638 passed
...@@ -53,29 +53,26 @@ ...@@ -53,29 +53,26 @@
</head> </head>
<body> <body>
<dbp-provider id="root" <<%= name %>
lang="de" lang="de"
entry-point-url="<%= entryPointURL %>" entry-point-url="<%= entryPointURL %>"
nextcloud-auth-url="<%= nextcloudWebAppPasswordURL %>" nextcloud-auth-url="<%= nextcloudWebAppPasswordURL %>"
nextcloud-web-dav-url="<%= nextcloudWebDavURL %>" nextcloud-web-dav-url="<%= nextcloudWebDavURL %>"
nextcloud-name="<%= nextcloudName %>" nextcloud-name="<%= nextcloudName %>"
nextcloud-file-url="<%= nextcloudFileURL %>"> nextcloud-file-url="<%= nextcloudFileURL %>"
<<%= name %> src="<%= getUrl(name + '.topic.metadata.json') %>"
src="<%= getUrl(name + '.topic.metadata.json') %>" auth
subscribe="lang,entry-point-url" requested-login-status
auth analytics-event
requested-login-status lang="en"
analytics-event base-path="<%= getUrl('') %>"
lang="en" keycloak-config='{"url": "<%= keyCloakBaseURL %>", "realm": "tugraz", "clientId": "<%= keyCloakClientId %>", "silentCheckSsoRedirectUri": "<%= getUrl('silent-check-sso.html') %>"}'
base-path="<%= getUrl('') %>" matomo-url="<%= matomoUrl %>" matomo-site-id="<%= matomoSiteId %>"
keycloak-config='{"url": "<%= keyCloakBaseURL %>", "realm": "tugraz", "clientId": "<%= keyCloakClientId %>", "silentCheckSsoRedirectUri": "<%= getUrl('silent-check-sso.html') %>"}' git-info='<%= buildInfo.info %>'
matomo-url="<%= matomoUrl %>" matomo-site-id="<%= matomoSiteId %>" build-url='<%= buildInfo.url %>'
git-info='<%= buildInfo.info %>' build-time='<%= buildInfo.time %>'
build-url='<%= buildInfo.url %>' env='<%= buildInfo.env %>'
build-time='<%= buildInfo.time %>' ><dbp-loading-spinner></dbp-loading-spinner></<%= name %>>
env='<%= buildInfo.env %>'
><dbp-loading-spinner></dbp-loading-spinner></<%= name %>>
</dbp-provider>
<!-- Error handling for too old browsers --> <!-- Error handling for too old browsers -->
<script src="<%= getPrivateUrl('browser-check.js') %>" defer></script> <script src="<%= getPrivateUrl('browser-check.js') %>" defer></script>
......
import {AppShell} from '@dbp-toolkit/app-shell'; import {AppShell} from '@dbp-toolkit/app-shell';
import * as commonUtils from '@dbp-toolkit/common/utils'; import * as commonUtils from '@dbp-toolkit/common/utils';
import {Provider} from '@dbp-toolkit/provider';
// It's important that the Provider is created before the AppShell, so the AppShell can subscribe to the Provider
commonUtils.defineCustomElement('dbp-provider', Provider);
commonUtils.defineCustomElement('dbp-toolkit-showcase', AppShell); commonUtils.defineCustomElement('dbp-toolkit-showcase', AppShell);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment