mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.4 KiB
43 lines
1.4 KiB
extends ./_layout.pug
|
|
|
|
block adminContent
|
|
section.section
|
|
.container
|
|
.columns
|
|
.column.is-two-thirds
|
|
label.label Email
|
|
p.control.has-icon.has-icon-right
|
|
input.input(type='email', placeholder='Email', value=user.email, disabled=(user.provider !== 'local'))
|
|
i.fa.fa-envelope
|
|
if user.provider == 'local'
|
|
label.label Password
|
|
p.control.has-icon.has-icon-right
|
|
input.input(type='password', placeholder='Password', value='********')
|
|
i.fa.fa-lock
|
|
label.label Verify Password
|
|
p.control.has-icon.has-icon-right
|
|
input.input(type='password', placeholder='Password', value='********')
|
|
i.fa.fa-lock
|
|
label.label Display Name
|
|
p.control.has-icon.has-icon-right
|
|
input.input(type='text', placeholder='John Smith', value=user.name)
|
|
i.fa.fa-user
|
|
.column
|
|
label.label Provider
|
|
p.control.account-profile-provider
|
|
case user.provider
|
|
when 'local': i.fa.fa-database
|
|
when 'windowslive': i.fa.fa-windows.is-blue
|
|
when 'google': i.fa.fa-google.is-blue
|
|
when 'facebook': i.fa.fa-facebook.is-purple
|
|
default: i.fa.fa-question-circle
|
|
= t('auth:providers.' + user.provider)
|
|
label.label Member since
|
|
p.control= userMoment(user.createdAt).format('LL')
|
|
label.label Last Profile Update
|
|
p.control= userMoment(user.updatedAt).format('LL')
|
|
section.section
|
|
.container
|
|
p.control
|
|
button.button.is-success
|
|
| Save Changes |