removed picture selectors on account page

This commit is contained in:
Sahat Yalkabov
2013-12-06 01:14:10 -05:00
parent 1affaa4859
commit 52827c7c9b
3 changed files with 2 additions and 28 deletions

View File

@ -21,7 +21,7 @@ var userSchema = new mongoose.Schema({
gender: { type: String, default: '' },
location: { type: String, default: '' },
website: { type: String, default: '' },
picture: { type: String, default: '' }
picture: { type: String, default: 'http://bit.ly/1cppDAL' }
},
// API access tokens

View File

@ -134,7 +134,6 @@ a {
transition: all 0.15s;
h2 {
margin-top: 10px;
font-weight: 100;
}
}

View File

@ -36,27 +36,9 @@ block content
.col-sm-4
input.form-control(type='text', name='website', id='website', value='#{user.profile.website}')
.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
button.btn.btn.btn-primary(type='submit') Update Profile
#settings.tab-pane.fade
.form-group
label(for='password') Password
@ -65,14 +47,7 @@ block content
label(for='confirmPassword') Confirm Password
input.form-control(type='password', id='confirmPassword', placeholder='Confirm Password')
if messages.length
.alert.alert-danger
for message in messages
div= message
script
$('.fileinput').fileinput()