summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ae <aehtyb@gmail.com>2015-12-22 01:26:04 -0600
committerRene Ae <aehtyb@gmail.com>2015-12-22 01:26:04 -0600
commit89b39c69c00c180287912f4777ea2ec487fa6412 (patch)
tree440009503c4f5ea80d613d57f5293f91c59a0ba5
parent56275fcf2d133967f0f4baed9542d233e5e36ec4 (diff)
bugfixes - forgot password
-rwxr-xr-xStoneIsland/www/css/account.css11
-rwxr-xr-xStoneIsland/www/index.html3
-rwxr-xr-xStoneIsland/www/js/lib/auth/LoginView.js5
3 files changed, 18 insertions, 1 deletions
diff --git a/StoneIsland/www/css/account.css b/StoneIsland/www/css/account.css
index fd5ffdf6..d96073e4 100755
--- a/StoneIsland/www/css/account.css
+++ b/StoneIsland/www/css/account.css
@@ -505,4 +505,15 @@ margin-top:0px
#login .container-row input:first-child {
margin-bottom:9px!important
+}
+
+.newuser {
+ display:inline-block;
+ padding:20px;
+ text-decoration:underline
+}
+
+.forgotpassword {
+ padding:20px;
+ text-decoration:underline
} \ No newline at end of file
diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html
index d6581b76..4058403c 100755
--- a/StoneIsland/www/index.html
+++ b/StoneIsland/www/index.html
@@ -316,7 +316,8 @@
</div>
<div class="container-fill">
<div class="container-message premessage">
- <span class="newuser">New User?</span>
+ <div class="newuser">New User?</div>
+ <div class="forgotpassword">Forgot Password?</div>
</div>
<div class="container-message submessage">
<span class="msg"></span>
diff --git a/StoneIsland/www/js/lib/auth/LoginView.js b/StoneIsland/www/js/lib/auth/LoginView.js
index 4ef2823f..504827c8 100755
--- a/StoneIsland/www/js/lib/auth/LoginView.js
+++ b/StoneIsland/www/js/lib/auth/LoginView.js
@@ -6,6 +6,7 @@ var LoginView = FormView.extend({
events: {
"click .newuser": "new_user",
+ "click .forgotpassword": "forgot_password",
"submit form": "save",
},
@@ -29,6 +30,10 @@ var LoginView = FormView.extend({
new_user: function(){
app.router.go("account/signup")
+ },
+
+ forgot_password: function(){
+ window.open("http://www.stoneisland.co.uk/pages/forgotten-password", '_system')
},
validate_presence: {