improve copy on some buttons and fix challenge map css issues

This commit is contained in:
Quincy Larson
2015-12-17 01:28:40 -06:00
parent c3fca1a4fa
commit 6e85de9efe
3 changed files with 13 additions and 9 deletions

View File

@ -196,11 +196,15 @@ block content
a.btn.btn-lg.btn-block.btn-info.btn-link-social(href='/toggle-lockdown-mode') a.btn.btn-lg.btn-block.btn-info.btn-link-social(href='/toggle-lockdown-mode')
span.ion-locked span.ion-locked
| Hide all my solutions from other people | Hide all my solutions from other people
br
| (this will disable your certificates)
else else
.col-xs-12 .col-xs-12
a.btn.btn-lg.btn-block.btn-info.btn-link-social(href='/toggle-lockdown-mode') a.btn.btn-lg.btn-block.btn-info.btn-link-social(href='/toggle-lockdown-mode')
span.ion-unlocked span.ion-unlocked
| Let other people see all my solutions | Let other people see all my solutions
br
| (this will enable your certificates)
.col-xs-12 .col-xs-12
a.btn.btn-lg.btn-block.btn-success.btn-link-social(href='/commit') a.btn.btn-lg.btn-block.btn-success.btn-link-social(href='/commit')
span.ion-edit span.ion-edit

View File

@ -44,7 +44,7 @@ block content
ul ul
for superBlock in superBlocks for superBlock in superBlocks
h1= superBlock.name h2= superBlock.name
- var i = 0 - var i = 0
for challengeBlock in superBlock.blocks for challengeBlock in superBlock.blocks
- i++ - i++
@ -52,7 +52,7 @@ block content
if (user) if (user)
if (challengeBlock.completed === 100) if (challengeBlock.completed === 100)
.hidden-xs.col-sm-3.col-md-2.text-primary.ion-checkmark-circled.padded-ionic-icon.text-center.map-p.negative-10 .hidden-xs.col-sm-3.col-md-2.text-primary.ion-checkmark-circled.padded-ionic-icon.text-center.map-p.negative-10
.col-xs-1.col-sm-1.col-md-1.map-row-numbers .col-xs-1.col-sm-1.col-md-1.map-row-numbers.negative-5
span.map-p.negative-10 #{i}. span.map-p.negative-10 #{i}.
.col-xs-11.col-sm-8.col-md-9 .col-xs-11.col-sm-8.col-md-9
li.map-p.faded.negative-10 li.map-p.faded.negative-10
@ -69,8 +69,8 @@ block content
.hidden-xs.col-sm-3.col-md-2 .hidden-xs.col-sm-3.col-md-2
.progress.progress-bar-padding.text-center.thin-progress-bar .progress.progress-bar-padding.text-center.thin-progress-bar
.progress-bar(role='progressbar', aria-valuenow=(challengeBlock.completed), aria-valuemin='0', aria-valuemax='100', style='width: ' + challengeBlock.completed + '%;') .progress-bar(role='progressbar', aria-valuenow=(challengeBlock.completed), aria-valuemin='0', aria-valuemax='100', style='width: ' + challengeBlock.completed + '%;')
.col-xs-1.col-sm-1.col-md-1.map-row-numbers .col-xs-1.col-sm-1.col-md-1.map-row-numbers.negative-5
span.map-p.negative-10 #{i}. span.map-p #{i}.
.col-xs-11.col-sm-8.col-md-9 .col-xs-11.col-sm-8.col-md-9
li.map-p.negative-10 li.map-p.negative-10
a(href='#' + challengeBlock.dashedName)= challengeBlock.name a(href='#' + challengeBlock.dashedName)= challengeBlock.name
@ -84,7 +84,7 @@ block content
em Coming Soon em Coming Soon
else else
.hidden-xs.col-sm-3.col-md-2 .hidden-xs.col-sm-3.col-md-2
.col-xs-1.col-sm-1.col-md-1.map-row-numbers .col-xs-1.col-sm-1.col-md-1.map-row-numbers.negative-5
span.map-p.negative-10 #{i}. span.map-p.negative-10 #{i}.
.col-xs-10.col-sm-8.col-md-9 .col-xs-10.col-sm-8.col-md-9
span.map-p.negative-10 span.map-p.negative-10
@ -97,7 +97,7 @@ block content
span.text-info.small     span.text-info.small    
strong strong
em Coming Soon em Coming Soon
h1 Full Stack Development Certification h2 Full Stack Development Certification
.row .row
.hidden-xs.col-sm-3.col-md-2.ion-locked.padded-ionic-icon.text-center.map-p.negative-10 .hidden-xs.col-sm-3.col-md-2.ion-locked.padded-ionic-icon.text-center.map-p.negative-10
.col-xs-12.col-sm-9.col-md-10 .col-xs-12.col-sm-9.col-md-10
@ -115,7 +115,7 @@ block content
.col-xs-12.col-sm-9.col-md-10 .col-xs-12.col-sm-9.col-md-10
li.map-p.negative-10 Claim your Full Stack Development Certification li.map-p.negative-10 Claim your Full Stack Development Certification
h1 Coding Interview Preparation h2 Coding Interview Preparation
.row .row
.hidden-xs.col-sm-3.col-md-2.ion-locked.padded-ionic-icon.text-center.map-p.negative-10 .hidden-xs.col-sm-3.col-md-2.ion-locked.padded-ionic-icon.text-center.map-p.negative-10
.col-xs-12.col-sm-9.col-md-10 .col-xs-12.col-sm-9.col-md-10

View File

@ -10,7 +10,7 @@ block content
p.large-p!= step[2] p.large-p!= step[2]
.challenge-button-block .challenge-button-block
if step[3] if step[3]
a.btn.btn-block.btn-primary.challenge-step-btn-action(id='#{index}' href='#{step[3]}' target='_blank') Open link in new tab a.btn.btn-block.btn-primary.challenge-step-btn-action(id='#{index}' href='#{step[3]}' target='_blank') Open link in new tab (this unlocks the next step)
.button-spacer .button-spacer
if index === 0 if index === 0
.col-sm-5.hidden-xs   .col-sm-5.hidden-xs