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
block content
.panel.panel-info
.panel-heading.text-center Commit to one of these nonprofits
.panel-body
h1.text-center Commit to one of these nonprofits
hr
.row
.col-xs-12.col-sm-10.col-sm-offset-1
for nonprofit in nonprofits

View File

@ -1,7 +1,5 @@
extends ../layout
block content
.panel.panel-info
.panel-body
h2.text-center Commit to yourself. Commit to a nonprofit.
.row
.col-xs-12.col-sm-6.col-sm-offset-3
@ -15,6 +13,7 @@ block content
img.img-responsive(src='#{imgUrl}' alt='#{imgAlt}')
p.large-p
= description
p
a(href='/commit/directory') ...or see other nonprofits
.spacer
form.form(name='commit')
@ -41,16 +40,16 @@ block content
.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?
.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')
| $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")
| $10 per month
label.btn.btn-success
label.btn.btn-primary
input(type='radio' id='25-dollar-pledge' value='25' name='amount')
| $25 per month
label.btn.btn-success
label.btn.btn-primary
input(type='radio' id='50-dollar-pledge' value='50' name='amount')
| $50 per month
.spacer
@ -80,7 +79,6 @@ block content
.col-xs-12.col-sm-6.col-sm-offset-3.text-center
.button-spacer
a.btn.btn-block.btn-lg.btn-default(href='/map') Maybe later
.spacer
script.
$(function() {
$('#commit-btn-donate').click(function() {