diff --git a/app/assets/javascripts/app/controllers/getting_started.js.coffee b/app/assets/javascripts/app/controllers/getting_started.js.coffee index 66a406226..7dd104a86 100644 --- a/app/assets/javascripts/app/controllers/getting_started.js.coffee +++ b/app/assets/javascripts/app/controllers/getting_started.js.coffee @@ -1,5 +1,5 @@ class Index extends App.ControllerContent - className: 'getstarted fit vertical center justified' + className: 'getstarted fit' events: 'submit form': 'submit', @@ -144,6 +144,8 @@ class Index extends App.ControllerContent @el.find('.master_user').addClass('hide') @el.find('.agent_user').removeClass('hide') + @el.find('.tabs .tab.active').removeClass('active') + @el.find('.tabs .invite_agents').addClass('active') # @el.find('.master_user').fadeOut('slow', => # @el.find('.agent_user').fadeIn() # ) diff --git a/app/assets/javascripts/app/controllers/login.js.coffee b/app/assets/javascripts/app/controllers/login.js.coffee index dcc87a325..e9e7e198b 100644 --- a/app/assets/javascripts/app/controllers/login.js.coffee +++ b/app/assets/javascripts/app/controllers/login.js.coffee @@ -1,5 +1,5 @@ class Index extends App.ControllerContent - className: 'login fit vertical center justified' + className: 'login fit' events: 'submit #login': 'login' @@ -113,7 +113,7 @@ class Index extends App.ControllerContent # login shake @delay( - => @shake( @el.find('#login') ), + => @shake( @el.find('.hero-unit') ), 600 ) diff --git a/app/assets/javascripts/app/controllers/signup.js.coffee b/app/assets/javascripts/app/controllers/signup.js.coffee index a3da92107..0a2ade213 100644 --- a/app/assets/javascripts/app/controllers/signup.js.coffee +++ b/app/assets/javascripts/app/controllers/signup.js.coffee @@ -1,5 +1,5 @@ class Index extends App.ControllerContent - className: 'container signup' + className: 'signup fit' events: 'submit form': 'submit' @@ -30,7 +30,7 @@ class Index extends App.ControllerContent @html App.view('signup')() new App.ControllerForm( - el: @el.find('#form-signup') + el: @el.find('form') model: App.User required: 'signup' autofocus: true diff --git a/app/assets/javascripts/app/views/getting_started.jst.eco b/app/assets/javascripts/app/views/getting_started.jst.eco index de5e87765..5c8c07e65 100644 --- a/app/assets/javascripts/app/views/getting_started.jst.eco +++ b/app/assets/javascripts/app/views/getting_started.jst.eco @@ -1,22 +1,23 @@ -