1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 16:17:37 +00:00

porting bootstrap 4

This commit is contained in:
amodolo
2018-07-19 11:10:54 +02:00
parent 6afbd99bf6
commit c6622bff46
5 changed files with 20 additions and 21 deletions

View File

@@ -15,18 +15,18 @@ block content
label.col-sm-3.col-form-label.text-right.font-weight-bold(for='name') Name
.col-sm-7
input.form-control(type='text', name='name', id='name', value=user.profile.name)
.form-group.row.justify-content-md-center
.form-group.row.justify-content-md-center.align-items-center
label.col-sm-3.col-form-label.text-right.font-weight-bold Gender
.col-sm-7
label.radio.col-sm-3
input(type='radio', checked=user.profile.gender=='male', name='gender', value='male', data-toggle='radio')
span Male
label.radio.col-sm-3
input(type='radio', checked=user.profile.gender=='female', name='gender', value='female', data-toggle='radio')
span Female
label.radio.col-sm-3
input(type='radio', checked=user.profile.gender=='other', name='gender', value='other', data-toggle='radio')
span Other
.form-check.form-check-inline
input#option-male.form-check-input(type='radio', checked=user.profile.gender==='male', name='gender', value='male', data-toggle='radio')
label.form-check-label(for="option-male") Male
.form-check.form-check-inline
input#option-female.form-check-input(type='radio', checked=user.profile.gender==='female', name='gender', value='female', data-toggle='radio')
label.form-check-label(for="option-female") Female
.form-check.form-check-inline
input#option-other.form-check-input(type='radio', checked=user.profile.gender==='other', name='gender', value='other', data-toggle='radio')
label.form-check-label(for="option-other") Other
.form-group.row.justify-content-md-center
label.col-sm-3.col-form-label.text-right.font-weight-bold(for='location') Location
.col-sm-7

View File

@@ -1,15 +1,16 @@
extends ../layout
block content
.col-sm-8.col-sm-offset-2
.col-sm-8.offset-sm-2
form(method='POST')
legend Reset Password
hr
input(type='hidden', name='_csrf', value=_csrf)
.form-group
label(for='password') New Password
label.col-form-label.font-weight-bold(for='password') New Password
input.form-control(type='password', name='password', id='password', placeholder='New password', autofocus, required)
.form-group
label(for='confirm') Confirm Password
label.col-form-label.font-weight-bold(for='confirm') Confirm Password
input.form-control(type='password', name='confirm', id='confirm', placeholder='Confirm password', required)
.form-group
button.btn.btn-primary.btn-reset(type='submit')