mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
70 lines
2.7 KiB
Text
70 lines
2.7 KiB
Text
extends ../layout
|
|
|
|
block content
|
|
.content.content-alt
|
|
.container
|
|
.row
|
|
.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
|
|
.card
|
|
.page-header
|
|
h1 Account Settings
|
|
.messageArea
|
|
.container-fluid
|
|
.row
|
|
.col-md-5
|
|
h3 Update Account Info
|
|
form#userSettings
|
|
input(type="hidden", name="_csrf", value=csrfToken)
|
|
.form-group
|
|
label(for='email') Email
|
|
input#emailAddress.form-control(type='email', name='email', value=user.email)
|
|
.form-group
|
|
label(for='firstName').control-label First Name
|
|
input#firstName.form-control(type='text', name='first_name', value=user.first_name)
|
|
.form-group
|
|
label(for='lastName').control-label Last Name
|
|
input#lastName.form-control(type='text', name='last_name', value=user.last_name)
|
|
.actions
|
|
button.btn.btn-primary(type='submit') Update
|
|
|
|
.col-md-5.col-md-offset-1
|
|
h3 Change Password
|
|
form#changePasswordForm(method="post", action="/user/password/update")
|
|
input(type="hidden", name="_csrf", value=csrfToken)
|
|
.form-group
|
|
label(for='currentPassword') Current Password
|
|
input#currentPassword.form-control(type='password', name='currentPassword', placeholder='*********')
|
|
.form-group
|
|
label(for='newPassword1') New Password
|
|
input#newPassword1.form-control(type='password', name='newPassword1', placeholder='************')
|
|
.form-group
|
|
label(for='newPassword2') Confirm New Password
|
|
input#newPassword2.form-control(type='password', name='newPassword2', placeholder='************')
|
|
.actions
|
|
button.btn.btn-primary(type='submit') Change
|
|
|
|
hr.soften
|
|
|
|
h3 Dropbox Integration
|
|
span.small
|
|
a(href='/help/kb/dropbox-2') (Learn more)
|
|
- if(!userHasDropboxFeature)
|
|
.alert.alert-info Dropbox sync is a premium feature
|
|
a.btn.btn-info(href='/user/subscription/plans') Upgrade
|
|
- else if(userIsRegisteredWithDropbox)
|
|
.alert.alert-success Account is linked!
|
|
row
|
|
a(href='/dropbox/unlink').btn Unlink Dropbox
|
|
- else
|
|
a.btn.btn-info(href='/dropbox/beginAuth') Link to dropbox
|
|
|
|
hr.soften
|
|
|
|
p
|
|
small
|
|
| Every few months we send a news letter out summarizing the new features available.<br>
|
|
| If you would prefer to not receive this email then you are free to unsubscribe below at any time.
|
|
a#unsubscribeFromNewsletter(data-csrf=csrfToken) Click here to Unsubscribe
|
|
|
|
p Need to leave?
|
|
a#deleteUserAccount(data-csrf=csrfToken) Delete your account
|