account page small ui changes

This commit is contained in:
Sahat Yalkabov
2013-12-12 13:55:12 -05:00
parent 6870bcc098
commit be1eb09af8
2 changed files with 17 additions and 15 deletions

2
app.js
View File

@ -23,7 +23,7 @@ var db = mongoose.connect(config.db);
var app = express(); var app = express();
// Express Configuration // Express Configuration
app.set('port', process.env.PORT || 5000); app.set('port', process.env.PORT || 3000);
app.set('views', path.join(__dirname, 'views')); app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'jade'); app.set('view engine', 'jade');
app.use(express.favicon()); app.use(express.favicon());

View File

@ -8,8 +8,9 @@ block content
a(href='#settings', data-toggle='tab') Settings a(href='#settings', data-toggle='tab') Settings
.tab-content .tab-content
#basic.tab-pane.fade.active.in #basic.tab-pane.fade.active.in
.pahe-header
h3 Profile Information
form.form-horizontal(action='/account/profile', method='POST') form.form-horizontal(action='/account/profile', method='POST')
legend Profile Information
.form-group .form-group
label.col-sm-2.control-label(for='name') Name label.col-sm-2.control-label(for='name') Name
.col-sm-4 .col-sm-4
@ -40,8 +41,9 @@ block content
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
.page-header
h3 Change Password
form.form-horizontal(action='/account/profile', method='POST') form.form-horizontal(action='/account/profile', method='POST')
legend Change Password
.form-group .form-group
label.col-sm-3.control-label(for='password') Password label.col-sm-3.control-label(for='password') Password
.col-sm-4 .col-sm-4
@ -52,23 +54,23 @@ block content
input.form-control(type='password', id='confirmPassword') input.form-control(type='password', id='confirmPassword')
.form-group .form-group
.col-sm-offset-3.col-sm-4 .col-sm-offset-3.col-sm-4
button.btn.btn.btn-primary-outline(type='submit') Change Password button.btn.btn.btn-primary(type='submit') Change Password
.page-header .page-header
h3 Delete Account h3 Delete Account
p You can delete your account, but keep in mind this action is irreversiable. p You can delete your account, but keep in mind this action is irreversiable.
form(action='/account/delete', method='POST') form(action='/account/delete', method='POST')
button.btn.btn-danger(type='submit') Delete my account button.btn.btn-danger(type='submit') Delete my account
.page-header .page-header
h3 Linked Accounts h3 Linked Accounts
p p
a.text-danger(href='#') Unlink your Google account a.text-danger(href='#') Unlink your Google account
p p
a(href='#') Link your Facebook account a(href='#') Link your Facebook account
p p
a(href='#') Link your Twitter account a(href='#') Link your Twitter account
p p
a(href='#') Link your GitHub account a(href='#') Link your GitHub account
if messages.length if messages.length
.alert.alert-danger .alert.alert-danger