first share

This commit is contained in:
dcore94 2021-01-08 15:43:58 +01:00
commit 003e16305d
6 changed files with 95 additions and 0 deletions

32
defaults/main.yml Normal file
View File

@ -0,0 +1,32 @@
---
git_theme_repository: "https://code-repo.d4science.org/gCubeSystem/d4science-keycloak-themes"
parent_theme: d4science
styles:
title_tag: "Gateway - Sign in"
favicon_url: "https://services.d4science.org/favicon.ico"
background_image:
content_style:
logo_header_style:
logo_url: "https://services.d4science.org/image/layout_set_logo?img_id=32727"
logo_alt: "Gateway"
logo_style: "height: 50px;"
infrastructure_logo: "no"
infrastructure_logo_style:
footer_style:
terms_url: "https://next.d4science.org/terms-of-use"
cookie_policy_url: "https://next.d4science.org/cookie-policy"
privacy_policy_url:
project_url: "https://next.d4science.org/"
project_description: "Go to {{ title_tag }} Gateway"
EC_logo: "no"
EC_logo_style: "max-width: 35px;"
EC_logo_alt: "EU H2020 programme"
footer:

5
tasks/main.yml Normal file
View File

@ -0,0 +1,5 @@
---
- name: Git checkout
git:
repo: "https://code-repo.d4science.org/gCubeSystem/d4science-keycloak-themes"
dest: "/tmp"

View File

@ -0,0 +1,2 @@
parent={{ parent_theme }}

View File

@ -0,0 +1,2 @@
parent={{ parent_theme }}

View File

@ -0,0 +1,2 @@
parent={{ parent_theme }}

View File

@ -0,0 +1,52 @@
parent= {{ parent_theme }}
{% if styles is defined and styles %}
styles={{ styles }}
{% endif %}
titleTag={{ title_tag }}
favicon={{ favicon_url }}
{% if background_image is defined and background_image %}
contentBGImg={{ background_image }}
{% endif %}
{% if content_style is defined and content_style %}
contentStyle={{ content_style }}
{% endif %}
{% if logo_header_style is defined and logo_header_style %}
contentStyle={{ logo_header_style }}
{% endif %}
logoSrc={{ logo_url }}
logoAlt={{ logo_alt }}
{% if logo_style is defined and logo_style %}
logoStyle={{ logo_style }}
{% endif %}
infrastructureLogo={{ infrastructure_logo }}
{% if infrastructure_logo_style is defined and infrastructure_logo_style %}
infrastructureLogoStyle={{ infrastructure_logo_style }}
{% endif %}
{% if footer_style is defined and footer_style %}
footerStyle={{ footer_style }}
{% endif %}
linkTerms={{ terms_url }}
linkCookies={{ cookie_policy_url }}
{% if privacy_policy_url is defined and privacy_policy_url %}
linkPrivacy={{ privacy_policy_url }}
{% endif %}
linkProject={{ project_url}}
descrProject={{ project_description }}
ECLogo={{ EC_logo }}
ECLogoStyle={{ EC_logo_style }}
ECLogoAlt={{ EC_logo_alt }}
{% if footer is defined and footer %}
footerRow={{ footer }}
{% endif %}