From bbc63f8a7a9006a8dc4100dbd2515b29a9422a86 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 24 Feb 2017 03:01:19 +0100 Subject: fix privacy policy options --- .../ios/Stone Island.xcarchive/Info.plist | 2 +- .../01J-lp-oVM-view-Ze5-6b-2t3.nib | Bin 2283 -> 2284 bytes .../UIViewController-01J-lp-oVM.nib | Bin 832 -> 832 bytes .../Stone Island.app/MainViewController.nib | Bin 943 -> 943 bytes .../Applications/Stone Island.app/Stone Island | Bin 2192528 -> 2192528 bytes .../Stone Island.app/_CodeSignature/CodeResources | 48 ++++++++++----------- .../Stone Island.app/www/css/account.css | 1 + .../Applications/Stone Island.app/www/css/nav.css | 6 ++- .../Applications/Stone Island.app/www/index.html | 2 +- .../www/js/lib/account/ProfileView.js | 12 ++++++ .../www/js/lib/view/Serializable.js | 1 + .../UserInterfaceState.xcuserstate | Bin 13192 -> 13193 bytes StoneIsland/platforms/ios/www/css/account.css | 1 + StoneIsland/platforms/ios/www/css/nav.css | 6 ++- StoneIsland/platforms/ios/www/index.html | 2 +- .../ios/www/js/lib/account/ProfileView.js | 12 ++++++ .../platforms/ios/www/js/lib/view/Serializable.js | 1 + StoneIsland/www/css/account.css | 1 + StoneIsland/www/css/nav.css | 6 ++- StoneIsland/www/index.html | 2 +- StoneIsland/www/js/lib/account/ProfileView.js | 12 ++++++ StoneIsland/www/js/lib/view/Serializable.js | 1 + 22 files changed, 85 insertions(+), 31 deletions(-) diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist index a2ed92a7..78679711 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist @@ -18,7 +18,7 @@ ArchiveVersion 2 CreationDate - 2017-02-24T01:01:47Z + 2017-02-24T01:59:21Z Name Stone Island SchemeName diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib index 601432ff..49f9f34b 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib differ diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib index b9b60ccd..d621455d 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib differ diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib index d1edc0e4..9b0d2a83 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib differ diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island index 3cdc5562..3cef3c77 100755 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island differ diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources index 6a5b916f..1fe9e719 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources @@ -86,7 +86,7 @@ CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib - lJ4/WwYt6uJAlE8dRuGJoQUHBtE= + F0S7TexfDuNcAIzVC0uHjKsmET0= CDVLaunchScreen.storyboardc/Info.plist @@ -94,7 +94,7 @@ CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib - bq+Wgd651U1u1OvRVeqVhIQxlRo= + vORlPdcjEZgAzfO+BhiOTHzi4JM= CDVNotification.bundle/beep.wav @@ -162,7 +162,7 @@ MainViewController.nib - R2z/cNf0vp63r/U6XFEkt1AuGqU= + wTYhtGVBbIMGFBn5QdXdfDpUx90= PkgInfo @@ -198,7 +198,7 @@ www/css/account.css - x1JyR8RqF2Srvb1EYX88l+Wz5qA= + iqX2jg1B1fMIoMZ9UDOmdeXY5R4= www/css/blogs.css @@ -266,7 +266,7 @@ www/css/nav.css - aCFlsZzgMtbv6Z6bkKwkakJFAdo= + 4hSh6NJLuzHKgsQdhOHFsDdrYzw= www/css/products.css @@ -382,7 +382,7 @@ www/index.html - qsauVM0WF8MlOnPraEK8ZDT+5IE= + Cqs564HHydS1cajG/YyUxH/m/qQ= www/js/index.js @@ -406,7 +406,7 @@ www/js/lib/account/ProfileView.js - NJ8cYUUHtA916ySMroE/5GaEc+M= + g81ByC4WQ4lAdrDltz7b/C/MqNY= www/js/lib/account/SettingsView.js @@ -562,7 +562,7 @@ www/js/lib/view/Serializable.js - 1axFnf92uYJ5GPvZdeKU+zPGLuw= + TZu3vDiiaHeg3ApJ+HZowCDsPvE= www/js/lib/view/View.js @@ -939,11 +939,11 @@ hash - lJ4/WwYt6uJAlE8dRuGJoQUHBtE= + F0S7TexfDuNcAIzVC0uHjKsmET0= hash2 - k1N5634DLVygqKVPGzBmfszWGNXrc4yRJRC7WskQe1c= + rcFs3zbiTZtSodlJieh1YqEh5Kyq0jxSEbsSeAUGshk= CDVLaunchScreen.storyboardc/Info.plist @@ -961,11 +961,11 @@ hash - bq+Wgd651U1u1OvRVeqVhIQxlRo= + vORlPdcjEZgAzfO+BhiOTHzi4JM= hash2 - trOU+wAUHaPJSTtks1FRozVON5LpBVE4kPQsj0L2ACI= + u3DPlANtTEMpU6qgkLJcWUhA0ryCmwgNg2jm9sO9ARg= CDVNotification.bundle/beep.wav @@ -1137,11 +1137,11 @@ hash - R2z/cNf0vp63r/U6XFEkt1AuGqU= + wTYhtGVBbIMGFBn5QdXdfDpUx90= hash2 - KbPVXadqHny64bPg9n6F2VliNyiuZpProeyxTZI0GCc= + aoZOoHUqnPGpSJqJu1JbOjYpzPGw1TwZczFLavFvrVE= archived-expanded-entitlements.xcent @@ -1225,11 +1225,11 @@ hash - x1JyR8RqF2Srvb1EYX88l+Wz5qA= + iqX2jg1B1fMIoMZ9UDOmdeXY5R4= hash2 - UwdT2MNfCcTLUmkTNAr64lWQtJdMUAUmo+EfK20VnyU= + gMqNEgIOHD+Z9Gy63ewBuCTkzHwIFKxy5ZoW5F8j34I= www/css/blogs.css @@ -1412,11 +1412,11 @@ hash - aCFlsZzgMtbv6Z6bkKwkakJFAdo= + 4hSh6NJLuzHKgsQdhOHFsDdrYzw= hash2 - qtRpDWjlUFVBpfJ/bHYPC6ujK5kyXIQzmoEI/5hzj+Q= + tsgmNkmV0VZ32vL2LL7P+orl/qg4HkH8u2R9gxz3ZhQ= www/css/products.css @@ -1731,11 +1731,11 @@ hash - qsauVM0WF8MlOnPraEK8ZDT+5IE= + Cqs564HHydS1cajG/YyUxH/m/qQ= hash2 - icY+bnIhaKGjdyf26EVGhSNnJghNlKKZhRns4nF6bs4= + ObsyOOX1Wpph0NY4+PW+WpCRRymwVZbyp6Pi8TuFRpY= www/js/index.js @@ -1797,11 +1797,11 @@ hash - NJ8cYUUHtA916ySMroE/5GaEc+M= + g81ByC4WQ4lAdrDltz7b/C/MqNY= hash2 - Dk4H1qQdeSVHOaMX500ZOvEI00NddcaHzeeqqRiM5RE= + eV4PAhtf/St/MYaS5Koc1N1RUYoGLWjleg4o9+fh6cQ= www/js/lib/account/SettingsView.js @@ -2226,11 +2226,11 @@ hash - 1axFnf92uYJ5GPvZdeKU+zPGLuw= + TZu3vDiiaHeg3ApJ+HZowCDsPvE= hash2 - IdU+9EOTCaklhVdIzqZGvDbO6IwPkIM/fYhJPYvUEHY= + 8Ctj4kMul3md0vu7ihiR3Fz8H7X1/CcMMZ0Jctd4S2Q= www/js/lib/view/View.js diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/account.css b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/account.css index 471ea3f7..da710fd7 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/account.css +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/account.css @@ -438,6 +438,7 @@ input.switch:checked + label:after { position: relative; transform: translateX(-50%); padding-top: 15px; + padding-bottom: 80px; } .select-wrapper { diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/nav.css b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/nav.css index 30f1af18..9445f5cb 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/nav.css +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/nav.css @@ -51,7 +51,11 @@ } #nav .account_menu span, #nav .faq_menu span { - padding: 28px 0 0px 20px; + padding: 20px 0 0px 20px; +} +#nav .account_menu span.menu-emphasis, +#nav .faq_menu span.menu-emphasis { + padding-top: 28px; } #nav .faq_menu span:last-child { diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/index.html b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/index.html index 8f615d8b..28c4f8c6 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/index.html +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/index.html @@ -315,7 +315,7 @@
- +
diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/account/ProfileView.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/account/ProfileView.js index 98dba019..52ef8056 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/account/ProfileView.js +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/account/ProfileView.js @@ -3,6 +3,7 @@ var ProfileView = FormView.extend({ el: "#profile", events: { + "click .privacy-msg": "privacy_link", }, action: sdk.account.update, @@ -90,6 +91,17 @@ var ProfileView = FormView.extend({ return submissible_data }, + privacy_link: function(){ + // rewrite app.privacy instance temporarily + app.privacy.back = function(){ + app.router.go("account/profile") + } + app.privacy.hide = function(){ + app.privacy.back = app.privacy.hide = null + } + app.router.go("page/privacy") + }, + success: function(data){ }, diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/view/Serializable.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/view/Serializable.js index 8d25daf4..fa4eba02 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/view/Serializable.js +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/view/Serializable.js @@ -128,6 +128,7 @@ var SerializableView = View.extend({ } else { this.hide_errors() + cordova.plugins.Keyboard.close() } var finalized_data = this.finalize(valid.data) diff --git a/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate b/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate index d603a6f0..c79b0fb4 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate and b/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/StoneIsland/platforms/ios/www/css/account.css b/StoneIsland/platforms/ios/www/css/account.css index 471ea3f7..da710fd7 100755 --- a/StoneIsland/platforms/ios/www/css/account.css +++ b/StoneIsland/platforms/ios/www/css/account.css @@ -438,6 +438,7 @@ input.switch:checked + label:after { position: relative; transform: translateX(-50%); padding-top: 15px; + padding-bottom: 80px; } .select-wrapper { diff --git a/StoneIsland/platforms/ios/www/css/nav.css b/StoneIsland/platforms/ios/www/css/nav.css index 30f1af18..9445f5cb 100755 --- a/StoneIsland/platforms/ios/www/css/nav.css +++ b/StoneIsland/platforms/ios/www/css/nav.css @@ -51,7 +51,11 @@ } #nav .account_menu span, #nav .faq_menu span { - padding: 28px 0 0px 20px; + padding: 20px 0 0px 20px; +} +#nav .account_menu span.menu-emphasis, +#nav .faq_menu span.menu-emphasis { + padding-top: 28px; } #nav .faq_menu span:last-child { diff --git a/StoneIsland/platforms/ios/www/index.html b/StoneIsland/platforms/ios/www/index.html index 8f615d8b..28c4f8c6 100755 --- a/StoneIsland/platforms/ios/www/index.html +++ b/StoneIsland/platforms/ios/www/index.html @@ -315,7 +315,7 @@
- +
diff --git a/StoneIsland/platforms/ios/www/js/lib/account/ProfileView.js b/StoneIsland/platforms/ios/www/js/lib/account/ProfileView.js index 98dba019..52ef8056 100755 --- a/StoneIsland/platforms/ios/www/js/lib/account/ProfileView.js +++ b/StoneIsland/platforms/ios/www/js/lib/account/ProfileView.js @@ -3,6 +3,7 @@ var ProfileView = FormView.extend({ el: "#profile", events: { + "click .privacy-msg": "privacy_link", }, action: sdk.account.update, @@ -90,6 +91,17 @@ var ProfileView = FormView.extend({ return submissible_data }, + privacy_link: function(){ + // rewrite app.privacy instance temporarily + app.privacy.back = function(){ + app.router.go("account/profile") + } + app.privacy.hide = function(){ + app.privacy.back = app.privacy.hide = null + } + app.router.go("page/privacy") + }, + success: function(data){ }, diff --git a/StoneIsland/platforms/ios/www/js/lib/view/Serializable.js b/StoneIsland/platforms/ios/www/js/lib/view/Serializable.js index 8d25daf4..fa4eba02 100755 --- a/StoneIsland/platforms/ios/www/js/lib/view/Serializable.js +++ b/StoneIsland/platforms/ios/www/js/lib/view/Serializable.js @@ -128,6 +128,7 @@ var SerializableView = View.extend({ } else { this.hide_errors() + cordova.plugins.Keyboard.close() } var finalized_data = this.finalize(valid.data) diff --git a/StoneIsland/www/css/account.css b/StoneIsland/www/css/account.css index 471ea3f7..da710fd7 100755 --- a/StoneIsland/www/css/account.css +++ b/StoneIsland/www/css/account.css @@ -438,6 +438,7 @@ input.switch:checked + label:after { position: relative; transform: translateX(-50%); padding-top: 15px; + padding-bottom: 80px; } .select-wrapper { diff --git a/StoneIsland/www/css/nav.css b/StoneIsland/www/css/nav.css index 30f1af18..9445f5cb 100755 --- a/StoneIsland/www/css/nav.css +++ b/StoneIsland/www/css/nav.css @@ -51,7 +51,11 @@ } #nav .account_menu span, #nav .faq_menu span { - padding: 28px 0 0px 20px; + padding: 20px 0 0px 20px; +} +#nav .account_menu span.menu-emphasis, +#nav .faq_menu span.menu-emphasis { + padding-top: 28px; } #nav .faq_menu span:last-child { diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 8f615d8b..28c4f8c6 100755 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -315,7 +315,7 @@
- +
diff --git a/StoneIsland/www/js/lib/account/ProfileView.js b/StoneIsland/www/js/lib/account/ProfileView.js index 98dba019..52ef8056 100755 --- a/StoneIsland/www/js/lib/account/ProfileView.js +++ b/StoneIsland/www/js/lib/account/ProfileView.js @@ -3,6 +3,7 @@ var ProfileView = FormView.extend({ el: "#profile", events: { + "click .privacy-msg": "privacy_link", }, action: sdk.account.update, @@ -90,6 +91,17 @@ var ProfileView = FormView.extend({ return submissible_data }, + privacy_link: function(){ + // rewrite app.privacy instance temporarily + app.privacy.back = function(){ + app.router.go("account/profile") + } + app.privacy.hide = function(){ + app.privacy.back = app.privacy.hide = null + } + app.router.go("page/privacy") + }, + success: function(data){ }, diff --git a/StoneIsland/www/js/lib/view/Serializable.js b/StoneIsland/www/js/lib/view/Serializable.js index 8d25daf4..fa4eba02 100755 --- a/StoneIsland/www/js/lib/view/Serializable.js +++ b/StoneIsland/www/js/lib/view/Serializable.js @@ -128,6 +128,7 @@ var SerializableView = View.extend({ } else { this.hide_errors() + cordova.plugins.Keyboard.close() } var finalized_data = this.finalize(valid.data) -- cgit v1.2.3-70-g09d2