2014-12-06 20:27:02 -05:00
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
2016-02-25 18:24:16 -05:00
|
|
|
img(src="/images/pages/modal/auth/login-background.png", draggable="false").auth-modal-background
|
|
|
|
h1(data-i18n="login.log_in")
|
2014-05-22 14:24:35 -04:00
|
|
|
|
2014-12-06 20:27:02 -05:00
|
|
|
div#close-modal
|
|
|
|
span.glyphicon.glyphicon-remove
|
2014-05-22 14:24:35 -04:00
|
|
|
|
2014-12-06 20:27:02 -05:00
|
|
|
.auth-form-content
|
2014-05-22 14:24:35 -04:00
|
|
|
|
2014-12-06 20:27:02 -05:00
|
|
|
if showRequiredError
|
|
|
|
.alert.alert-success
|
2016-02-25 18:24:16 -05:00
|
|
|
span(data-i18n="signup.required")
|
2014-12-06 20:27:02 -05:00
|
|
|
|
|
|
|
form.form
|
|
|
|
.form-group
|
|
|
|
label.control-label(for="email")
|
2016-02-25 18:24:16 -05:00
|
|
|
span(data-i18n="general.email")
|
2014-12-06 20:27:02 -05:00
|
|
|
| :
|
|
|
|
.input-border
|
|
|
|
input#email.input-large.form-control(name="email", type="email", value=formValues.email)
|
2014-07-10 14:50:16 -04:00
|
|
|
.form-group
|
2016-02-25 18:24:16 -05:00
|
|
|
div#recover-account-wrapper
|
|
|
|
a(data-toggle="coco-modal", data-target="core/RecoverModal", data-i18n="login.forgot_password")#link-to-recover
|
2014-12-06 20:27:02 -05:00
|
|
|
label.control-label(for="password")
|
2016-02-25 18:24:16 -05:00
|
|
|
span(data-i18n="general.password")
|
2014-12-06 20:27:02 -05:00
|
|
|
| :
|
|
|
|
.input-border
|
|
|
|
input#password.input-large.form-control(name="password", type="password", value=formValues.password)
|
2014-05-22 14:24:35 -04:00
|
|
|
|
2016-02-25 18:24:16 -05:00
|
|
|
input.btn.btn-lg.btn-illustrated.btn-block.btn-success#login-button(value=translate("login.log_in"), type="submit")
|
2014-05-22 14:24:35 -04:00
|
|
|
|
2014-12-06 20:27:02 -05:00
|
|
|
.wait.secret
|
2016-02-25 18:24:16 -05:00
|
|
|
h3(data-i18n="login.logging_in")
|
|
|
|
|
2014-12-06 20:27:02 -05:00
|
|
|
.auth-network-logins
|
2016-02-13 23:08:47 -05:00
|
|
|
// GitHub login complete, but the button does not fit in with the design yet. Hidden for now
|
2014-11-29 13:52:46 -05:00
|
|
|
//div.network-login
|
|
|
|
// btn.btn.btn-sm.github-login-button#github-login-button
|
|
|
|
// img(src="/images/pages/modal/auth/github_icon.png")
|
|
|
|
// | GitHub
|
2015-12-11 17:47:42 -05:00
|
|
|
#facebook-login-btn.btn.btn-primary.btn-lg.btn-illustrated.network-login
|
2014-12-06 20:27:02 -05:00
|
|
|
img.network-logo(src="/images/pages/community/logo_facebook.png", draggable="false")
|
2016-02-25 18:24:16 -05:00
|
|
|
span.sign-in-blurb(data-i18n="login.sign_in_with_facebook")
|
|
|
|
#gplus-login-btn.btn.btn-danger.btn-lg.btn-illustrated.network-login(disabled=true)
|
2015-01-14 17:15:29 -05:00
|
|
|
img.network-logo(src="/images/pages/community/logo_g+.png", draggable="false")
|
2016-02-25 18:24:16 -05:00
|
|
|
span.sign-in-blurb(data-i18n="login.sign_in_with_gplus")
|
2015-01-14 17:15:29 -05:00
|
|
|
.gplus-login-wrapper
|
2016-02-25 18:24:16 -05:00
|
|
|
.gplus-login-button
|
2014-12-06 20:27:02 -05:00
|
|
|
|
|
|
|
.extra-pane
|
2016-02-25 18:24:16 -05:00
|
|
|
.switch-explanation(data-i18n="login.signup_switch")
|
|
|
|
.btn.btn-lg.btn-illustrated.btn-warning#switch-to-signup-btn(data-i18n="login.sign_up")
|