freeCodeCamp/views/challenges/partials/challenge.jade

41 lines
2.2 KiB
Plaintext
Raw Normal View History

2014-10-20 23:25:24 +00:00
.panel.panel-primary
2014-10-20 22:35:42 +00:00
.panel-heading Challenge: #{name}
.panel.panel-body
2014-10-25 01:51:32 +00:00
.responsive-container.animated.zoomIn.delay-1
2014-10-22 04:36:47 +00:00
iframe(src='//player.vimeo.com/video/#{video}', frameborder='0', webkitallowfullscreen='', mozallowfullscreen='', allowfullscreen='')
2014-10-25 17:27:09 +00:00
.animated.fadeIn.delay-2
h3 Instructions:
for direction in directions
p= direction
2014-10-20 22:35:42 +00:00
2014-10-25 17:27:09 +00:00
h3 Relevant Links (these open up in a new tab):
ol
for link in links
li
a(href=link, target="blank")= link
2014-11-02 00:51:29 +00:00
.button-container
.btn.btn-primary.btn-large.btn-block.start-challenge Start my challenge and open these links in new tabs
.btn.btn-success.btn-large.btn-block.completed-challenge.hidden-element I've completed this challenge
.ten-pixel-break
.btn.btn-primary.btn-large.btn-block.skip-challenge.hidden-element I want to skip this challenge
2014-11-01 23:37:17 +00:00
#complete-dialog.modal
2014-10-25 01:51:32 +00:00
.modal-dialog.animated.zoomIn.fast-animation
.modal-content
.modal-header
a.close(href='#', data-dismiss='modal', aria-hidden='true') ×
.text-center
h1.animated.zoomInDown Nicely done!
.animated.zoomInUp.delay-1
span.landing-icon.ion-checkmark-circled.text-success
2014-11-01 23:37:17 +00:00
a.animated.fadeIn.delay-2.btn.btn-primary.btn-block(href='/curriculum', aria-hidden='true') Take me to my next challenge
#skip-dialog.modal
.modal-dialog.animated.zoomIn.fast-animation
.modal-content
.modal-header
a.close(href='#', data-dismiss='modal', aria-hidden='true') ×
.text-center
2014-11-02 00:51:29 +00:00
h1.animated.zoomInDown No problem.
h2.animated.zoomInDown You can retry this challenge any time.
2014-11-01 23:37:17 +00:00
.animated.zoomInUp.delay-1
2014-11-02 00:51:29 +00:00
span.landing-icon.ion-skip-forward.text-primary
2014-11-01 23:37:17 +00:00
a.animated.fadeIn.delay-2.btn.btn-primary.btn-block(href='/curriculum', aria-hidden='true') Take me to my next challenge