Skip to content

Commit d77ceaa

Browse files
committed
feat: Update terms and condition text and styles in login form
1 parent fa8d7f3 commit d77ceaa

3 files changed

Lines changed: 19 additions & 3 deletions

File tree

renku_theme/login/login.ftl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
${msg("loginAccountTitle")}
55
<div id="renku-login-terms-container">
66
<div id="renku-login-terms-text">
7-
${kcSanitize(msg("termsText"))?no_esc}
7+
<div>
8+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="32" height="32" fill="currentColor"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"></path><path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path></svg>
9+
</div>
10+
<div>
11+
${kcSanitize(msg("termsText"))?no_esc}
12+
</div>
813
</div>
914
</div>
1015
<#elseif section = "socialProviders" >

renku_theme/login/messages/messages_en.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ loginFormLabel=Log in with your RenkuLab account
33

44
# Identity provider
55
identity-provider-login-label=Sign up or Log in with
6-
termsText=By continuing, you agree to the RenkuLab <a target="_blank" rel="noreferrer noopener" href="/help/tos">Terms of Service</a> and acknowledge that the <a target="_blank" rel="noreferrer noopener" href="/help/privacy">Privacy Policy</a> applies to you.
6+
termsText=By continuing, you agree to the updated <a target="_blank" rel="noreferrer noopener" href="/help/tos">RenkuLab Terms of Service</a> and acknowledge that the updated <a target="_blank" rel="noreferrer noopener" href="/help/privacy">Privacy Policy</a> applies to you. Please take a moment to review these changes.

renku_theme/login/resources/css/login.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,18 @@ div#renku-login-terms-container {
364364
}
365365

366366
div#renku-login-terms-text {
367-
max-width: 400px;
367+
max-width: 600px;
368+
font-size: 16px;
369+
background-color: rgb(209, 236, 241);
370+
border-color: #a2dae3;
371+
border-width: 1px;
372+
border-radius: 5px;
373+
color: rgb(9, 65, 74);
374+
padding: 16px;
375+
line-height: 24px;
376+
text-align: justify;
377+
display: flex;
378+
column-gap: 20px;
368379
}
369380

370381
@media only screen and (max-width: 1080px) {

0 commit comments

Comments
 (0)