From b46c984704fc985ede7346cb69f3c250cd8b45d9 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sat, 7 Dec 2013 15:14:28 -0500 Subject: [PATCH] Updated account management settings tab --- public/css/app.less | 2 -- views/account.jade | 19 ++++++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/public/css/app.less b/public/css/app.less index 52466c52ed..4cce94f00d 100644 --- a/public/css/app.less +++ b/public/css/app.less @@ -8,8 +8,6 @@ body { .user img { border-radius: 50%; - border: 1px solid #777; - padding: 1px; width: 40px; height: 40px; vertical-align: baseline; diff --git a/views/account.jade b/views/account.jade index adefda4030..b969153c53 100644 --- a/views/account.jade +++ b/views/account.jade @@ -35,17 +35,22 @@ block content label.col-sm-2.control-label(for='website') Website .col-sm-4 input.form-control(type='text', name='website', id='website', value='#{user.profile.website}') - .form-group .form-group button.btn.btn.btn-primary(type='submit') Update Profile #settings.tab-pane.fade - .form-group - label(for='password') Password - input.form-control(type='password', name='password', id='password', placeholder='Password') - .form-group - label(for='confirmPassword') Confirm Password - input.form-control(type='password', id='confirmPassword', placeholder='Confirm Password') + form.form-horizontal(action='/account/profile', method='POST') + .form-group + label.col-sm-3.control-label(for='password') Password + .col-sm-4 + input.form-control(type='password', name='password', id='password') + .form-group + label.col-sm-3.control-label(for='confirmPassword') Confirm Password + .col-sm-4 + input.form-control(type='password', id='confirmPassword') + .form-group + .col-sm-offset-3.col-sm-4 + button.btn.btn.btn-default(type='submit') Change Password if messages.length .alert.alert-danger