Update of Terms and Conditions

This commit is contained in:
vcestone 2020-12-11 19:27:36 +01:00
parent cc18e6fc77
commit bbe34813a1
2 changed files with 34 additions and 20 deletions

View File

@ -1,26 +1,26 @@
<#import "template.ftl" as layout>
<@layout.registrationLayout displayMessage=false; section>
<@layout.registrationLayout displayMessage=false displayWide=true; section>
<#if section = "header">
${msg("termsTitle")}
<#elseif section = "form">
<div id="kc-terms-text" style="max-height: 40vh; overflow-y: auto; padding: 0 10px 10px 0;">
<#include "terms.html" parse=false>
</div>
<div style="text-align: right"><p>${msg("termsAcceptMsg")}</p></div>
<form class="form-actions" action="${url.loginAction}" method="POST">
<input class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}" name="accept" id="kc-accept" type="submit" value="${msg("doAccept")}" disabled />
<input class="${properties.kcButtonClass!} ${properties.kcButtonDefaultClass!} ${properties.kcButtonLargeClass!}" name="cancel" id="kc-decline" type="submit" value="${msg("doDecline")}"/>
</form>
<div class="clearfix"></div>
<script type="text/javascript">
document.getElementById("kc-terms-text").addEventListener("scroll", checkKcTermsScrollHeight, false);
<div id="kc-terms-text" style="max-height: 40vh; overflow-y: auto; padding: 0 10px 10px 0;">
<#include "terms.html" parse=false>
</div>
<div style="text-align: right; font-weight: bold; font-variant: small-caps;"><p>${msg("termsAcceptMsg")}</p></div>
<form class="form-actions" action="${url.loginAction}" method="POST">
<input class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}" name="accept" id="kc-accept" type="submit" value="${msg("doAccept")}" disabled />
<input class="${properties.kcButtonClass!} ${properties.kcButtonDefaultClass!} ${properties.kcButtonLargeClass!}" name="cancel" id="kc-decline" type="submit" value="${msg("doDecline")}"/>
</form>
<div class="clearfix"></div>
<script type="text/javascript">
document.getElementById("kc-terms-text").addEventListener("scroll", checkKcTermsScrollHeight, false);
function checkKcTermsScrollHeight(){
var kcTermsTextElement = document.getElementById("kc-terms-text")
if ((kcTermsTextElement.scrollTop + kcTermsTextElement.offsetHeight) >= kcTermsTextElement.scrollHeight){
document.getElementById("kc-accept").disabled = false;
}
}
</script>
function checkKcTermsScrollHeight(){
var kcTermsTextElement = document.getElementById("kc-terms-text")
if ((kcTermsTextElement.scrollTop + kcTermsTextElement.offsetHeight) >= kcTermsTextElement.scrollHeight){
document.getElementById("kc-accept").disabled = false;
}
}
</script>
</#if>
</@layout.registrationLayout>

View File

@ -16,6 +16,20 @@
<p class="MsoNormal"><span lang="EN-GB">All derivative products produced and made publicly available through this Gateway are licensed under the <a href="http://creativecommons.org/licenses/by-sa/3.0/"><b style="mso-bidi-font-weight: normal"><span style="mso-fareast-font-family: Arial; mso-bidi-font-family: Arial">Creative Commons License</span></b> <b style="mso-bidi-font-weight: normal">CC BY-SA</b></a><span class="MsoHyperlink"><b style="mso-bidi-font-weight: normal"> </b></span>except where otherwise noted. </span></p>
<h2 class="MsoSubtitle"><strong><span lang="EN-GB" style="font-family: &amp; quot; Calibri Light&amp;quot; , sans-serif; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: &amp;quot; Times New Roman&amp;quot;; mso-bidi-theme-font: major-bidi">How to Cite or Acknowledge D4Science</span></strong></h2>
<p class="MsoNormal"><span lang="EN-GB">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:&nbsp;</p>
<p class="MsoNormal">
<span id="docs-internal-guid-6eb89756-7fff-022a-6344-d9f2d198ad4e" style="font-style:italic;">M. Assante et al. (2019) Enacting open science by D4Science. Future Gener. Comput. Syst. 101: 555-563
<a href="https://doi.org/10.1016/j.future.2019.05.063" target="_blank">10.1016/j.future.2019.05.063</a>
</span>
</p>
<p class="MsoNormal">Furthermore, if you wish to cite / acknowledge a A Virtual Research Environment, a Service, a Dataset or Method please refer to the following
<strong><a href="https://www.d4science.org/how-to-cite-or-acknowledge" target="_blank">table</a></strong>.
</p>
<h2 class="MsoSubtitle"><strong><span lang="EN-GB" style="font-family: &amp; quot; Calibri Light&amp;quot; , sans-serif; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: &amp;quot; Times New Roman&amp;quot;; mso-bidi-theme-font: major-bidi">Your Agreement to the Terms</span></strong></h2>
<p class="MsoNormal"><span lang="EN-GB">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.</span></p>
@ -24,7 +38,7 @@
<p class="MsoNormal"><span lang="EN-GB">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. </span></p>
<p class="MsoNormal"><strong>Please read the policies common to all services carefully.&nbsp;</strong>You should also read the policies governing each service operated through this Gateway by accessing them at <a href="http://www.d4science.org/terms-of-use" target="_blank">this link</a>.&nbsp;</p>
<p class="MsoNormal"><strong>Please read them carefully.</strong></p>
</div>
&nbsp;