diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-20 13:03:54 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-20 13:03:54 -0500 |
| commit | ce2d1c701625a08f2b42a81cbac8a7566f8d9e2e (patch) | |
| tree | 138fdd825ee801b078a7dcb7ecfb2ea88be43c31 /StoneIsland | |
| parent | d81402ee69ca9932c8eee437ae79985d961517a8 (diff) | |
privacy policy link on signup
Diffstat (limited to 'StoneIsland')
| -rw-r--r-- | StoneIsland/www/css/account.css | 4 | ||||
| -rw-r--r-- | StoneIsland/www/index.html | 9 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/auth/SignupView.js | 11 |
3 files changed, 20 insertions, 4 deletions
diff --git a/StoneIsland/www/css/account.css b/StoneIsland/www/css/account.css index 24b00cf0..81ca44c2 100644 --- a/StoneIsland/www/css/account.css +++ b/StoneIsland/www/css/account.css @@ -322,5 +322,7 @@ input.switch:checked + label:after { opacity: 1; } - +.privacy-msg { + text-align: center; +} diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index cb14beee..80eb9490 100644 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -320,7 +320,7 @@ <div class="checkbox-container"> <div class="checkbox-row"> <div class="checkbox-toggle"> - <input id="checkbox-data-profiling" type="checkbox" name="YooxLetter" value="true" required> + <input id="checkbox-data-profiling" type="checkbox" name="DataProfiling" value="true" required> <label for="checkbox-data-profiling"></label> </div> <label class="checkbox-caption" for="checkbox-data-profiling"> @@ -329,13 +329,16 @@ </div> <div class="checkbox-row"> <div class="checkbox-toggle"> - <input type="checkbox" id="checkbox-shopping-data-profiling" name="DataProfiling" value="true" required> + <input type="checkbox" id="checkbox-shopping-data-profiling" name="DataProfiling2" value="true" required> <label for="checkbox-shopping-data-profiling"></label> </div> <label class="checkbox-caption" for="checkbox-shopping-data-profiling"> I agree that YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY may collect my personal information for creating a profile of my shopping habits. </label> </div> + <div class="privacy-msg"> + Consult our <u>PRIVACY POLICY</u> for further information. + </div> </div> </form> </div> @@ -367,7 +370,7 @@ Receive Stone Island Newsletter </div> <div class="toggle"> - <input type="checkbox" id="receive-newsletter" name="switch" class="switch"> + <input type="checkbox" id="receive-newsletter" name="YooxLetter" class="switch"> <label for="receive-newsletter"></label> </div> </div> diff --git a/StoneIsland/www/js/lib/auth/SignupView.js b/StoneIsland/www/js/lib/auth/SignupView.js index 092bf297..6ca1ccba 100644 --- a/StoneIsland/www/js/lib/auth/SignupView.js +++ b/StoneIsland/www/js/lib/auth/SignupView.js @@ -5,6 +5,7 @@ var SignupView = FormView.extend({ action: sdk.account.signup, events: { + "click .privacy-msg": "privacy_link", "submit form": "save", }, @@ -39,6 +40,16 @@ var SignupView = FormView.extend({ if (! data.DataProfiling) { data.DataProfiling = "false" } }, + privacy_link: function(){ + app.privacy.back = function(){ + app.router.go("account/signup") + } + app.privacy.hide = function(){ + app.privacy.back = app.privacy.hide = null + } + app.router.go("page/privacy") + }, + success: function(data){ app.account.logged_in() }, |
