diff --git a/models/User.js b/models/User.js index fb73d85a1b..8733d9b84d 100644 --- a/models/User.js +++ b/models/User.js @@ -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 diff --git a/public/css/ios7.less b/public/css/ios7.less index 948423a328..94cb8f27ea 100644 --- a/public/css/ios7.less +++ b/public/css/ios7.less @@ -134,7 +134,6 @@ a { transition: all 0.15s; h2 { - margin-top: 10px; font-weight: 100; } } diff --git a/views/account.jade b/views/account.jade index 91f4f0fc7c..adefda4030 100644 --- a/views/account.jade +++ b/views/account.jade @@ -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() \ No newline at end of file + div= message \ No newline at end of file