more style improvements

pull/3615/head
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",
"fullStackCert": "full-stack-development-certificate"
"frontEndCert": "Front End Development Certification",
"fullStackCert": "Full Stack Development Certification"
}

View File

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