mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 22:13:32 -04:00
Merge branch 'signupSocialButtons' of git://github.com/adi2412/codecombat into adi2412-signupSocialButtons
This commit is contained in:
commit
b330e783bf
3 changed files with 29 additions and 2 deletions
app
|
@ -10,3 +10,16 @@
|
|||
|
||||
a[data-toggle="coco-modal"]
|
||||
cursor: pointer
|
||||
|
||||
#signup-modal
|
||||
.modal-footer
|
||||
padding-top: 0
|
||||
div
|
||||
text-align: center
|
||||
.social-login-text
|
||||
padding-top: 20px
|
||||
.network-logins
|
||||
width: 263px
|
||||
margin: 0 auto
|
||||
div:last-of-type
|
||||
margin-right: 0px
|
||||
|
|
|
@ -30,5 +30,15 @@ block modal-body-content
|
|||
block modal-body-wait-content
|
||||
h3(data-i18n="signup.creating") Creating Account...
|
||||
|
||||
block modal-footer-content
|
||||
button.btn.btn-primary.btn-large#signup-button(data-i18n="signup.sign_up") Sign Up
|
||||
block modal-footer
|
||||
.modal-footer
|
||||
div
|
||||
button.btn.btn-primary.btn-large#signup-button(data-i18n="signup.sign_up") Sign Up
|
||||
div.social-login-text.
|
||||
Or you can login directly through Facebook or G+
|
||||
|
||||
.modal-footer.network-logins
|
||||
div
|
||||
.fb-login-button(data-show-faces="false", data-width="200", data-max-rows="1", data-scope="email")
|
||||
div
|
||||
.gplus-login-button#gplus-login-button
|
||||
|
|
|
@ -62,3 +62,7 @@ module.exports = class SignupModalView extends View
|
|||
window.tracker?.trackEvent 'Finished Signup'
|
||||
@enableModalInProgress(@$el)
|
||||
createUser userObject, null, window.nextLevelURL
|
||||
|
||||
afterInsert: ->
|
||||
super()
|
||||
application.router.renderLoginButtons()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue