removed picture selectors on account page
This commit is contained in:
@ -21,7 +21,7 @@ var userSchema = new mongoose.Schema({
|
|||||||
gender: { type: String, default: '' },
|
gender: { type: String, default: '' },
|
||||||
location: { type: String, default: '' },
|
location: { type: String, default: '' },
|
||||||
website: { type: String, default: '' },
|
website: { type: String, default: '' },
|
||||||
picture: { type: String, default: '' }
|
picture: { type: String, default: 'http://bit.ly/1cppDAL' }
|
||||||
},
|
},
|
||||||
|
|
||||||
// API access tokens
|
// API access tokens
|
||||||
|
@ -134,7 +134,6 @@ a {
|
|||||||
transition: all 0.15s;
|
transition: all 0.15s;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin-top: 10px;
|
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,27 +36,9 @@ block content
|
|||||||
.col-sm-4
|
.col-sm-4
|
||||||
input.form-control(type='text', name='website', id='website', value='#{user.profile.website}')
|
input.form-control(type='text', name='website', id='website', value='#{user.profile.website}')
|
||||||
.form-group
|
.form-group
|
||||||
label.col-sm-2.control-label(for='profilePicture') Profile Picture
|
|
||||||
.col-sm-8
|
|
||||||
.btn.btn-danger.google Use Google
|
|
||||||
.btn.btn-primary.facebook Use Facebook
|
|
||||||
.btn.btn-info.twitter Use Twitter
|
|
||||||
.fileinput.fileinput-new(data-provides='fileinput')
|
|
||||||
span.btn.btn-default.btn-file
|
|
||||||
span.fileinput-new Select File
|
|
||||||
span.fileinput-exists Change
|
|
||||||
input(type='file', name='...')
|
|
||||||
span.fileinput-filename
|
|
||||||
a.close.fileinput-exists(href='#', data-dismiss='fileinput', style='float: none;') ×
|
|
||||||
img(width=100, height=100, src='#{user.profile.picture}')
|
|
||||||
.form-group
|
.form-group
|
||||||
button.btn.btn.btn-primary(type='submit') Update Profile
|
button.btn.btn.btn-primary(type='submit') Update Profile
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#settings.tab-pane.fade
|
#settings.tab-pane.fade
|
||||||
.form-group
|
.form-group
|
||||||
label(for='password') Password
|
label(for='password') Password
|
||||||
@ -65,14 +47,7 @@ block content
|
|||||||
label(for='confirmPassword') Confirm Password
|
label(for='confirmPassword') Confirm Password
|
||||||
input.form-control(type='password', id='confirmPassword', placeholder='Confirm Password')
|
input.form-control(type='password', id='confirmPassword', placeholder='Confirm Password')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if messages.length
|
if messages.length
|
||||||
.alert.alert-danger
|
.alert.alert-danger
|
||||||
for message in messages
|
for message in messages
|
||||||
div= message
|
div= message
|
||||||
|
|
||||||
script
|
|
||||||
$('.fileinput').fileinput()
|
|
Reference in New Issue
Block a user