From 6f6a5461b768381066baf3aebba648c3a3a6d846 Mon Sep 17 00:00:00 2001 From: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com> Date: Thu, 5 Nov 2020 13:13:46 -0600 Subject: [PATCH] [GDPR] Adjusted TOS/Privacy acceptance (#1445) * updated tos/privacy policy acceptance * Removed variables/logic now found in superclass * update jslib (d84d6da -> 5e50aa1) * Added content-row UI --- jslib | 2 +- src/_locales/en/messages.json | 12 ++++++++++++ src/popup/accounts/register.component.html | 16 +++++++++++++++- src/popup/scss/misc.scss | 16 ++++++++++++++++ 4 files changed, 44 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index d84d6da7f7..5e50aa1a19 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit d84d6da7f77ec89ba69299b1ff982f083fd77203 +Subproject commit 5e50aa1a195bde11fdc14e9bdf71542766fdbb8d diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index c5667b7b13..2975dcf7ba 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -1353,5 +1353,17 @@ }, "masterPasswordPolicyRequirementsNotMet": { "message": "Your new master password does not meet the policy requirements." + }, + "acceptPolicies": { + "message": "By checking this box you agree to the following:" + }, + "acceptPoliciesError": { + "message": "Terms of Service and Privacy Policy have not been acknowledged." + }, + "termsOfService": { + "message": "Terms of Service" + }, + "privacyPolicy": { + "message": "Privacy Policy" } } diff --git a/src/popup/accounts/register.component.html b/src/popup/accounts/register.component.html index 4a8701ea2a..c673730d98 100644 --- a/src/popup/accounts/register.component.html +++ b/src/popup/accounts/register.component.html @@ -54,7 +54,7 @@ {{'masterPassDesc' | i18n}} -
+
@@ -80,5 +80,19 @@ {{'masterPassHintDesc' | i18n}}
+
+
+ +
+
diff --git a/src/popup/scss/misc.scss b/src/popup/scss/misc.scss index 95f8bd2dde..90f13a9f51 100644 --- a/src/popup/scss/misc.scss +++ b/src/popup/scss/misc.scss @@ -307,3 +307,19 @@ app-vault-icon { input[type="password"]::-ms-reveal { display: none; } + +.checkbox { + position: relative; + display: block; + padding-left: 18px; + + label { + margin-bottom: 0; + } + + input[type="checkbox"] { + position: absolute; + margin-top: 4px; + margin-left: -18px; + } + }