codecombat/app/templates/core/create-account-modal/single-sign-on-confirm-view.jade

58 lines
2 KiB
Text
Raw Normal View History

2016-06-07 17:51:41 -04:00
form#basic-info-form.modal-body
.modal-body-content
h4
2016-06-30 18:32:58 -04:00
span(data-i18n="signup.sso_connected")
div.small.m-y-1
- var ssoUsed = view.signupState.get('ssoUsed');
if ssoUsed === 'facebook'
img(src="/images/pages/modal/auth/facebook_small.png")
if ssoUsed === 'gplus'
img(src="/images/pages/modal/auth/gplus_small.png")
b.m-x-1
span= view.signupState.get('email')
2016-06-07 17:51:41 -04:00
span.glyphicon.glyphicon-ok-circle.class-code-valid-icon
2016-06-30 18:32:58 -04:00
.hr-text.m-y-3
2016-06-07 17:51:41 -04:00
hr
2016-06-30 18:32:58 -04:00
span(data-i18n="common.continue")
2016-06-07 17:51:41 -04:00
2016-06-30 18:32:58 -04:00
.form-container
input.hidden(name="email" value=view.signupState.get('email'))
.form-group
.row
.col-xs-7.col-xs-offset-3
label.control-label(for="username-input")
span(data-i18n="general.username")
.col-xs-5.col-xs-offset-3
input.form-control.input-lg#username-input(name="name")
.col-xs-4.name-check
- var checkNameState = view.state.get('checkNameState');
if checkNameState === 'checking'
span.small(data-i18n="signup.checking")
if checkNameState === 'exists'
span.small
span.text-burgandy.glyphicon.glyphicon-remove-circle
=" "
span= view.state.get('suggestedNameText')
if checkNameState === 'available'
span.small
span.text-forest.glyphicon.glyphicon-ok-circle
=" "
span(data-i18n="signup.name_available")
2016-06-07 17:51:41 -04:00
2016-06-30 18:32:58 -04:00
.form-group.subscribe
.row
.col-xs-7.col-xs-offset-3
.checkbox
label
input#subscribe-input(type="checkbox" checked="checked" name="subscribe")
span(data-i18n="signup.email_announcements")
2016-06-07 17:51:41 -04:00
// In reverse order for tabbing purposes
.history-nav-buttons
button.next-button.btn.btn-lg.btn-navy(type='submit')
2016-06-30 18:32:58 -04:00
span(data-i18n="signup.create_account")
2016-06-07 17:51:41 -04:00
button.back-button.btn.btn-lg.btn-navy-alt(type='button')
2016-06-30 18:32:58 -04:00
span(data-i18n="common.back")