2014-10-20 23:25:24 +00:00
|
|
|
|
.panel.panel-primary
|
2014-10-20 22:35:42 +00:00
|
|
|
|
.panel-heading Course: #{name}
|
|
|
|
|
.panel.panel-body
|
2014-10-25 17:27:09 +00:00
|
|
|
|
.animated.zoomIn.delay-1
|
|
|
|
|
img.img-center.img-responsive(src=image)
|
|
|
|
|
.animated.fadeIn.delay-2
|
|
|
|
|
h3 Takes about #{time} hours to complete
|
2014-10-20 22:35:42 +00:00
|
|
|
|
|
2014-10-25 17:27:09 +00:00
|
|
|
|
for direction in directions
|
|
|
|
|
p= direction
|
2014-10-20 22:35:42 +00:00
|
|
|
|
|
2014-10-25 17:27:09 +00:00
|
|
|
|
a.btn.btn-success.btn-large.btn-block(href=link, target="blank") Go to course
|
|
|
|
|
br
|
|
|
|
|
br
|
|
|
|
|
.btn.btn-primary.btn-large.btn-block.completed-challenge I've completed this challenge
|
|
|
|
|
script.
|
|
|
|
|
$('.completed-challenge').on("click", function() {
|
|
|
|
|
$('#modal-dialog').modal('show');
|
|
|
|
|
});
|
|
|
|
|
#modal-dialog.modal
|
|
|
|
|
.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
|
|
|
|
|
a.animated.fadeIn.delay-2.btn.btn-primary.btn-block(href='/curriculum', aria-hidden='true') Take me back to my curriculum
|