radically simplify the challenge show view and remove the animation

pull/2/head
Michael Q Larson 2014-12-10 22:41:37 -08:00
parent b29ba117a3
commit e05132842b
1 changed files with 11 additions and 17 deletions

View File

@ -3,24 +3,18 @@ block content
.row .row
.col-sm-12.col-md-8.col-xs-12 .col-sm-12.col-md-8.col-xs-12
.panel.panel-primary .panel.panel-primary
.panel-heading Challenge: #{name} .panel-heading #{name} (takes #{time})
.panel.panel-body .panel.panel-body
.challenge-brief .embed-responsive.embed-responsive-16by9
h3.text-center iframe.embed-responsive-item(src='//player.vimeo.com/video/#{video}')
span.ion-android-clock h3 Steps:
span Takes about #{time} h4
.btn.btn-primary.btn-big.btn-block.start-challenge Start the challenge ol
.challenge-content.hidden-element for step in steps
.responsive-container li!= step
iframe(src='//player.vimeo.com/video/#{video}', frameborder='0', webkitallowfullscreen='', mozallowfullscreen='', allowfullscreen='') .btn.btn-primary.btn-big.btn-block.completed-challenge I've completed this challenge
h3 Steps: .ten-pixel-break
h4 .btn.btn-success.btn-large.btn-block.skip-challenge I want to skip this challenge for now
ol
for step in steps
li!= step
.btn.btn-primary.btn-big.btn-block.completed-challenge I've completed this challenge
.ten-pixel-break
.btn.btn-success.btn-large.btn-block.skip-challenge I want to skip this challenge for now
.panel-footer.text-center .panel-footer.text-center
span Need a break? Check out our:  span Need a break? Check out our: 
a(href="https://gitter.im/FreeCodeCamp/FreeCodeCamp", target="_blank") Chat Room a(href="https://gitter.im/FreeCodeCamp/FreeCodeCamp", target="_blank") Chat Room