more style improvements

This commit is contained in:
Quincy Larson
2015-10-07 01:06:36 -07:00
parent f7500c4bb0
commit adfbdd7f9f
3 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,4 @@
{ {
"frontEndCert": "front-end-development-certificate", "frontEndCert": "Front End Development Certification",
"fullStackCert": "full-stack-development-certificate" "fullStackCert": "Full Stack Development Certification"
} }

View File

@ -63,7 +63,7 @@ block content
h4 h4
| This camper has committed to giving $#{pledge.amount} to | This camper has committed to giving $#{pledge.amount} to
a(href='#{pledge.donateUrl}?ref=freecodecamp.com' target='_blank') #{pledge.displayName} a(href='#{pledge.donateUrl}?ref=freecodecamp.com' target='_blank') #{pledge.displayName}
| each month until they have completed the #{pledge.goal} | each month until they have completed their #{pledge.goal}.
.spacer .spacer
if isFrontEndCert if isFrontEndCert
a.btn.btn-primary(href='/' + username + '/front-end-certification') View My Front End Development Certification a.btn.btn-primary(href='/' + username + '/front-end-certification') View My Front End Development Certification

View File

@ -41,7 +41,7 @@ block content
label.btn.btn-success.active label.btn.btn-success.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.active label.btn.btn-success
input(type='radio' id='25-dollar-pledge' value='25' name='amount' checked="checked") input(type='radio' id='25-dollar-pledge' value='25' name='amount' checked="checked")
| $25 per month | $25 per month
label.btn.btn-success label.btn.btn-success
@ -55,12 +55,14 @@ block content
if pledge if pledge
form.row(name='stop-pledge' action='/commit/stop-commitment' method='post') form.row(name='stop-pledge' action='/commit/stop-commitment' method='post')
.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.btn.btn-sm.btn-danger(name='submit' type='submit') Stop my pledge .button-spacer
button.btn.btn-block.btn-danger(name='submit' type='submit') Stop my current pledge
else else
.row .row
h4.col-xs-12.col-sm-6.col-sm-offset-3.text-center .col-xs-12.col-sm-6.col-sm-offset-3.text-center
a(href='/') Maybe later .button-spacer
.spacer a.btn.btn-block.btn-default(href='/') Maybe later
.spacer
script. script.
$(function() { $(function() {
$('#commit-btn-submit').click(function() { $('#commit-btn-submit').click(function() {