Update commit views

This commit is contained in:
Quincy Larson
2016-01-09 23:49:07 -06:00
committed by Berkeley Martinez
parent 09b4f1caa2
commit bf06d0c6a0
2 changed files with 88 additions and 91 deletions

View File

@ -1,8 +1,7 @@
extends ../layout extends ../layout
block content block content
.panel.panel-info h1.text-center Commit to one of these nonprofits
.panel-heading.text-center Commit to one of these nonprofits hr
.panel-body
.row .row
.col-xs-12.col-sm-10.col-sm-offset-1 .col-xs-12.col-sm-10.col-sm-offset-1
for nonprofit in nonprofits for nonprofit in nonprofits

View File

@ -1,7 +1,5 @@
extends ../layout extends ../layout
block content block content
.panel.panel-info
.panel-body
h2.text-center Commit to yourself. Commit to a nonprofit. h2.text-center Commit to yourself. Commit to a nonprofit.
.row .row
.col-xs-12.col-sm-6.col-sm-offset-3 .col-xs-12.col-sm-6.col-sm-offset-3
@ -15,6 +13,7 @@ block content
img.img-responsive(src='#{imgUrl}' alt='#{imgAlt}') img.img-responsive(src='#{imgUrl}' alt='#{imgAlt}')
p.large-p p.large-p
= description = description
p
a(href='/commit/directory') ...or see other nonprofits a(href='/commit/directory') ...or see other nonprofits
.spacer .spacer
form.form(name='commit') form.form(name='commit')
@ -41,16 +40,16 @@ block content
.col-xs-12.col-sm-6.col-sm-offset-3 .col-xs-12.col-sm-6.col-sm-offset-3
h3 Step 2: How much do you want to pledge monthly until you earn that certification? h3 Step 2: How much do you want to pledge monthly until you earn that certification?
.btn-group.btn-group-justified(data-toggle='buttons' role='group') .btn-group.btn-group-justified(data-toggle='buttons' role='group')
label.btn.btn-success label.btn.btn-primary
input(type='radio' id='5-dollar-pledge' value='5' name='amount') input(type='radio' id='5-dollar-pledge' value='5' name='amount')
| $5 per month | $5 per month
label.btn.btn-success.active label.btn.btn-primary.active
input(type='radio' id='10-dollar-pledge' value='10' name='amount' checked="checked") input(type='radio' id='10-dollar-pledge' value='10' name='amount' checked="checked")
| $10 per month | $10 per month
label.btn.btn-success label.btn.btn-primary
input(type='radio' id='25-dollar-pledge' value='25' name='amount') input(type='radio' id='25-dollar-pledge' value='25' name='amount')
| $25 per month | $25 per month
label.btn.btn-success label.btn.btn-primary
input(type='radio' id='50-dollar-pledge' value='50' name='amount') input(type='radio' id='50-dollar-pledge' value='50' name='amount')
| $50 per month | $50 per month
.spacer .spacer
@ -80,7 +79,6 @@ block content
.col-xs-12.col-sm-6.col-sm-offset-3.text-center .col-xs-12.col-sm-6.col-sm-offset-3.text-center
.button-spacer .button-spacer
a.btn.btn-block.btn-lg.btn-default(href='/map') Maybe later a.btn.btn-block.btn-lg.btn-default(href='/map') Maybe later
.spacer
script. script.
$(function() { $(function() {
$('#commit-btn-donate').click(function() { $('#commit-btn-donate').click(function() {