2014-02-12 05:23:40 -05:00
|
|
|
extends ../layout
|
|
|
|
|
|
|
|
block content
|
2014-06-09 05:56:26 -04:00
|
|
|
.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
|
2014-02-12 05:23:40 -05:00
|
|
|
|
2014-06-09 05:56:26 -04:00
|
|
|
.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
|
2014-02-12 05:23:40 -05:00
|
|
|
|
2014-06-09 05:56:26 -04:00
|
|
|
hr.soften
|
|
|
|
|
|
|
|
h3 Dropbox Integration
|
|
|
|
span.small
|
|
|
|
a(href='/help/kb/dropbox-2') (Learn more)
|
|
|
|
- if(!userHasDropboxFeature)
|
2014-02-12 05:23:40 -05:00
|
|
|
.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
|
|
|
|
|
2014-06-09 05:56:26 -04:00
|
|
|
hr.soften
|
2014-02-12 05:23:40 -05:00
|
|
|
|
2014-06-09 05:56:26 -04:00
|
|
|
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
|
2014-02-22 06:26:36 -05:00
|
|
|
|
2014-06-09 05:56:26 -04:00
|
|
|
p Need to leave?
|
|
|
|
a#deleteUserAccount(data-csrf=csrfToken) Delete your account
|