summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xStoneIsland/config.xml2
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstatebin42472 -> 41624 bytes
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist8
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island/config.xml2
-rwxr-xr-xStoneIsland/platforms/ios/www/index.html12
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/auth/SignupView.js2
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/blogs/PageView.js6
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/nav/NavView.js1
-rwxr-xr-xStoneIsland/www/index.html12
-rwxr-xr-xStoneIsland/www/js/lib/auth/SignupView.js2
-rwxr-xr-xStoneIsland/www/js/lib/blogs/PageView.js6
-rwxr-xr-xStoneIsland/www/js/lib/nav/NavView.js1
12 files changed, 48 insertions, 6 deletions
diff --git a/StoneIsland/config.xml b/StoneIsland/config.xml
index 0aa98a1c..37d59b36 100755
--- a/StoneIsland/config.xml
+++ b/StoneIsland/config.xml
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
-<widget id="us.okfoc.stoneisland" version="0.3.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget id="us.okfoc.stoneisland" version="0.3.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Stone Island</name>
<description>
Stone Island
diff --git a/StoneIsland/platforms/ios/Stone Island.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate b/StoneIsland/platforms/ios/Stone Island.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate
index b15d7fbf..542af4ac 100755
--- a/StoneIsland/platforms/ios/Stone Island.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate
+++ b/StoneIsland/platforms/ios/Stone Island.xcodeproj/project.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate
Binary files differ
diff --git a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist
index 0301b456..71fe8f36 100755
--- a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist
+++ b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist
@@ -57,7 +57,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.3.5</string>
+ <string>0.3.6</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -70,7 +70,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>0.3.5</string>
+ <string>0.3.6</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
@@ -205,5 +205,9 @@
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
+ <key>LSApplicationQueriesSchemes</key>
+ <array>
+ <string>youtube</string>
+ </array>
</dict>
</plist> \ No newline at end of file
diff --git a/StoneIsland/platforms/ios/Stone Island/config.xml b/StoneIsland/platforms/ios/Stone Island/config.xml
index 3269c200..83a47836 100755
--- a/StoneIsland/platforms/ios/Stone Island/config.xml
+++ b/StoneIsland/platforms/ios/Stone Island/config.xml
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
-<widget id="us.okfoc.stoneisland" version="0.3.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget id="us.okfoc.stoneisland" version="0.3.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<preference name="AllowInlineMediaPlayback" value="false" />
<preference name="BackupWebStorage" value="cloud" />
<preference name="DisallowOverscroll" value="false" />
diff --git a/StoneIsland/platforms/ios/www/index.html b/StoneIsland/platforms/ios/www/index.html
index 75a546d1..5b949646 100755
--- a/StoneIsland/platforms/ios/www/index.html
+++ b/StoneIsland/platforms/ios/www/index.html
@@ -367,6 +367,18 @@
</span>
</div>
</div>
+
+ <div class="toggle-container">
+ <div class="caption">
+ <h3>Newsletter</h3>
+ Receive Stone Island Newsletter
+ </div>
+ <div class="toggle">
+ <input type="checkbox" id="receive-newsletter-signup" name="YooxLetter" class="switch" value="true">
+ <label for="receive-newsletter-signup"></label>
+ </div>
+ </div>
+
<div class="container-row">
<div class="checkbox-container">
<div class="checkbox-row">
diff --git a/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js b/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js
index ff5fa6bb..599f57c7 100755
--- a/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js
@@ -64,7 +64,7 @@ var SignupView = FormView.extend({
// if (data.Gender === "NONE") { errors.push([ "Gender", "Please supply your gender." ]) }
if (data.DataProfiling !== "true") { errors.push([ "DataProfiling", "You must consent to use this service." ]) }
if (data.DataProfiling2 !== "true") { errors.push([ "DataProfiling2", "You must consent to use this service." ]) }
- if (! data.YooxLetter) { data.YooxLetter = false }
+ data.YooxLetter = this.$("[name=YooxLetter]").prop("checked")
},
finalize: function(data){
diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/PageView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/PageView.js
index fab3ff53..c399a2a9 100755
--- a/StoneIsland/platforms/ios/www/js/lib/blogs/PageView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/blogs/PageView.js
@@ -1,6 +1,7 @@
var PageView = ScrollableView.extend({
events: {
+ "touchstart a": "follow_link"
},
initialize: function(opt){
@@ -28,5 +29,10 @@ var PageView = ScrollableView.extend({
$(this).attr("target", "_system")
})
},
+
+ follow_link: function(e){
+ var href = $(e.currentTarget).attr("href")
+ window.open(row.link, '_system')
+ },
}) \ No newline at end of file
diff --git a/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js b/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js
index 71314559..1c12e7a1 100755
--- a/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/nav/NavView.js
@@ -155,6 +155,7 @@ var NavView = View.extend({
window.open("https://twitter.com/stoneisland", '_system')
},
yt: function(){
+ console.log("youtube")
window.open("https://www.youtube.com/user/StoneIslandOfficial", '_system')
},
diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html
index 75a546d1..5b949646 100755
--- a/StoneIsland/www/index.html
+++ b/StoneIsland/www/index.html
@@ -367,6 +367,18 @@
</span>
</div>
</div>
+
+ <div class="toggle-container">
+ <div class="caption">
+ <h3>Newsletter</h3>
+ Receive Stone Island Newsletter
+ </div>
+ <div class="toggle">
+ <input type="checkbox" id="receive-newsletter-signup" name="YooxLetter" class="switch" value="true">
+ <label for="receive-newsletter-signup"></label>
+ </div>
+ </div>
+
<div class="container-row">
<div class="checkbox-container">
<div class="checkbox-row">
diff --git a/StoneIsland/www/js/lib/auth/SignupView.js b/StoneIsland/www/js/lib/auth/SignupView.js
index ff5fa6bb..599f57c7 100755
--- a/StoneIsland/www/js/lib/auth/SignupView.js
+++ b/StoneIsland/www/js/lib/auth/SignupView.js
@@ -64,7 +64,7 @@ var SignupView = FormView.extend({
// if (data.Gender === "NONE") { errors.push([ "Gender", "Please supply your gender." ]) }
if (data.DataProfiling !== "true") { errors.push([ "DataProfiling", "You must consent to use this service." ]) }
if (data.DataProfiling2 !== "true") { errors.push([ "DataProfiling2", "You must consent to use this service." ]) }
- if (! data.YooxLetter) { data.YooxLetter = false }
+ data.YooxLetter = this.$("[name=YooxLetter]").prop("checked")
},
finalize: function(data){
diff --git a/StoneIsland/www/js/lib/blogs/PageView.js b/StoneIsland/www/js/lib/blogs/PageView.js
index fab3ff53..c399a2a9 100755
--- a/StoneIsland/www/js/lib/blogs/PageView.js
+++ b/StoneIsland/www/js/lib/blogs/PageView.js
@@ -1,6 +1,7 @@
var PageView = ScrollableView.extend({
events: {
+ "touchstart a": "follow_link"
},
initialize: function(opt){
@@ -28,5 +29,10 @@ var PageView = ScrollableView.extend({
$(this).attr("target", "_system")
})
},
+
+ follow_link: function(e){
+ var href = $(e.currentTarget).attr("href")
+ window.open(row.link, '_system')
+ },
}) \ No newline at end of file
diff --git a/StoneIsland/www/js/lib/nav/NavView.js b/StoneIsland/www/js/lib/nav/NavView.js
index 71314559..1c12e7a1 100755
--- a/StoneIsland/www/js/lib/nav/NavView.js
+++ b/StoneIsland/www/js/lib/nav/NavView.js
@@ -155,6 +155,7 @@ var NavView = View.extend({
window.open("https://twitter.com/stoneisland", '_system')
},
yt: function(){
+ console.log("youtube")
window.open("https://www.youtube.com/user/StoneIslandOfficial", '_system')
},