From c43313d1b91f94adeaea4e01ce47df62d0cd881b Mon Sep 17 00:00:00 2001 From: dcore94 Date: Tue, 12 Jan 2021 12:18:35 +0100 Subject: [PATCH] fixed project_url field and added instruction for tuning --- templates/login/theme.properties.j2 | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/templates/login/theme.properties.j2 b/templates/login/theme.properties.j2 index e4f76a9..a0e5d24 100644 --- a/templates/login/theme.properties.j2 +++ b/templates/login/theme.properties.j2 @@ -1,4 +1,29 @@ -parent= {{ parent_theme }} +#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={{ parent_theme }} {% if styles is defined and styles %} styles={{ styles }} @@ -40,7 +65,7 @@ linkCookies={{ cookie_policy_url }} linkPrivacy={{ privacy_policy_url }} {% endif %} -linkProject={{ project_url}} +linkProject={{ project_url }} descrProject={{ project_description }} ECLogo={{ EC_logo }}