Added dev4.d4science.org and next.d4science.org themes

This commit is contained in:
vcestone 2020-06-23 16:43:52 +02:00
parent 6a216884b0
commit 9b4181cea7
11 changed files with 94 additions and 36 deletions

View File

@ -9,6 +9,29 @@
<title>${properties.titleTag}</title> <title>${properties.titleTag}</title>
<link rel="icon" href="${properties.favicon}" /> <link rel="icon" href="${properties.favicon}" />
<style>
html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 60px; /* Margin bottom by footer height */
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* height: 60px; Set the fixed height of the footer here */
line-height: 60px; /* Vertically center the text there */
color: #fff;
font-size: 0.7em;
background-color: #f5f5f5;
}
.footer a {
color: #fff;
}
</style>
</head> </head>
<body> <body>
@ -20,11 +43,13 @@
<img class="img-fluid float-left" alt="${properties.logoAlt}" src="${properties.logoSrc}" style="${properties.logoStyle}"> <img class="img-fluid float-left" alt="${properties.logoAlt}" src="${properties.logoSrc}" style="${properties.logoStyle}">
</a> </a>
</div> </div>
<div class="col"> <#if properties.logoInfrastructure?has_content && properties.logoInfrastructure='yes'>
<a target="_blank" href="http://www.d4science.org"> <div class="col">
<img class="img-fluid float-right" alt="D4Science Infrastructure" src="https://sobigdata.d4science.org/sobigdata-site-theme/images/custom/PoweredByD4Science.png"> <a target="_blank" href="http://www.d4science.org">
</a> <img class="img-fluid float-right" alt="D4Science Infrastructure" src="https://sobigdata.d4science.org/sobigdata-site-theme/images/custom/PoweredByD4Science.png">
</div> </a>
</div>
</#if>
</div> </div>
</div> </div>
<nav class="navbar navbar-expand-lg navbar-light" style="${properties.navbarStyle}"> <nav class="navbar navbar-expand-lg navbar-light" style="${properties.navbarStyle}">
@ -68,16 +93,16 @@
</div> </div>
<footer class="container-fluid" style="${properties.footerStyle}"> <footer class="footer container-fluid" style="${properties.footerStyle}">
<div class="row"> <div class="row">
<div class="col"> <div class="col-12">
<a href="${properties.linkTerms}">Terms of Use</a> | <a href="${properties.linkTerms}">Terms of Use</a> |
<a href="${properties.linkCookies}">Cookies Policy</a> | <a href="${properties.linkCookies}">Cookies Policy</a> |
<a href="${properties.linkPrivacy}" target="_blank">Privacy Policy</a> | <a href="${properties.linkPrivacy}" target="_blank">Privacy Policy</a> |
<a href="${properties.linkWebsite}" target="_blank">${properties.descWebsite}</a> <#if properties.linkWebsite?has_content>
<a href="${properties.linkWebsite}" target="_blank">${properties.descWebsite}</a>
</#if>
</div> </div>
</div>
<div class="row justify-content-end">
<div class="col-12"> <div class="col-12">
<a href="http://ec.europa.eu/programmes/horizon2020/" target="_blank"> <a href="http://ec.europa.eu/programmes/horizon2020/" target="_blank">
<img class="float-right" alt="EU H2020 programme" src="${properties.logoEC}" style="${properties.logoECStyle}"> <img class="float-right" alt="EU H2020 programme" src="${properties.logoEC}" style="${properties.logoECStyle}">

View File

@ -6,13 +6,15 @@ favicon=
linkWebsite= linkWebsite=
descWebsite= descWebsite=
logoInfrastructure=yes
logoSrc= logoSrc=
logoAlt= logoAlt=
logoStyle=max-height: 50px; logoStyle=max-height: 50px;
navbarStyle= navbarStyle=
footerStyle= footerStyle=background-color: #f5f5f5;
linkTerms= linkTerms=
linkCookies= linkCookies=

View File

@ -1,25 +0,0 @@
parent=d4science
titleTag=D4Science DEV Login
#favicon=
linkWebsite=https://dev.d4science.org/
descWebsite=D4Science Developers
logoSrc=https://dev.d4science.org/image/layout_set_logo?img_id=36727858&t=1592844138024
logoAlt=D4Science Developers
logoStyle=max-height: 100px;
#navbarStyle=
#footerStyle=
linkTerms=https://dev.d4science.org/terms-of-use
#linkCookies=
#linkPrivacy=https://www.iubenda.com/privacy-policy/441050
#logoEC=
#logoECStyle=max-width: 35px;
#footerRow1=...
#footerRow2=...

View File

@ -0,0 +1,27 @@
parent=d4science
titleTag=gCube Snapshot Gateway - Sign in
favicon=https://dev4.d4science.org/generic-configurable-theme/images/favicon.ico
linkWebsite=https://dev4.d4science.org
descWebsite=Go to D4Science Gateway
logoSrc=https://dev4.d4science.org/image/company_logo?img_id=0&amp;t=1590160581995
logoAlt=gCube Snapshot Gateway
logoStyle=height: 70px;
logoInfrastructure=no
navbarStyle=color: #FFF; background: #0271BE;
footerStyle=background-color: #555;
linkTerms=https://dev4.d4science.org/terms-of-use
linkCookies=https://dev4.d4science.org/cookie-policy
#linkPrivacy=https://www.iubenda.com/privacy-policy/441050
logoEC=https://dev4.d4science.org/generic-configurable-theme/images/custom/logo-ec.jpg
#logoECStyle=max-width: 35px;
#footerRow1=...
#footerRow2=...

View File

@ -0,0 +1 @@
parent=d4science

View File

@ -0,0 +1 @@
parent=d4science

View File

@ -0,0 +1 @@
parent=d4science

View File

@ -0,0 +1,26 @@
parent=d4science
titleTag=gCubeDev Gateway - Sign in
favicon=https://next.d4science.org/generic-configurable-theme/images/favicon.ico
linkWebsite=https://next.d4science.org/
descWebsite=Go to D4Science Gateway
logoSrc=https://next.d4science.org/image/layout_set_logo?img_id=9133999&amp;t=1592922317362
logoAlt=gCubeDev Gateway
logoStyle=height: 70px;
logoInfrastructure=no
navbarStyle=color: #FFF; background: #0271BE;
footerStyle=background-color: #555;
linkTerms=https://next.d4science.org/terms-of-use
linkCookies=https://next.d4science.org/cookie-policy
#linkPrivacy=https://www.iubenda.com/privacy-policy/441050
logoEC=https://next.d4science.org/generic-configurable-theme/images/custom/logo-ec.jpg
#logoECStyle=max-width: 35px;
#footerRow1=...
#footerRow2=...