mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
aec8d78254
[web] login: de-ng most of the login pages GitOrigin-RevId: 6e7721d515228b70e4e0b8e31e1a578801dbe1c5
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
extends ../layout-marketing
|
|
|
|
block vars
|
|
- metadata = { viewport: true }
|
|
|
|
block content
|
|
main.content.content-alt#main-content
|
|
.container
|
|
.row
|
|
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
|
|
.card
|
|
.page-header
|
|
h1 #{translate("log_in")}
|
|
form(data-ol-form, name="loginForm", action='/login', method="POST")
|
|
input(name='_csrf', type='hidden', value=csrfToken)
|
|
div(data-ol-form-messages)
|
|
.form-group
|
|
input.form-control(
|
|
type='email',
|
|
name='email',
|
|
required,
|
|
placeholder='email@example.com',
|
|
focus="true"
|
|
)
|
|
.form-group
|
|
input.form-control(
|
|
type='password',
|
|
name='password',
|
|
required,
|
|
placeholder='********',
|
|
)
|
|
.actions
|
|
button.btn-primary.btn(
|
|
type='submit',
|
|
data-ol-disabled-inflight
|
|
)
|
|
span(data-ol-not-inflight-text) #{translate("login")}
|
|
span(hidden data-ol-inflight-text) #{translate("logging_in")}…
|
|
a.pull-right(href='/user/password/reset') #{translate("forgot_your_password")}?
|