diff --git a/delete-account/src/main/java/org/gcube/keycloak/account/DeleteAccountResource.java b/delete-account/src/main/java/org/gcube/keycloak/account/DeleteAccountResource.java index d24c593..fe7b821 100644 --- a/delete-account/src/main/java/org/gcube/keycloak/account/DeleteAccountResource.java +++ b/delete-account/src/main/java/org/gcube/keycloak/account/DeleteAccountResource.java @@ -63,7 +63,7 @@ public class DeleteAccountResource { } logger.debug("Finding user model and setting it as not enabled in realm"); - session.users().getUserById(user.getId(), realm).setEnabled(false); + session.users().getUserById(realm, user.getId()).setEnabled(false); if (session.getTransactionManager().isActive()) { logger.debug("Committing the transaction on transaction manager"); diff --git a/event-listener-provider/src/main/java/org/gcube/keycloak/event/KeycloakEvent.java b/event-listener-provider/src/main/java/org/gcube/keycloak/event/KeycloakEvent.java index 666c06e..dbff829 100644 --- a/event-listener-provider/src/main/java/org/gcube/keycloak/event/KeycloakEvent.java +++ b/event-listener-provider/src/main/java/org/gcube/keycloak/event/KeycloakEvent.java @@ -86,7 +86,7 @@ public class KeycloakEvent extends Event { } private static OffsetDateTime convertEventDate(long millis) { - OrchestratorEventPublisherProvider.logger.infof("Creating offset date time from millis: %l", millis); + OrchestratorEventPublisherProvider.logger.debugf("Creating offset date time from millis %d -> %t", millis, millis); return Instant.ofEpochMilli(millis).atZone(ZoneOffset.systemDefault()).toOffsetDateTime(); } diff --git a/event-listener-provider/src/main/java/org/gcube/keycloak/event/OrchestratorEventPublisherProviderFactory.java b/event-listener-provider/src/main/java/org/gcube/keycloak/event/OrchestratorEventPublisherProviderFactory.java index 4f0f4e4..d13d96d 100644 --- a/event-listener-provider/src/main/java/org/gcube/keycloak/event/OrchestratorEventPublisherProviderFactory.java +++ b/event-listener-provider/src/main/java/org/gcube/keycloak/event/OrchestratorEventPublisherProviderFactory.java @@ -124,7 +124,7 @@ public class OrchestratorEventPublisherProviderFactory implements EventListenerP logger.trace("Not found."); } } - logger.debugf("Client '%f' found", clientId); + logger.debugf("Client '%s' found", clientId); return client; } diff --git a/keycloak-d4science-bundle/pom.xml b/keycloak-d4science-bundle/pom.xml index 7132525..76540a5 100644 --- a/keycloak-d4science-bundle/pom.xml +++ b/keycloak-d4science-bundle/pom.xml @@ -51,6 +51,13 @@ identity-provider-mapper ${project.version} + org.gcube.iam ldap-storage-mapper @@ -109,6 +116,15 @@ identity-provider-mapper.jar / + org.gcube.iam ldap-storage-mapper diff --git a/keycloak-d4science-bundle/src/main/application/META-INF/jboss-deployment-structure.xml b/keycloak-d4science-bundle/src/main/application/META-INF/jboss-deployment-structure.xml index 2ce2649..5a5ad06 100644 --- a/keycloak-d4science-bundle/src/main/application/META-INF/jboss-deployment-structure.xml +++ b/keycloak-d4science-bundle/src/main/application/META-INF/jboss-deployment-structure.xml @@ -70,6 +70,11 @@ + + + + + diff --git a/keycloak-d4science-theme/CHANGELOG.md b/keycloak-d4science-theme/CHANGELOG.md index 0024a6f..44b7f48 100644 --- a/keycloak-d4science-theme/CHANGELOG.md +++ b/keycloak-d4science-theme/CHANGELOG.md @@ -2,5 +2,5 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm # Changelog for "keycloak-d4science-theme" -## [Unreleased] +## [v2.0.0-SNAPSHOT] diff --git a/keycloak-d4science-theme/README.md b/keycloak-d4science-theme/README.md index 94cdf1f..685d6d1 100644 --- a/keycloak-d4science-theme/README.md +++ b/keycloak-d4science-theme/README.md @@ -1,10 +1,12 @@ # Keycloak D4Science Theme -**Keycloak D4Science Theme** +**Keycloak D4Science Theme** repository collects the implementations of base D4Science theme and a set of specific per gateway themes implementations. + +Each Keycloak theme is made of a set of [Freemarker](https://freemarker.apache.org/) templates. ## Structure of the project -The theme source is contained in `src/main/resources` folder. +The themes sources are contained in `src/main/resources` folder. ## Built With @@ -16,14 +18,20 @@ To build the theme JAR it is sufficient to type mvn clean package +For details see [Theme section](https://www.keycloak.org/docs/latest/server_development/#_themes) of Keycloak developer docs. + +As specified in [Deploying Themes](https://www.keycloak.org/docs/latest/server_development/#deploying-themes) section of the documentation, *themes can be deployed to Keycloak by copying the theme directory to themes or it can be deployed as an archive.* + +During the development phase, themes caching in Keycloak configuration file has to be disabled. To do this edit `standalone.xml`. For `theme` set `staticMaxAge` to `-1` and both `cacheTemplates` and `cacheThemes` to `false`. + ## Change log See [CHANGELOG.md](CHANGELOG.md). ## Authors -* **Mauro Mugnaini** ([Nubisware S.r.l.](http://www.nubisware.com)) -* **Vincenzo Cestone** ([Nubisware S.r.l.](http://www.nubisware.com)) +* **Vincenzo Cestone** ([Nubisware S.r.l.](http://www.nubisware.com)) for themes preparing/testing. +* **Mauro Mugnaini** ([Nubisware S.r.l.](http://www.nubisware.com)) for archive building/maven automation. ## How to Cite this Software [Intentionally left blank] diff --git a/keycloak-d4science-theme/src/main/resources/META-INF/keycloak-themes.json b/keycloak-d4science-theme/src/main/resources/META-INF/keycloak-themes.json index a9ca470..73c3b69 100644 --- a/keycloak-d4science-theme/src/main/resources/META-INF/keycloak-themes.json +++ b/keycloak-d4science-theme/src/main/resources/META-INF/keycloak-themes.json @@ -1,10 +1,229 @@ { - "themes": [ - { - "name": "d4science", - "types": [ - "account" - ] - } - ] + "themes": [ + { + "name": "aginfra.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "ariadne.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "bluecloud", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "blue-cloud.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "d4science", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "dante.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "desira.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "dev4.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "eosc-pillar.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "eoscsecretariat.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "example_theme", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "gemex.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "i-gene.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "i-marine.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "moving.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "next.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "openaire-connect.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "parthenos.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "performfish.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "risis2.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "secomlab.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "services.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "sobigdata.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "territoriaperti.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + }, + { + "name": "test-theme.d4science.org", + "types": [ + "account", + "admin", + "email", + "login" + ] + } + ] } \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/login/theme.properties new file mode 100644 index 0000000..56e535a --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/aginfra.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=AGINFRAPlus Gateway +favicon=https://aginfra.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://aginfra.d4science.org/image/layout_set_logo?img_id=26845094&t=1610441736518 +logoAlt=AGINFRAPlus Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://aginfra.d4science.org/terms-of-use +linkCookies=https://aginfra.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=http://plus.aginfra.eu/ + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=AGINFRA PLUS receives funding from the European Unions Horizon 2020 research and innovation programme under grant agreement No. 731001
The views and opinions expressed in this website are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/login/theme.properties new file mode 100644 index 0000000..dd746fa --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/ariadne.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=ARIADNEPlus Gateway +favicon=https://ariadne.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://ariadne.d4science.org/image/layout_set_logo?img_id=164305244&t=1610441736528 +logoAlt=ARIADNEPlus Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://ariadne.d4science.org/terms-of-use +linkCookies=https://ariadne.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=http://ariadne-infrastructure.eu + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=ARIADNEplus is funded by the European Commission under the H2020 Programme, contract no. H2020-INFRAIA-2018-1-823914.
The views and opinions expressed in this publication are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/login/theme.properties new file mode 100644 index 0000000..25eba18 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/blue-cloud.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=Blue-Cloud Gateway +favicon=https://blue-cloud.d4science.org/generic-configurable-theme/images/favicon.ico +contentBgImg= +contentStyle=background: url("https://blue-cloud.d4science.org/generic-configurable-theme/images/custom/bb_background.jpg") no-repeat center center fixed; background-size: cover; + + +logoSrc=https://blue-cloud.d4science.org/image/layout_set_logo?img_id=199274286&t=1610441455783 +logoAlt=Blue-Cloud Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://blue-cloud.d4science.org/terms-of-use +linkCookies=https://blue-cloud.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=https://www.blue-cloud.org + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=Blue-Cloud has received funding from the European Unions Horizon programme call BG-07-2019-2020, topic: [A] 2019 - Blue Cloud services, Grant Agreement n.862409 diff --git a/keycloak-d4science-theme/src/main/resources/theme/bluecloud/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/bluecloud/account/theme.properties new file mode 100644 index 0000000..42c1a4c --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/bluecloud/account/theme.properties @@ -0,0 +1 @@ +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/bluecloud/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/bluecloud/admin/theme.properties new file mode 100644 index 0000000..df811eb --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/bluecloud/admin/theme.properties @@ -0,0 +1 @@ +parent=d4science \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/bluecloud/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/bluecloud/email/theme.properties new file mode 100644 index 0000000..42c1a4c --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/bluecloud/email/theme.properties @@ -0,0 +1 @@ +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/bluecloud/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/bluecloud/login/theme.properties new file mode 100644 index 0000000..d44b74a --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/bluecloud/login/theme.properties @@ -0,0 +1,33 @@ +parent=d4science + + +#styles= + +titleTag=Blue-Cloud Login +favicon=https://blue-cloud.d4science.org/generic-configurable-theme/images/favicon.ico +contentBgImg=img/blue-triangles.png +#contentStyle=background: url("https://url-of-background-img"); + +#logoHeaderStyle= + +logoSrc=https://blue-cloud.d4science.org/image/layout_set_logo?img_id=199274286&t=1591610863691 +logoAlt=Blue-Cloud Gateway +logoStyle=height: 40px; + +infrastructureLogo=yes +#infrastructureLogoStyle=height: 40px; + +#footerStyle= + +linkTerms=https://blue-cloud.d4science.org/terms-of-use +linkCookies=https://blue-cloud.d4science.org/cookie-policy +#linkPrivacy=https://www.iubenda.com/privacy-policy/441050 +linkProject=https://www.blue-cloud.org/ +descrProject=Blue-Cloud Project Website + +ECLogo=yes +ECLogoSrc=https://blue-cloud.d4science.org/generic-configurable-theme/images/custom/logo-ec.jpg +#ECLogoStyle=max-width: 35px; +#ECLogoAlt=EU H2020 programme + +footerRow=Blue-Cloud has received funding from the European Union's Horizon programme call BG-07-2019-2020, topic: [A] 2019 - Blue Cloud services, Grant Agreement n.862409 diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/account.ftl b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/account.ftl new file mode 100644 index 0000000..bf90d13 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/account.ftl @@ -0,0 +1,191 @@ +<#import "template.ftl" as layout> +<@layout.mainLayout active='account' bodyClass='user'; section> + +
+
+

${msg("editAccountHtmlTitle")}

+
+
+ * ${msg("requiredFields")} +
+
+ +
+ + + + <#if !realm.registrationEmailAsUsername> +
+
+ <#if realm.editUsernameAllowed>* +
+ +
+ disabled="disabled" value="${(account.username!'')}"/> +
+
+ + +
+
+ * +
+ +
+ +
+
+ +
+
+ * +
+ +
+ +
+
+ +
+
+ * +
+ +
+ +
+
+ +
+
+
+ <#if url.referrerURI??>${kcSanitize(msg("backToApplication")?no_esc)} + + +
+
+
+
+ +
+
+

${msg("changeAvatarHtmlTitle")}

+
+
+ + <#assign avatarUrl = url.accountUrl?replace("^(.*)(/account/?)(\\?(.*))?$", "$1/avatar-provider/?account&$4", 'r') /> +
+ + ${msg("avatarFileSizeMessage")}';this.replaceWith(div)" /> + + + + + + + +
+
+
+ +
+
+
+ + + +
+ + +
+
+

${msg("deleteAccountHtmlTitle")}

+
+
+ + <#assign deleteUrl = url.accountUrl?replace("^(.*)(/account/?)(\\?(.*))?$", "$1/delete-account/delete?$4", 'r') /> +
+ + + +
+
${msg("deleteAccountMessage")}
+
+
+
${msg("deleteAccountWarningTitle")}
+
${msg("deleteAccountWarningMessage")}
+
+
+
+
+ +
+
+
+
+ + diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_ca.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_ca.properties new file mode 100644 index 0000000..dfc9f60 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_ca.properties @@ -0,0 +1 @@ +accountManagementTitle=Gesti\u00F3 de Compte D4Science diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_de.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_de.properties new file mode 100644 index 0000000..632ff0e --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_de.properties @@ -0,0 +1,10 @@ +accountManagementTitle=D4Science Benutzerkontoverwaltung + +changeAvatarHtmlTitle=Profilbild bearbeiten + +deleteAccountHtmlTitle=Account löschen +deleteAccountSubmitButton=Das Löschen des Account bestätigen +deleteAccountMessage=Das Löschen ihres Account deaktiviert ihren Profil und löscht ihren Namen und Profilbild dass Sie auf dem D4Science Gateway mitgeteilt haben. Einige Informationen weredn immer noch sichtbar bleiben wie zum Beispiel ihr Name auf Posts oder privaten Mitteilungen. Alle Files und Ordnern das Sie auf ihrem workspace kreiert haben werden gelöscht. +deleteAccountWarningTitle=Achtung +deleteAccountWarningMessage=Das Klicken auf dem "Das Löschen des Account bestätigen" Knopf is nicht rückgängig, ihr Account wird gelöscht und Sie werden automatisch aus allen ihren Sessionen aus-geloggt. +deleteAccountConfirmDeleteMessage=\\nWollen Sie wirklich ihren Account löschen?\\n\\n[Hinweis: Diese Operation ist nicht rückgängig] \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_en.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_en.properties new file mode 100644 index 0000000..6cf1aa5 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_en.properties @@ -0,0 +1,18 @@ +accountManagementTitle=D4Science Account Management + +accountManagementWelcomeMessage=Welcome to D4Science Account Management + +authenticatorFinishSetUpMessage=Each time you sign in to your D4Science account, you will be asked to provide a two-factor authentication code. +authenticatorSMSMessage=D4Science will send the Verification code to your phone as the two-factor authentication. + +changeAvatarHtmlTitle=Edit Avatar +noAvatarSet=Please upload an image (100x100px size is suggested, images exceding 250x250px will be resized to 250px width or height mantaining their ratio) choosing a file and clicking on Save button. +avatarFileSizeMessage=The maximum file size permitted is 1MB. +avatarFileTooBig=File too big error! + +deleteAccountHtmlTitle=Delete your Account +deleteAccountSubmitButton=Confirm delete account +deleteAccountMessage=Deleting your account will disable your profile and remove your name and photo you''ve shared on D4Science gateway(s). Some information may still be visible to others, such as your name in the posts and private messages you sent. All files and folders you created of your workspace will be removed. +deleteAccountWarningTitle=Warning +deleteAccountWarningMessage=Clicking on the "Confirm delete account" button is an undoable operation, your account will be removed and you'll be automatically logged out from all your sessions. +deleteAccountConfirmDeleteMessage=\\nDo you really want to remove your account?\\n\\n[NOTE: This action is irreversible] \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_es.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_es.properties new file mode 100644 index 0000000..2390adb --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_es.properties @@ -0,0 +1 @@ +accountManagementTitle=Gesti\u00F3n de Cuenta D4Science diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_fr.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_fr.properties new file mode 100644 index 0000000..0cb487e --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_fr.properties @@ -0,0 +1,11 @@ +# TIPS to encode UTF-8 to ISO +# native2ascii -encoding ISO8859_1 srcFile > dstFile + +accountManagementTitle=Gestion du compte D4Science + +deleteAccountHtmlTitle=Suppression de compte +deleteAccountSubmitButton=Confirmer la suppression du compte +deleteAccountMessage=La suppression de votre compte désactivera le profil et supprimera le nom et les photos partagés sur le(s) gateway D4Science. Certaines informations peuvent toujours être visibles aux autres utilisateurs, telles que le nom dans les publications et les messages privés envoyés. Tous les fichiers et dossiers créés dans l'espace de travail (worksapce) personnel seront supprimés. +deleteAccountWarningTitle=Attention +deleteAccountWarningMessage=En cliquant sur le bouton "Confirmer la suppression du compte" lancera une opération irréversible, le compte personnel sera supprimé et toutes les sessions ouvertes sur les différents sites seront fermé. +deleteAccountConfirmDeleteMessage=\\nVous voulez vraiment annuler votre compte?\\n\\n[Remarque: Cette action est irréversible] \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_it.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_it.properties new file mode 100644 index 0000000..d5772c1 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_it.properties @@ -0,0 +1,13 @@ +accountManagementTitle=D4Science Account Management + +changeAvatarHtmlTitle=Modifica Avatar +noAvatarSet=Caricare un'immagine (si consiglia una dimensione di 100x100 px, le immagini che eccedono 250x250px saranno ridimensionate a 250px di larchezza o altezza mantenendo il loro rapporto) con Scegli file e premendo quindi su Salva +avatarFileSizeMessage=La massima dimensione consentita del file di 1MB. +avatarFileTooBig=Dimensione file eccessiva! + +deleteAccountHtmlTitle=Cancellazione Account +deleteAccountSubmitButton=Conferma cancellazione account +deleteAccountMessage=La cancellazione del proprio account disabiliter il profilo e rimuover il nome e le foto condivise sul/sui gateway D4Science. Alcune informazioni potrebbero risultare ancora visibili agli altri utenti, come il nome nei post e nei messaggi privati inviati. Tutti i file e le cartelle create nel workspace personale saranno rimosse. +deleteAccountWarningTitle=Attenzione +deleteAccountWarningMessage=Cliccando sul bottone "Conferma cancellazione account" si avvier un''operazione irreversibile, l''account personale sar rimosso e saranno terminate tutte le sessioni aperte nei vari siti. +deleteAccountConfirmDeleteMessage=\\nSi vuole veramente cancellare il proprio account?\\n\\n[NB: Questa azione irreversible] \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_ja.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_ja.properties new file mode 100644 index 0000000..8cbdb9d --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_ja.properties @@ -0,0 +1,5 @@ +# encoding: utf-8 +accountManagementWelcomeMessage=D4Science アカウント管理へようこそ + +authenticatorFinishSetUpMessage=D4Scienceアカウントにサインインするたびに、2要素認証コードを入力するように求められます。 +authenticatorSMSMessage=D4Scienceは、2要素認証として確認コードを携帯電話に送信します。 diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_lt.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_lt.properties new file mode 100644 index 0000000..9f8690c --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_lt.properties @@ -0,0 +1,2 @@ +# encoding: utf-8 +accountManagementTitle=D4Science Naudotojų Administravimas diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_nl.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_nl.properties new file mode 100644 index 0000000..bf10858 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_nl.properties @@ -0,0 +1 @@ +accountManagementTitle=D4Science Accountbeheer diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_no.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_no.properties new file mode 100644 index 0000000..ce6ad5e --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_no.properties @@ -0,0 +1 @@ +accountManagementTitle=D4Science kontoadministrasjon diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_sk.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_sk.properties new file mode 100644 index 0000000..e051bfc --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_sk.properties @@ -0,0 +1,2 @@ +# encoding: utf-8 +accountManagementTitle=Správa účtu D4Science diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_sv.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_sv.properties new file mode 100644 index 0000000..cadbbd3 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_sv.properties @@ -0,0 +1,2 @@ +# encoding: utf-8 +accountManagementTitle=Kontohantering för D4Science diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_tr.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_tr.properties new file mode 100644 index 0000000..d28eece --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_tr.properties @@ -0,0 +1,6 @@ +accountManagementTitle=D4Science Kullan\u0131c\u0131 Hesab\u0131 Y\u00F6netimi + +accountManagementWelcomeMessage=D4Science Hesap Y\u00F6netimine Ho\u015F Geldiniz + +authenticatorFinishSetUpMessage=D4Science hesab\u0131n\u0131zda her oturum a\u00E7t\u0131\u011F\u0131n\u0131zda, iki fakt\u00F6rl\u00FC bir do\u011Frulama kodu girmeniz istenecektir. +authenticatorSMSMessage=D4Science, do\u011Frulama kodunu telefonunuza iki fakt\u00F6rl\u00FC kimlik do\u011Frulamas\u0131 olarak g\u00F6nderecektir. diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_zh_CN.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_zh_CN.properties new file mode 100644 index 0000000..3159dba --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/messages/messages_zh_CN.properties @@ -0,0 +1,2 @@ +# encoding: utf-8 +accountManagementTitle=D4Science账户管理 diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/css/account.css b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/css/account.css new file mode 100644 index 0000000..d5efa3e --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/css/account.css @@ -0,0 +1,286 @@ +html { + height: 100%; +} + +body { + background-color: #F9F9F9; + margin: 0; + padding: 0; + height: 100%; +} + +header .navbar { + margin-bottom: 0; + min-height: inherit; +} + +.header .container { + position: relative; +} + +.navbar-title { + background-image: url('../img/logo.png'); + height: 36px; + background-repeat: no-repeat; + width: 180px; + margin: 3px 10px 5px; + text-indent: -99999px; +} + +.navbar-pf { + background: #585858; + border-top: 0; +} + +.navbar-pf .navbar-header { + border-bottom: 0; +} + +.navbar-pf .navbar-utility { + right: 20px; + top: -34px; + font-size: 12px; +} + +.navbar-pf .navbar-utility > li > a { + color: #fff !important; + padding-bottom: 12px; + padding-top: 11px; + border-left: medium none; +} + +.container { + height: 100%; +} + +.content-area { + background-color: #fff; + border-color: #CECECE; + border-style: solid; + border-width: 0 1px; + height: 100%; + padding: 0 30px; +} + +.margin-bottom { + margin-bottom: 10px; +} + +/* Sidebar */ + +.bs-sidebar { + background-color: #f9f9f9; + padding-top: 44px; + padding-right: 0; + padding-left: 0; + z-index: 20; +} +.bs-sidebar ul { + list-style: none; + padding-left: 12px; +} + +.bs-sidebar ul li { + margin-bottom: 0.5em; + margin-left: -1em; +} +.bs-sidebar ul li a { + font-size: 14px; + padding-left: 25px; + color: #4d5258; + line-height: 28px; + display: block; + border-width: 1px 0 1px 1px; + border-style: solid; + border-color: #f9f9f9; +} +.bs-sidebar ul li a:hover, +.bs-sidebar ul li a:focus { + text-decoration: none; + color: #777777; + border-right: 2px solid #aaa; +} +.bs-sidebar ul li.active a { + background-color: #c7e5f0; + border-color: #56bae0; + font-weight: bold; + background-image: url(../img/icon-sidebar-active.png); + background-repeat: no-repeat; + background-position: right center; +} + +.bs-sidebar ul li.active a:hover { + border-right: none; +} + + +.content-area h2 { + font-family: "Open Sans", sans-serif; + font-weight: 100; + font-size: 24px; + margin-bottom: 25px; + margin-top: 25px; +} + +.subtitle { + text-align: right; + margin-top: 30px; + color: #909090; +} + +.required { + color: #CB2915; +} + + +.alert { + margin-top: 30px; + margin-bottom: 0; +} + +.feedback-aligner .alert { + background-position: 1.27273em center; + background-repeat: no-repeat; + border-radius: 2px; + border-width: 1px; + color: #4D5258; + display: inline-block; + font-size: 1.1em; + line-height: 1.4em; + margin: 0; + padding: 0.909091em 3.63636em; + position: relative; + text-align: left; +} +.alert.alert-success { + background-color: #E4F1E1; + border-color: #4B9E39; +} +.alert.alert-error { + background-color: #F8E7E7; + border-color: #B91415; +} +.alert.alert-warning { + background-color: #FEF1E9; + border-color: #F17528; +} +.alert.alert-info { + background-color: #E4F3FA; + border-color: #5994B2; +} + +.form-horizontal { + border-top: 1px solid #E9E8E8; + padding-top: 23px; +} + +.form-horizontal .control-label { + color: #909090; + line-height: 1.4em; + padding-top: 5px; + position: relative; + text-align: right; + width: 100%; +} + +.form-group { + position: relative; +} + +.control-label + .required { + position: absolute; + right: -2px; + top: 0; +} + +#kc-form-buttons { + text-align: right; + margin-top: 10px; +} + +#kc-form-buttons .btn-primary { + float: right; + margin-left: 8px; +} + +/* Authenticator page */ + +ol { + padding-left: 40px; +} + +ol li { + font-size: 13px; + margin-bottom: 10px; + position: relative; +} + +ol li img { + margin-top: 15px; + margin-bottom: 5px; + border: 1px solid #eee; +} + +hr + .form-horizontal { + border: none; + padding-top: 0; +} + +.kc-dropdown{ + position: relative; +} +.kc-dropdown > a{ + display:block; + padding: 11px 10px 12px; + line-height: 12px; + font-size: 12px; + color: #fff !important; + text-decoration: none; +} +.kc-dropdown > a::after{ + content: "\2c5"; + margin-left: 4px; +} +.kc-dropdown:hover > a{ + background-color: rgba(0,0,0,0.2); +} +.kc-dropdown ul li a{ + padding: 1px 11px; + font-size: 12px; + color: #000 !important; + border: 1px solid #fff; + text-decoration: none; + display:block; + line-height: 20px; +} +.kc-dropdown ul li a:hover{ + color: #4d5258; + background-color: #d4edfa; + border-color: #b3d3e7; +} +.kc-dropdown ul{ + position: absolute; + z-index: 2000; + list-style:none; + display:none; + padding: 5px 0px; + margin: 0px; + background-color: #fff !important; + border: 1px solid #b6b6b6; + border-radius: 1px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; + min-width: 100px; +} +.kc-dropdown:hover ul{ + display:block; +} + + +#kc-totp-secret-key { + border: 1px solid #eee; + font-size: 16px; + padding: 10px; + margin: 50px 0; +} \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/img/favicon.ico b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/img/favicon.ico new file mode 100644 index 0000000..718bf5d Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/img/favicon.ico differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/img/icon-sidebar-active.png b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/img/icon-sidebar-active.png new file mode 100644 index 0000000..e7b9b08 Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/img/icon-sidebar-active.png differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/img/logo.png b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/img/logo.png new file mode 100644 index 0000000..32f24ba Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/resources/img/logo.png differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/theme.properties new file mode 100644 index 0000000..9ed413c --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/account/theme.properties @@ -0,0 +1 @@ +parent=keycloak.v2 \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/admin/resources/js/user-avatar.js b/keycloak-d4science-theme/src/main/resources/theme/d4science/admin/resources/js/user-avatar.js new file mode 100644 index 0000000..ff9ce26 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/admin/resources/js/user-avatar.js @@ -0,0 +1,26 @@ +module.service('UserAvatar', function(Auth) { + this.url = function(user, realm) { + return authUrl + '/realms/' + realm.realm + '/avatar-provider/admin/' + user.id + "?access_token=" + Auth.authz.token + "&" + + new Date().getTime(); + } +}); + +module.controller('UserAvatarCtrl', function($scope, $http, Notifications, UserAvatar) { + $scope.avatarUrl = UserAvatar.url($scope.user, $scope.realm); + + $scope.uploadAvatar = function(files) { + var fd = new FormData(); + //Take the first selected file + fd.append("image", files[0]); + + $http.post($scope.avatarUrl, fd, { + headers: {'Content-Type': undefined }, + transformRequest: angular.identity + }).then(function() { + Notifications.success("Your changes have been saved to the user."); + $scope.avatarUrl = UserAvatar.url($scope.user, $scope.realm); + }, function(error) { + console.error(error); + Notifications.error("Could not save the avatar"); + }); + } +}); diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/admin/resources/partials/user-detail.html b/keycloak-d4science-theme/src/main/resources/theme/d4science/admin/resources/partials/user-detail.html new file mode 100644 index 0000000..e24f233 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/admin/resources/partials/user-detail.html @@ -0,0 +1,169 @@ +
+ + + + +
+ +
+
+ +
+ +
+
+ +
+ +
+ {{user.createdTimestamp|date:'shortDate'}} {{user.createdTimestamp|date:'mediumTime'}} +
+
+ +
+ +
+ + +
+
+ + +
+ + +
+ +
+
+
+ + +
+ +
+
+
+ + +
+ +
+
+ +
+ +
+ +
+ {{:: 'user-enabled.tooltip' | translate}} +
+
+ +
+ +
+ {{:: 'user-temporarily-locked.tooltip' | translate}} +
+ +
+
+
+ + + {{:: 'user-link.tooltip' | translate}} +
+
+ + + {{:: 'user-origin.tooltip' | translate}} +
+
+ +
+ +
+ {{:: 'email-verified.tooltip' | translate}} +
+
+ + +
+ +
+ {{:: 'required-user-actions.tooltip' | translate}} +
+ +
+ +
+
+ +
+
+
+ +
+ + +
+ +
+ {{:: 'impersonate-user.tooltip' | translate}} +
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+
+ Avatar +
+
+ +
+
+
+ + +
+ +
+
+
+
+ +
+ + diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/admin/theme.properties new file mode 100644 index 0000000..a292171 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/admin/theme.properties @@ -0,0 +1,2 @@ +parent=keycloak +scripts=js/user-avatar.js \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/email/theme.properties new file mode 100644 index 0000000..2d72a63 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/email/theme.properties @@ -0,0 +1 @@ +parent=keycloak.v2 diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/login-update-profile.ftl b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/login-update-profile.ftl new file mode 100644 index 0000000..39e1e75 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/login-update-profile.ftl @@ -0,0 +1,61 @@ +<#import "template.ftl" as layout> +<@layout.registrationLayout; section> + <#if section = "header"> + ${msg("loginProfileTitle")} + <#elseif section = "form"> +
+ <#if user.editUsernameAllowed> +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+ +
+ <#if isAppInitiatedAction??> + + + <#else> + + +
+
+
+ + diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_de.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_de.properties new file mode 100644 index 0000000..c832856 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_de.properties @@ -0,0 +1 @@ +confirmLinkIdpReviewProfile=Informationen fr neues Profil berprfen \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_en.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_en.properties new file mode 100644 index 0000000..995fc9d --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_en.properties @@ -0,0 +1,5 @@ +confirmLinkIdpReviewProfile=Review information for new profile + +termsAcceptMsg=You have to scroll down to read and then accept the terms + +usernameValidityMsg=Only letters, numbers and dots are permitted \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_es.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_es.properties new file mode 100644 index 0000000..48a4b2b --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_es.properties @@ -0,0 +1 @@ +confirmLinkIdpReviewProfile=Revisar informacin para nuevo perfil \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_fr.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_fr.properties new file mode 100644 index 0000000..5bb3ee5 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_fr.properties @@ -0,0 +1 @@ +confirmLinkIdpReviewProfile=Examiner les informations pour le nouveau profil \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_it.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_it.properties new file mode 100644 index 0000000..5358c85 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/messages/messages_it.properties @@ -0,0 +1,3 @@ +confirmLinkIdpReviewProfile=Rivedi le informazioni del nuovo profilo + +usernameValidityMsg=Sono consentiti solo lettere, numeri e punti \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/register.ftl b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/register.ftl new file mode 100644 index 0000000..ab7c662 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/register.ftl @@ -0,0 +1,110 @@ +<#import "template.ftl" as layout> +<@layout.registrationLayout; section> + <#if section = "header"> + ${msg("registerTitle")} + <#elseif section = "form"> +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + <#if !realm.registrationEmailAsUsername> +
+
+ +
+
+ +
+
+ + + <#if passwordRequired??> +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + <#if recaptchaRequired??> +
+
+
+
+
+ + + +
+ + + + diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/css/d4science.css b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/css/d4science.css new file mode 100644 index 0000000..bcee5dc --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/css/d4science.css @@ -0,0 +1,568 @@ +.login-pf body { + display: flex; + flex-direction: column; + height: 100vh; +} + +#content { + flex: 1 0 auto; + display: flex; + flex-direction: column; + justify-content: center; +} + +.alert-error { + background-color: #ffffff; + border-color: #cc0000; + color: #333333; +} + +#kc-locale ul { + display: none; + position: absolute; + background-color: #fff; + list-style: none; + right: 0; + top: 20px; + min-width: 100px; + padding: 2px 0; + border: solid 1px #bbb; +} + +#kc-locale:hover ul { + display: block; + margin: 0; +} + +#kc-locale ul li a { + display: block; + padding: 5px 14px; + color: #000 !important; + text-decoration: none; + line-height: 20px; +} + +#kc-locale ul li a:hover { + color: #4d5258; + background-color: #d4edfa; +} + +#kc-locale-dropdown a { + color: #4d5258; + background: 0 0; + padding: 0 15px 0 0; + font-weight: 300; +} + +#kc-locale-dropdown a:hover { + text-decoration: none; +} + +a#kc-current-locale-link { + display: block; + padding: 0 5px; +} + +/* a#kc-current-locale-link:hover { + background-color: rgba(0,0,0,0.2); +} */ + +a#kc-current-locale-link::after { + content: "\2c5"; + margin-left: 4px; +} + +.login-pf .container { + padding-top: 40px; +} + +.login-pf a:hover { + color: #0099d3; +} + +#kc-logo { + width: 100%; +} + +#kc-logo-wrapper { + background-image: url(../img/keycloak-logo-2.png); + background-repeat: no-repeat; + height: 63px; + width: 300px; + margin: 62px auto 0; +} + +div.kc-logo-text { + background-image: url(../img/keycloak-logo-text.png); + background-repeat: no-repeat; + height: 63px; + width: 300px; + margin: 0 auto; +} + +div.kc-logo-text span { + display: none; +} + +#kc-header { + color: #ededed; + overflow: visible; + white-space: nowrap; +} + +#kc-header-wrapper { + font-size: 29px; + text-transform: uppercase; + letter-spacing: 3px; + line-height: 1.2em; + padding: 62px 10px 20px; + white-space: normal; +} + +#kc-content { + width: 100%; +} + +#kc-attempted-username{ + font-size: 20px; + font-family:inherit; + font-weight: normal; + padding-right:10px; +} + +#kc-username{ + text-align: center; +} + +#kc-webauthn-settings-form{ + padding-top:8px; +} + +/* #kc-content-wrapper { + overflow-y: hidden; +} */ + +/* #kc-info { + padding-bottom: 200px; + margin-bottom: -200px; +} */ + +#kc-info-wrapper { + font-size: 13px; +} + +#kc-form-options span { + display: block; +} + +#kc-form-options .checkbox { + margin-top: 0; + color: #72767b; +} + +#kc-terms-text { + margin-bottom: 20px; +} + +#kc-registration { + margin-bottom: 15px; +} + +/* TOTP */ + +.subtitle { + text-align: right; + margin-top: 30px; + color: #909090; +} + +.required { + color: #CB2915; +} + +ol#kc-totp-settings { + margin: 0; + padding-left: 20px; +} + +ul#kc-totp-supported-apps { + margin-bottom: 10px; +} + +#kc-totp-secret-qr-code { + max-width:150px; + max-height:150px; +} + +#kc-totp-secret-key { + background-color: #fff; + color: #333333; + font-size: 16px; + padding: 10px 0; +} + +/* OAuth */ + +#kc-oauth h3 { + margin-top: 0; +} + +#kc-oauth ul { + list-style: none; + padding: 0; + margin: 0; +} + +#kc-oauth ul li { + border-top: 1px solid rgba(255, 255, 255, 0.1); + font-size: 12px; + padding: 10px 0; +} + +#kc-oauth ul li:first-of-type { + border-top: 0; +} + +#kc-oauth .kc-role { + display: inline-block; + width: 50%; +} + +/* Code */ +#kc-code textarea { + width: 100%; + height: 8em; +} + +/* Social */ + +#kc-social-providers ul { + padding: 0; +} + +#kc-social-providers li { + display: block; +} + +#kc-social-providers li:first-of-type { + margin-top: 0; +} + +.kc-login-tooltip{ + position:relative; + display: inline-block; +} + +.kc-login-tooltip .kc-tooltip-text{ + top:-3px; + left:160%; + background-color: black; + visibility: hidden; + color: #fff; + + min-width:130px; + text-align: center; + border-radius: 2px; + box-shadow:0 1px 8px rgba(0,0,0,0.6); + padding: 5px; + + position: absolute; + opacity:0; + transition:opacity 0.5s; +} + +/* Show tooltip */ +.kc-login-tooltip:hover .kc-tooltip-text { + visibility: visible; + opacity:0.7; +} + +/* Arrow for tooltip */ +.kc-login-tooltip .kc-tooltip-text::after { + content: " "; + position: absolute; + top: 15px; + right: 100%; + margin-top: -5px; + border-width: 5px; + border-style: solid; + border-color: transparent black transparent transparent; +} + +.zocial, +a.zocial { + width: 100%; + font-weight: normal; + font-size: 14px; + text-shadow: none; + border: 0; + background: #f5f5f5; + color: #72767b; + border-radius: 0; + white-space: normal; +} +.zocial:before { + border-right: 0; + margin-right: 0; +} +.zocial span:before { + padding: 7px 10px; + font-size: 14px; +} +.zocial:hover { + background: #ededed !important; +} + +.zocial.facebook, +.zocial.github, +.zocial.google, +.zocial.microsoft, +.zocial.stackoverflow, +.zocial.linkedin, +.zocial.twitter { + background-image: none; + border: 0; + + box-shadow: none; + text-shadow: none; +} + +/* Copy of zocial windows classes to be used for microsoft's social provider button */ +.zocial.microsoft:before{ content: "\f15d"; } +.zocial.stackoverflow:before{ color: inherit; } + +.zocial.oidc:before{ + content: " "; + background: url(../img/academic.png); + height: 25px; + width: 25px; + background-size: contain; + background-repeat: no-repeat; + margin: 3px 3px 3px 7px; +} +.zocial.google:before{ + content: " "; + background: url(../img/google.png); + height: 16px; + width: 16px; + background-size: contain; + background-repeat: no-repeat; + margin: 6px 8px 8px 8px; +} + +@media (min-width: 768px) { + #kc-container-wrapper { + position: absolute; + width: 100%; + } + + .login-pf .container { + padding-right: 80px; + } + + #kc-locale { + position: relative; + text-align: right; + z-index: 9999; + } +} + +@media (max-width: 767px) { + + .login-pf body { + background: white; + } + + #kc-header { + padding-left: 15px; + padding-right: 15px; + float: none; + text-align: left; + } + + #kc-header-wrapper { + font-size: 16px; + font-weight: bold; + padding: 20px 60px 0 0; + color: #72767b; + letter-spacing: 0; + } + + div.kc-logo-text { + margin: 0; + width: 150px; + height: 32px; + background-size: 100%; + } + + #kc-form { + float: none; + } + + #kc-info-wrapper { + border-top: 1px solid rgba(255, 255, 255, 0.1); + margin-top: 15px; + padding-top: 15px; + padding-left: 0px; + padding-right: 15px; + } + + #kc-social-providers li { + display: block; + margin-right: 5px; + } + + .login-pf .container { + padding-top: 15px; + padding-bottom: 15px; + } + + #kc-locale { + position: absolute; + width: 200px; + top: 20px; + right: 20px; + text-align: right; + z-index: 9999; + } + + #kc-logo-wrapper { + background-size: 100px 21px; + height: 21px; + width: 100px; + margin: 20px 0 0 20px; + } + +} + +@media (min-height: 646px) { + #kc-container-wrapper { + bottom: 12%; + } +} + +@media (max-height: 645px) { + #kc-container-wrapper { + padding-top: 50px; + top: 20%; + } +} + +.card-pf form.form-actions .btn { + float: right; + margin-left: 10px; +} + +#kc-form-buttons { + margin-top: 40px; +} + +.login-pf-page .login-pf-brand { + margin-top: 20px; + max-width: 360px; + width: 40%; +} + +.card-pf { + background: #fff; + margin: 0 auto; + padding: 0 20px; + max-width: 500px; + border-top: 0; + box-shadow: 0 0 0; +} + +.login-pf-page .card-pf{ + padding: 20px 20px 20px 20px; +} + +/*tablet*/ +@media (max-width: 840px) { + .login-pf-page .card-pf{ + max-width: none; + margin-left: 20px; + margin-right: 20px; + padding: 20px 20px 20px 20px; + } +} +@media (max-width: 767px) { + .login-pf-page .card-pf{ + max-width: none; + margin-left: 0; + margin-right: 0; + padding-top: 0; + } + .card-pf.login-pf-accounts{ + max-width: none; + } +} + +.login-pf-page .login-pf-signup { + font-size: 15px; + color: #72767b; +} +#kc-content-wrapper .row { + margin-left: 0; + margin-right: 0; +} + +@media (min-width: 768px) { + .login-pf-page .login-pf-social-section:first-of-type { + padding-right: 39px; + border-right: 1px solid #d1d1d1; + margin-right: -1px; + } + .login-pf-page .login-pf-social-section:last-of-type { + padding-left: 40px; + } + .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type { + margin-bottom: 0; + } + .login-pf-page .login-pf-social-double-col .login-pf-social-link { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } +} + +.login-pf-page .login-pf-social-link { + margin-bottom: 20px; +} +.login-pf-page .login-pf-social-link a { + padding: 2px 0; +} + +.login-pf-page.login-pf-page-accounts { + margin-left: auto; + margin-right: auto; +} + +.login-pf-page .btn-primary { + margin-top: 0; +} + +.login-pf-page .list-view-pf .list-group-item { + border-bottom: 1px solid #ededed; +} + +.login-pf-page .list-view-pf-description { + width: 100%; +} + +.login-pf-page .card-pf{ + margin-bottom: 10px; +} + +#kc-form-login div.form-group:last-of-type, +#kc-register-form div.form-group:last-of-type, +#kc-update-profile-form div.form-group:last-of-type { + margin-bottom: 0px; +} + +#kc-back { + margin-top: 5px; +} + +form#kc-select-back-form div.login-pf-social-section { + padding-left: 0px; + border-left: 0px; +} diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/PoweredByD4Science.png b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/PoweredByD4Science.png new file mode 100644 index 0000000..2936101 Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/PoweredByD4Science.png differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/academic.png b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/academic.png new file mode 100644 index 0000000..f59bb08 Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/academic.png differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/blue-triangles.png b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/blue-triangles.png new file mode 100644 index 0000000..cfb9540 Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/blue-triangles.png differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/color-triangles.png b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/color-triangles.png new file mode 100644 index 0000000..6dcbee7 Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/color-triangles.png differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/favicon.ico b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/favicon.ico new file mode 100644 index 0000000..718bf5d Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/favicon.ico differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/google.png b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/google.png new file mode 100644 index 0000000..1ff3d5d Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/google.png differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/logo-ec.jpg b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/logo-ec.jpg new file mode 100644 index 0000000..08d697b Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/logo-ec.jpg differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/network-blue.jpg b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/network-blue.jpg new file mode 100644 index 0000000..3382286 Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/network-blue.jpg differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/network-lightblue.jpg b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/network-lightblue.jpg new file mode 100644 index 0000000..f02057a Binary files /dev/null and b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/resources/img/network-lightblue.jpg differ diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/template.ftl b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/template.ftl new file mode 100644 index 0000000..35bbdb7 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/template.ftl @@ -0,0 +1,201 @@ +<#macro registrationLayout bodyClass="" displayInfo=false displayMessage=true displayRequiredFields=false displayWide=false showAnotherWayIfPresent=true> + + + + + + + + + <#if properties.meta?has_content> + <#list properties.meta?split(' ') as meta> + + + + <#if properties.titleTag?has_content>${properties.titleTag}<#else>${msg("loginTitle",(realm.displayName!''))}</#if> + + <#if properties.styles?has_content> + <#list properties.styles?split(' ') as style> + + + + <#if properties.scripts?has_content> + <#list properties.scripts?split(' ') as script> + + + + <#if scripts??> + <#list scripts as script> + + + + + + +
+ +
+ + +
+ + + +
+ <#if realm.internationalizationEnabled && locale.supported?size gt 1> +
+
+
+ ${locale.current} +
    + <#list locale.supported as l> +
  • ${l.label}
  • + +
+
+
+
+ + <#if !(auth?has_content && auth.showUsername() && !auth.showResetCredentials())> + <#if displayRequiredFields> +
+
+ * ${msg("requiredFields")} +
+
+

<#nested "header">

+
+
+ <#else> +

<#nested "header">

+ + <#else> + <#if displayRequiredFields> +
+
+ * ${msg("requiredFields")} +
+
+ <#nested "show-username"> +
+
+ + + + +
+
+
+
+ <#else> + <#nested "show-username"> +
+
+ + + + +
+
+ + +
+
+
+ + <#-- App-initiated actions should not see warning messages about the need to complete the action --> + <#-- during login. --> + <#if displayMessage && message?has_content && (message.type != 'warning' || !isAppInitiatedAction??)> +
+ <#if message.type = 'success'> + <#if message.type = 'warning'> + <#if message.type = 'error'> + <#if message.type = 'info'> + +
+ + + <#nested "form"> + + <#if auth?has_content && auth.showTryAnotherWayLink() && showAnotherWayIfPresent> +
class="${properties.kcContentWrapperClass!}"> +
class="${properties.kcFormSocialAccountContentClass!} ${properties.kcFormSocialAccountClass!}"> + +
+
+ + + <#if displayInfo> +
+
+ <#nested "info"> +
+
+ +
+ +
+ +
+
+ Terms of Use | + Cookies Policy | + Privacy Policy | + <#if properties.linkProject?has_content>${properties.descrProject!} +
+ <#if properties.ECLogo?has_content && properties.ECLogo='yes'> +
+ <#if properties.footerRow?has_content>
${kcSanitize(properties.footerRow)?no_esc}
+
+ + ${properties.ECLogoAlt!} + +
+
+ <#else> + <#if properties.footerRow?has_content>
${kcSanitize(properties.footerRow)?no_esc}
+ +
+ +
+
+ +
+ + + diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/terms.ftl b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/terms.ftl new file mode 100644 index 0000000..c6c5ccd --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/terms.ftl @@ -0,0 +1,26 @@ +<#import "template.ftl" as layout> +<@layout.registrationLayout displayMessage=false displayWide=true; section> + <#if section = "header"> + ${msg("termsTitle")} + <#elseif section = "form"> +
+ <#include "terms.html" parse=false> +
+

${msg("termsAcceptMsg")}

+
+ + +
+
+ + + diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/terms.html b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/terms.html new file mode 100644 index 0000000..9659155 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/terms.html @@ -0,0 +1,143 @@ + +
+

Last revised on December 10th, 2019

+ +

Disclaimer

+ +

This Gateway is operated by D4Science.org. Some of the technologies, services, and procedures, hereafter referred as Content of the Gateway, powering it have been produced with the co-funding of the European Commission. The content of the Gateway is the sole responsibility of the D4Science.org Team and cannot be considered to reflect the views of the European Commission.

+ +

Information and content accessible through the Gateway are provided on an "as is" and "as available" basis. The D4Science.org Team makes every effort to ensure, but does not guarantee, the accuracy, completeness or authenticity of the information on this Gateway. The D4Science.org Team reserves the right to alter, limit or discontinue any part of this service at its discretion. Under no circumstances shall the D4Science.org Team be liable for any loss, damage, liability or expense suffered that is claimed to result from the use of information posted on this site or through its web services, including without limitation, any fault, error, omission, interruption or delay.

+ +

Hyperlinks to non-D4Science.org websites do not imply any official endorsement of or responsibility on the part of D4Science.org for the opinions, ideas, content or products presented at these locations, or guarantee the validity of the information provided. The sole purpose of links to non-D4Science.org sites is to indicate further information available on related topics. The information is provided on the basis that users accessing this Gateway assume responsibility for assessing its relevance, accuracy and suitability for application.

+ +

Copyright

+ +

The content and information made available through this Gateway are available under terms described in the metadata accompanying each product (e.g. “license” or "constraints" field). Except where otherwise noted (i.e. in case of primary requirement to comply with the content provider’s policy) this is the Creative Commons License.

+ +

All derivative products produced and made publicly available through this Gateway are licensed under the Creative Commons License CC BY-SA except where otherwise noted.

+ +

How to Cite or Acknowledge D4Science

+ +

Any work produced by making use of assets made available by the D4Science infrastructure should acknowledge the support received and give credits. Please include the following reference: 

+ +

+ M. Assante et al. (2019) Enacting open science by D4Science. Future Gener. Comput. Syst. 101: 555-563 + 10.1016/j.future.2019.05.063 + +

+ +

Furthermore, if you wish to cite / acknowledge a A Virtual Research Environment, a Service, a Dataset or Method please refer to the following + table. +

+ +

Your Agreement to the Terms

+ +

YOUR ACCESS OR USE OF THE GATEWAY, A VIRTUAL RESEARCH ENVIRONMENT OR A SERVICE IN ANY WAY SIGNIFIES THAT YOU HAVE READ, UNDERSTAND AND AGREE TO BE BOUND BY THE TERMS.

+ +

Our Services are very diverse, so additional terms or requirements apply. Additional terms are available with the relevant Services, and those additional terms become part of your agreement with us if you use those Services.

+ +

By accessing or using the Gateway, a Virtual Research Environment or a Service you also declare that you have the legal authority to accept the Terms on behalf of yourself and any party you represent in connection with your use of the Gateway, a Virtual Research Environment or a Service. If you do not agree to the Terms, you are not authorized to use the Gateway, a Virtual Research Environment or a Service.

+ +

Please read them carefully.

+
+  + +
+

Gateway

+ +

Any Gateway exploiting resources of the D4Science Infrastructure and operated by D4Science.org is the access point to products and services identified by the community requesting it.

+ +

Upon registration to the Gateway Service, the user can immediately use the storage space via the Workspace Service, the  Social Netwroking Collaborative Platform including the Email Service to send/receive content  to other registered users, the Social Service to share and read news and posts with your connections and the Notification Service for user notifications, and the Catalogue Service to browse available datasets, methods, and services therein published. You can also apply to one or more moderated or public Virtual Research Environments offering one or more additional services.

+ +

All the Services made accessible through this Gateway are also accessible through APIs by specifying the secure token generated with the registration and specialised for each Virtual Research Environment the user is member of. Starting from January 1st 2020 the APIs are exploitable only by using the secure and encrypted communication protocol over a computer network, HTTPS, while the support for the deprecated communication protocol over a computer network, HTTP, is definitely terminated December 31st 2019.

+ +

You own the information, content, and method you provide to the D4Science Infrastructure through this Gateway under this Agreement, and may request its deletion at any time, unless you have shared information content, or method with others and they have not deleted it, or it was copied or stored by other users. Additionally, you grant D4Science.org a nonexclusive, worldwide, assignable, sublicensable, fully paid up and royalty-free right to us to copy, prepare derivative works of, improve, distribute, publish, remove, retain, add, process, analyse, and use in any way now known or in the future discovered, any information, content, or method you explicitly share or publish, directly or indirectly to D4Science.org, including, but not limited to, any user generated content, techniques or data to the services without any further consent, notice and/or compensation to you or to any third parties to serve the purpose of providing the service required by the User. Any information you submit to us is at your own risk of loss as noted in the following sections of this Agreement.

+ +

By sharing information, content, or method to us, you represent and warrant that you are entitled to share the information, content, or method and that the information, content, or method is accurate, not confidential, and not in violation of any contractual restrictions or other third-party rights.

+ +

You must promptly notify the D4Science.org Team of any breach of security related to the Services, including but not limited to unauthorized use of your password or account. To help ensure the security of your password or account, please sign out from your account at the end of each session.

+ +

The D4Science.org Team, hereafter referred ad D4Science.org, may terminate your account in accordance with the terms of service if you fail to login to your account for a period of SIX months. Moreover, if you are found to be in violation of our policies at any time, as determined by the D4Science.org in its sole discretion, we may warn you or suspend or terminate your account.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Action

+
+

Conditions of use

+
+
Posting Content or Method
+
+

You can post content or method to any service made accessible through this Gateway only if (a) you created and own the rights to the content or method or you have the owner’s express permission to post the content or method; and (b) the content or method does not infringe any other person’s or entity’s rights (including the copyrights, trademarks, or privacy rights) or violate any applicable laws, this Terms of Use, Privacy Policy, our Community Best Practices, or any other posted policies. D4Science.org can remove content or method for any infringing reason.

+ +

When you use a service to upload content or register a method into a VRE, you retain the irrevocable, exclusive, worldwide right and license to use, reproduce, modify, display, remix, re-distribute, create derivative works, and syndicate your content or method in any medium and through any service. Only where you have specifically shared, or used a specialized service for sharing content, will your content become part of a derivative work to be licensed under a schema selected by the owner.

+
+
Sharing Content or Method
+
+

D4Science.org offers sharing and publication at different levels: within a VRE, among different VREs and by publication to data repositories that may be accessible to external users.

+ +

Each shared content is associated to a copyright license. A CC BY-SA license is proposed if the dataset is obtained with a mash up process from different sources (a true derivative product), any other license (not technically supported by the D4Science Infrastructure) in case of unaltered product shared with other Users/VREs. In both cases the metadata must be filled (if not automatically compiled) and a preferred citation must be indicated.

+ +

You are responsible for any content or method you post to our Services and the consequences of sharing such content or method with others or the general public. This includes, for example, any personal information, any confidential data or any unofficial data. D4Science.org is not responsible for the consequences of sharing or posting any personal or other information on its services.

+ +

When you use a Service that allows users to share, transform, readapt, modify, or combine the content or method with other content or methods, you grant D4Science.org and our Users a non-exclusive, royalty free, worldwide right and license to [use, reproduce, modify, display, remix, perform, distribute, redistribute, adapt, promote, create derivative works, and syndicate] your content or method [in any medium and through any form of technology or distribution] and to permit any derivative works to be licensed under these same license terms.

+ +

Any user accessing shared content must behave according to the copyright license of the dataset. However, the D4Science Infrastructure does not control or audit access to and / or audit use of shared content. It can therefore not impose a shared policy, but can encourage sharing according to best practices.

+ +

Sharing content or method within the D4Science infrastructure (i.e. sharing through one or more VREs) will make them accessible only to authorized users, and cannot be accessed from outside. 

+
+
Publishing Content
+
+

The VRE authorized Users can publish content and make it available to the public exposing to general view with no restrictions except for a registration procedure that may be required. Each published set of content is associated to a copyright license.  Published content can be accessed by the general public through this Gateway and through dedicated web applications (e.g. web services).

+
+
Secondary Use of the Content
+
+

Data accessed through this Gateway do not, and should not, include controls over its end use. However, the content owner or authoritative source for the content must retain version control of content accessed.

+ +

Once the content has been downloaded from the Gateway, D4Science.org cannot vouch for their quality and timeliness. D4Science.org cannot vouch for any analyses conducted with the content retrieved from the Gateway.

+
+
Derivative Work and Data Citation
+
+

Derivative work should only be produced by complying with the terms and conditions established in the license of the used content.

+ +

The derivative work is owned by the legitimate copyright holder identified among the contributors co-owning the new product and is the contact point for any use, re-use/re-distribute request.

+ +

Derivative work may contain content retrieved from the D4Science Infrastructure.

+ +

Every content should include in its metadata at least a preferred citation, a reference to the infrastructure source dataset and its generation date, and the date that content was accessed or retrieved from the Gateway or any of its services. If the content was a composition of multiple datasets with different citations, the owner of the content should have added that to the relevant metadata.

+ +

If such derivative work is produced through VREs, the D4Science Infrastructure generates a default provenance metadata, which matches references to sources used for the derivative work and their respective citations.

+ +

You must clearly state that “D4Science.org cannot vouch for the analyses derived from this content after it has been retrieved from the D4Science Infrastructure”.

+
+
+ +

Table 1: Conditions of Use Summary Table

+ +
diff --git a/keycloak-d4science-theme/src/main/resources/theme/d4science/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/theme.properties new file mode 100644 index 0000000..88411ea --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/d4science/login/theme.properties @@ -0,0 +1,34 @@ +parent=keycloak +import=common/keycloak + +styles=node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternfly/dist/css/patternfly-additions.min.css lib/zocial/zocial.css css/d4science.css + +#titleTag= +#favicon=https://services.d4science.org/favicon.ico +contentBgImg=img/color-triangles.png +#contentStyle=background: url("https://url-of-background-img"); + +logoHeaderStyle=display: flex; justify-content: space-between; width: 100%; + +#logoSrc= +logoAlt=gCubeDev Gateway +logoStyle=height: 60px; + +infrastructureLogo=yes +infrastructureLogoStyle=height: 40px; + +footerStyle=display: flex; flex-direction: column; width: 100%; padding-top: 10px; + +#linkTerms= +#linkCookies= +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 +#linkProject= +descrProject=Project Home + +ECLogo=no +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=Project has received funding from the European Union's Horizon programme ... + +#kcLogoIdP-eosc-oidc= \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/login/theme.properties new file mode 100644 index 0000000..725b3e8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/dante.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=HDN Gateway +favicon=https://dante.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://dante.d4science.org/image/layout_set_logo?img_id=213136654&t=1610442043643 +logoAlt=HDN Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://dante.d4science.org/terms-of-use +linkCookies=https://dante.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject= + +ECLogo=no +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=Hypermedia Dante Network (HDN) is a National Project funded by the Italian National Research project (PRIN) funded by the Italian Ministry of Education, University and Research (MIUR) diff --git a/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/login/theme.properties new file mode 100644 index 0000000..796f178 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/desira.d4science.org/login/theme.properties @@ -0,0 +1,53 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=DESIRA Gateway +favicon=https://desira.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://desira.d4science.org/image/layout_set_logo?img_id=186037762&t=1610442043621 +logoAlt=DESIRA Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://desira.d4science.org/terms-of-use +linkCookies=https://desira.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject= +descrProject= + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=DESIRA is a Horizon 2020 project funded by the European Commission. The views and opinions expressed in this publication are the sole responsibility of the author and do not necessarily reflect the views of the European Commission diff --git a/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/account/theme.properties new file mode 100644 index 0000000..42c1a4c --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/account/theme.properties @@ -0,0 +1 @@ +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/admin/theme.properties new file mode 100644 index 0000000..df811eb --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/admin/theme.properties @@ -0,0 +1 @@ +parent=d4science \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/email/theme.properties new file mode 100644 index 0000000..42c1a4c --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/email/theme.properties @@ -0,0 +1 @@ +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/login/theme.properties new file mode 100644 index 0000000..ac8b31a --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/dev4.d4science.org/login/theme.properties @@ -0,0 +1,32 @@ +parent=d4science + + +#styles= + +titleTag=gCube Snapshot Gateway - Sign in +favicon=https://dev4.d4science.org/generic-configurable-theme/images/favicon.ico +contentBgImg=img/color-triangles.png +#contentStyle=background: url("https://url-of-background-img"); + +#logoHeaderStyle= + +logoSrc=https://dev4.d4science.org/image/company_logo?img_id=0&t=1590160581995 +logoAlt=gCube Snapshot Gateway +logoStyle=height: 50px; + +infrastructureLogo=no +#infrastructureLogoStyle= + +#footerStyle= + +linkTerms=https://dev4.d4science.org/terms-of-use +linkCookies=https://dev4.d4science.org/cookie-policy +#linkPrivacy=https://www.iubenda.com/privacy-policy/441050 +linkProject=https://dev4.d4science.org +descrProject=Go to D4Science Gateway + +ECLogo=no +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow= diff --git a/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/login/theme.properties new file mode 100644 index 0000000..bd539fe --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/eosc-pillar.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=EOSC-Pillar Gateway +favicon=https://eosc-pillar.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://eosc-pillar.d4science.org/image/layout_set_logo?img_id=193750956&t=1610442043626 +logoAlt=EOSC-Pillar Gateway +logoStyle=height: 50px;background-color: lightgray; + +infrastructureLogo=yes + + +linkTerms=https://eosc-pillar.d4science.org/terms-of-use +linkCookies=https://eosc-pillar.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=https://www.eosc-pillar.eu + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=EOSC Pillar has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No. 857650.
The views and opinions expressed in this publication are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/login/theme.properties new file mode 100644 index 0000000..57091f5 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/eoscsecretariat.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=EOSC-Secretariat Gateway +favicon=https://eoscsecretariat.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://eoscsecretariat.d4science.org/image/layout_set_logo?img_id=182778502&t=1610442043632 +logoAlt=EOSC-Secretariat Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://eoscsecretariat.d4science.org/terms-of-use +linkCookies=https://eoscsecretariat.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=https://www.eoscsecretariat.eu + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=EOSCsecretariat.eu has received funding from the European Unions Horizon Programme call H2020-INFRAEOSC-2018-4, grant Agreement number 831644.
The views and opinions expressed in this publication are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/example_theme/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/example_theme/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/example_theme/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/example_theme/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/example_theme/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/example_theme/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/example_theme/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/example_theme/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/example_theme/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/example_theme/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/example_theme/login/theme.properties new file mode 100644 index 0000000..d9c4628 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/example_theme/login/theme.properties @@ -0,0 +1,28 @@ +parent= d4science + + +titleTag=Gateway - Sign in +favicon=https://aginfra.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://aginfra.d4science.org/image/layout_set_logo?img_id=26845094&t=1610388639499 +logoAlt=AGINFRAPlus Gateway +logoStyle=height: 50px; + +infrastructureLogo=no + + +linkTerms=https://aginfra.d4science.org/terms-of-use +linkCookies=https://aginfra.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=http://plus.aginfra.eu/ +descrProject= + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=AGINFRA PLUS receives funding from the European Unions Horizon 2020 research and innovation programme under grant agreement No. 731001
The views and opinions expressed in this website are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/login/theme.properties new file mode 100644 index 0000000..2962060 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/gemex.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=GEMex Gateway +favicon=https://gemex.d4science.org/GEMex-site-theme/images/favicon.ico + + + + +logoSrc=https://gemex.d4science.org/image/layout_set_logo?img_id=14003058&t=1610442043637 +logoAlt=GEMex Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://gemex.d4science.org/terms-of-use +linkCookies=https://gemex.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=http://www.gemex-h2020.eu/index.php + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=This project has received funding from the European Union's Horizon 2020 Framework Programme for Research and Innovation (H2020-LCE-2016-23) under grant agreement No. 727550. This publication/multimedia product/presentation reflects the views of the author, and the European Union cannot be held responsible for any use which might be made of the information contained therein. diff --git a/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/login/theme.properties new file mode 100644 index 0000000..de292e1 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/i-gene.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=I-GENE Gateway +favicon=https://i-gene.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://i-gene.d4science.org/image/layout_set_logo?img_id=210157026&t=1610442043648 +logoAlt=I-GENE Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://i-gene.d4science.org/terms-of-use +linkCookies=https://i-gene.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=https://cordis.europa.eu/project/rcn/224947/factsheet/en?WT.mc_id=RSS-Feed&WT.rss_f=project&WT.rss_a=224947&WT.rss_ev=a + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=In-vivo Gene Editing by NanotransducErs (I-GENE) has received funding from the European Unions Horizon programme call H2020-EU.1.2.1, Grant Agreement n.862714
The views and opinions expressed in this publication are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/login/theme.properties new file mode 100644 index 0000000..ebbad3e --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/i-marine.d4science.org/login/theme.properties @@ -0,0 +1,54 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=iMarine Gateway +favicon=https://i-marine.d4science.org/generic-configurable-theme/images/favicon.ico +contentBgImg= +contentStyle=background: url("https://i-marine.d4science.org/generic-configurable-theme/images/custom/bb_background.jpg") no-repeat center center fixed; background-size: cover; + + + +logoSrc=https://i-marine.d4science.org/image/layout_set_logo?img_id=42612&t=1610036038446 +logoAlt=iMarine Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://i-marine.d4science.org/terms-of-use +linkCookies=https://i-marine.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject= +descrProject= + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=iMarine was supported by the European Union's research and innovation programmes.
The views and opinions expressed in this website are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/login/theme.properties new file mode 100644 index 0000000..27925f9 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/moving.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=MOVING Gateway +favicon=https://moving.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://moving.d4science.org/image/layout_set_logo?img_id=269577067&t=1610442043658 +logoAlt=MOVING Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://moving.d4science.org/terms-of-use +linkCookies=https://moving.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=https://www.moving-h2020.eu + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=MOVING project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No. 862739. This website reflects only the authors view and REA and the EC are not responsible for any use that may be made of the information it contains. diff --git a/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/account/theme.properties new file mode 100644 index 0000000..42c1a4c --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/account/theme.properties @@ -0,0 +1 @@ +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/admin/theme.properties new file mode 100644 index 0000000..df811eb --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/admin/theme.properties @@ -0,0 +1 @@ +parent=d4science \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/email/theme.properties new file mode 100644 index 0000000..42c1a4c --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/email/theme.properties @@ -0,0 +1 @@ +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/login/theme.properties new file mode 100644 index 0000000..be0bc0a --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/next.d4science.org/login/theme.properties @@ -0,0 +1,32 @@ +parent=d4science + + +#styles= + +titleTag=gCubeDev Gateway - Sign in +favicon=https://next.d4science.org/generic-configurable-theme/images/favicon.ico +contentBgImg=img/blue-triangles.png +#contentStyle=background: url("https://url-of-background-img"); + +#logoHeaderStyle= + +logoSrc=https://next.d4science.org/image/layout_set_logo?img_id=9133999&t=1592922317362 +logoAlt=gCubeDev Gateway +logoStyle=height: 50px; + +infrastructureLogo=no +#infrastructureLogoStyle= + +#footerStyle= + +linkTerms=https://next.d4science.org/terms-of-use +linkCookies=https://next.d4science.org/cookie-policy +#linkPrivacy=https://www.iubenda.com/privacy-policy/441050 +linkProject=https://next.d4science.org/ +descrProject=Go to D4Science Gateway + +ECLogo=no +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow= \ No newline at end of file diff --git a/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/login/theme.properties new file mode 100644 index 0000000..f776870 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/openaire-connect.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=OpenAIRE-Connect Gateway +favicon=https://openaire-connect.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://openaire-connect.d4science.org/image/layout_set_logo?img_id=38064740&t=1610442043662 +logoAlt=OpenAIRE-Connect Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://openaire-connect.d4science.org/terms-of-use +linkCookies=https://openaire-connect.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=https://www.openaire.eu/connect + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=OpenAIRE Connect is a Horizon 2020 project (Project n. 643410) funded by the European Commission. The views and opinions expressed in this publication are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/login/theme.properties new file mode 100644 index 0000000..3aae6b7 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/parthenos.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=PARTHENOS Gateway +favicon=https://parthenos.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://parthenos.d4science.org/image/layout_set_logo?img_id=29574462&t=1610442043668 +logoAlt=PARTHENOS Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://parthenos.d4science.org/terms-of-use +linkCookies=https://parthenos.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=http://www.parthenos-project.eu + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=PARTHENOS is a Horizon 2020 project funded by the European Commission. The views and opinions expressed in this publication are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/login/theme.properties new file mode 100644 index 0000000..e8d7e56 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/performfish.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=PerformFISH Gateway +favicon=https://performfish.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://performfish.d4science.org/image/layout_set_logo?img_id=129800238&t=1610442043674 +logoAlt=PerformFISH Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://performfish.d4science.org/terms-of-use +linkCookies=https://performfish.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=https://performfish.eu + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=PerformFISH has received funding from the European Union's Horizon 2020 research and innovation programme under Grant Agreement no 727610 (PerformFISH). This output reflects the views only of the author(s), and the European Union cannot be held responsible for any use which may be made of the information contained therein. diff --git a/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/login/theme.properties new file mode 100644 index 0000000..9621250 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/risis2.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=RISIS2 Gateway +favicon=https://risis2.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://risis2.d4science.org/image/layout_set_logo?img_id=221787428&t=1610442043680 +logoAlt=RISIS2 Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://risis2.d4science.org/terms-of-use +linkCookies=https://risis2.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=https://risis2.eu + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=RISIS2 has received funding by the European Union under Horizon2020 Research and Innovation Programme Grant Agreement n. 24091
The views and opinions expressed in this publication are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/login/theme.properties new file mode 100644 index 0000000..36219f3 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/secomlab.d4science.org/login/theme.properties @@ -0,0 +1,53 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=SEComLab Gateway +favicon=https://secomlab.d4science.org/generic-configurable-theme/images/favicon.ico + + + + +logoSrc=https://secomlab.d4science.org/image/layout_set_logo?img_id=176195124&t=1610442043685 +logoAlt=SEComLab Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://secomlab.d4science.org/terms-of-use +linkCookies=https://secomlab.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject= +descrProject= + +ECLogo=no +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=This Gateway is an access point to the Virtual Research Environments (VREs) managed by INGV-Pisa (Istituto Nazionale di Geofisica e Vulcanologia) for promoting collaborative research in Computational Solid Earth Sciences. diff --git a/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/login/theme.properties new file mode 100644 index 0000000..1ba2dac --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/services.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=D4Science.org Gateway +favicon=https://services.d4science.org/d4science-site-theme/images/favicon.ico + + + + +logoSrc=https://services.d4science.org/image/journal/article?img_id=289733902&t=1613803987941 +logoAlt=D4Science.org Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://services.d4science.org/terms-of-use +linkCookies=https://services.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=https://www.d4science.org/ + +ECLogo=no +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=D4Science is supporting the operation of a large set of diverse Initiatives, Communities of Practice, and Projects by offering VREs and Services. diff --git a/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/login/theme.properties new file mode 100644 index 0000000..c3f9496 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/sobigdata.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=SoBigData Gateway +favicon=https://sobigdata.d4science.org/sobigdata-site-theme/images/favicon.ico +contentBgImg= +contentStyle=background: url("https://sobigdata.d4science.org/sobigdata-site-theme/images/custom/default_background.jpg") no-repeat center center fixed; background-size: cover; + + +logoSrc=https://sobigdata.d4science.org/image/layout_set_logo?img_id=63423&t=1610441683964 +logoAlt=SoBigData Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://sobigdata.d4science.org/terms-of-use +linkCookies=https://sobigdata.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=http://www.sobigdata.eu + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=SoBigData.eu receives funding from the European Unions Horizon 2020 research and innovation programme under grant agreements No. 654024 and 871042
The views and opinions expressed in this website are the sole responsibility of the author and do not necessarily reflect the views of the European Commission. diff --git a/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/login/theme.properties new file mode 100644 index 0000000..f2e9560 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/territoriaperti.d4science.org/login/theme.properties @@ -0,0 +1,52 @@ +#parent= the parent then defaults to d4science +#titleTag= the page title is mandatory +#favicon= absolute url to favicon defaults to https://services.d4science.org/favicon.ico +#contentBgImg= relative path to bg image defaults to img/color-triangles.png +#contentStyle= define custom styles. Note: use this for overriding BG image when pointing to external resource such as background: url("https://url-of-background-img"i no-repeat center center fixed); background-size: cover; + +#logoHeaderStyle= custom style for logoHeader defaults to display: flex; justify-content: space-between; width: 100%; + +#logoSrc= url for logo image is mandatory +#logoAlt= alt text for logo gCubeDev Gateway +#logoStyle= custom style for logo defautls to height: 60px; +#infrastructureLogo= yes (default) if "powered for d4science has to be included". no otherwise +#infrastructureLogoStyle= custom style for infrastructureLogo defaults to height: 40px; +#footerStyle= custom style for footer defaults to: display: flex; flex-direction: column; width: 100%; padding-top: 10px; +#linkTerms= absolute url to terms of use +#linkCookies= absolute link to cookie policy +#linkPrivacy= absolute link to privacy policiy defaults to: https://www.iubenda.com/privacy-policy/441050 +#linkProject= absolute link to project home site +#descrProject= description of project + +#ECLogo= include EC logo defaults to no +#ECLogoStyle= custom style for EC logo defaults to max-width: 35px; +#ECLogoAlt= alt text for EC logo defaults to EU H2020 programme +#footerRow= custom HTML text for footer content + +parent=d4science + + +titleTag=TerritoriAperti Gateway +favicon=https://territoriaperti.d4science.org/territori-aperti-theme/images/favicon.ico +contentBgImg= +contentStyle=background: url("https://territoriaperti.d4science.org/documents/233557035/0/ta-background.jpg/5914df3e-dfab-4d38-8bb9-672313cbf9bd?t=1584543054884") no-repeat center center fixed; background-size: cover; + + +logoSrc=https://territoriaperti.d4science.org/image/layout_set_logo?img_id=233557512&t=1610441217759 +logoAlt=TerritoriAperti Gateway +logoStyle=height: 50px; + +infrastructureLogo=yes + + +linkTerms=https://territoriaperti.d4science.org/terms-of-use +linkCookies=https://territoriaperti.d4science.org/cookie-policy +linkPrivacy=https://www.iubenda.com/privacy-policy/441050 + +linkProject=http://territoriaperti.univaq.it + +ECLogo=no +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + +footerRow=Interdisciplinary information system of Territori Aperti for the prevention and management of natural disasters, as well as for the improvement of the reconstruction and development processes of the affected areas.
The system supports scientific research with the creation of new knowledge and skills through the management and enhancement of data and analytical processes. diff --git a/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/account/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/account/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/account/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/admin/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/admin/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/admin/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/email/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/email/theme.properties new file mode 100644 index 0000000..f75d4f8 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/email/theme.properties @@ -0,0 +1,2 @@ + +parent=d4science diff --git a/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/login/theme.properties b/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/login/theme.properties new file mode 100644 index 0000000..72ff9a6 --- /dev/null +++ b/keycloak-d4science-theme/src/main/resources/theme/test-theme.d4science.org/login/theme.properties @@ -0,0 +1,26 @@ +parent= d4science + + +titleTag=test gateway +favicon=https://services.d4science.org/favicon.ico + + + + +logoSrc=https://dev.d4science.org/image/layout_set_logo?img_id=36727858 +logoAlt=test +logoStyle=height: 50px; + +infrastructureLogo=no + + +linkTerms=https://next.d4science.org/terms-of-use +linkCookies=https://next.d4science.org/cookie-policy + +linkProject=http://www.google.it +descrProject=A + +ECLogo=yes +ECLogoStyle=max-width: 35px; +ECLogoAlt=EU H2020 programme + diff --git a/policy/META-INF/keycloak-scripts.json b/policy/META-INF/keycloak-scripts.json new file mode 100644 index 0000000..2c17d75 --- /dev/null +++ b/policy/META-INF/keycloak-scripts.json @@ -0,0 +1,11 @@ +{ + "authenticators": [], + "policies": [ + { + "name": "Claim context in attributes - Affirmative", + "fileName": "policies/claim-context-in-attributes-affirmative.js", + "description": "Checks if 'context' extra claim is present as key in resource's attributes keys" + } + ], + "mappers": [] +} diff --git a/policy/jspolicies.jar b/policy/jspolicies.jar new file mode 100644 index 0000000..8748a7f Binary files /dev/null and b/policy/jspolicies.jar differ diff --git a/policy/policies/claim-context-in-attributes-affirmative.js b/policy/policies/claim-context-in-attributes-affirmative.js new file mode 100644 index 0000000..29144f7 --- /dev/null +++ b/policy/policies/claim-context-in-attributes-affirmative.js @@ -0,0 +1,26 @@ +var context = $evaluation.getContext(); +var permission = $evaluation.getPermission(); +var identity = context.getIdentity(); +var attributes = identity.getAttributes(); + +var resource = permission.getResource(); + +print("============= " + resource.getName() + "[" + resource.getOwner() + "," + resource.getResourceServer() + "] =================") + +var extra_claims = permission.claims; +print("Extra claims: " + extra_claims) +if (extra_claims !== null) { + var ctx = extra_claims.context; + if (ctx !== null) { + var context = ctx.toArray()[0] + if (context !== null) { + print("context="+context) + var resource_attribute = resource.getAttribute(context); + if (resource_attribute !== null) { + print("resource attribute=" + resource_attribute) + $evaluation.grant(); + } else $evaluation.deny(); + } else $evaluation.deny(); + } else $evaluation.deny(); +} else $evaluation.deny(); + diff --git a/policy/policies/test-policy.js b/policy/policies/test-policy.js new file mode 100644 index 0000000..c983078 --- /dev/null +++ b/policy/policies/test-policy.js @@ -0,0 +1,41 @@ +var context = $evaluation.getContext(); +var permission = $evaluation.getPermission() +var identity = context.getIdentity(); +var attributes = identity.getAttributes(); + +var resource = permission.getResource() + +print("============= " + resource.getName() + "[" + resource.getOwner() + "," + resource.getResourceServer() + "] =================") + +var extra_claims = permission.claims +var ctx = extra_claims["context"] +if(ctx !== null){ + ctx = ctx.toArray()[0] + if(ctx != null){ + var resource_attribute = resource.getAttribute(ctx) + if(resource_attribute != null) $evaluation.grant(); + else $evaluation.deny(); + } else $evaluation.deny(); +} else $evaluation.deny(); + +//print(resource.getAttributes()) +//print('context :' + context) +//print('context attributes ' + context.getAttributes().toMap().keySet() ) +//print('permission ' + permission) +//print('permission claims ' + permission.claims) +//print('permission resourceServer ' + permission.resourceServer) +//print('Identity = :' + identity) +//print('user attributes: ' + attributes.toMap().keySet()); + +//print('context client id is ' + context.getAttributes().getValue('kc.client.id').asString(0)) + +//var aud = attributes.getValue('aud') +//if (aud === null){ +// print("aud is null") +//}else{ +// aud = aud.asString(0) +// print('aud is ' + aud) +// print('context client id is ' + context.getAttributes().getValue('kc.client.id').asString(0)) +// var perm = attributes.getValue('kc.client.' + aud + '.roles') +// print(perm) +//} diff --git a/pom.xml b/pom.xml index 1e2f7c9..f60e87a 100644 --- a/pom.xml +++ b/pom.xml @@ -14,6 +14,9 @@ pom + 11 + ${java.version} + ${java.version} 1.1.1 @@ -24,6 +27,9 @@ delete-account event-listener-provider identity-provider-mapper + ldap-storage-mapper keycloak-d4science-bundle @@ -33,7 +39,7 @@ org.keycloak keycloak-parent - 15.1.1 + 16.1.0 pom import