From 89b39c69c00c180287912f4777ea2ec487fa6412 Mon Sep 17 00:00:00 2001 From: Rene Ae Date: Tue, 22 Dec 2015 01:26:04 -0600 Subject: bugfixes - forgot password --- StoneIsland/www/css/account.css | 11 +++++++++++ StoneIsland/www/index.html | 3 ++- StoneIsland/www/js/lib/auth/LoginView.js | 5 +++++ 3 files changed, 18 insertions(+), 1 deletion(-) 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 @@
- New User? +
New User?
+
Forgot Password?
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: { -- cgit v1.2.3-70-g09d2