2015-06-29 15:15:07 -04:00
extends /templates/base
block content
//- DO NOT localize / i18n
2015-08-04 14:21:02 -04:00
2015-06-29 15:15:07 -04:00
div(style='border-bottom: 1px solid black')
span *UNDER CONSTRUCTION, send feedback to
a.spl(href='mailto:team@codecombat.com') team@codecombat.com
2015-08-04 14:21:02 -04:00
.modal#continueModal
2015-07-29 17:47:10 -04:00
.modal-dialog
.modal-header
button.close(data-dismiss='modal')
span ×
h3.modal-title Loading...
.modal-body
2015-08-04 14:21:02 -04:00
.container-fluid
.row.button-row.row-pick-class
.col-md-12
.well.well-sm
p
2015-08-23 17:33:07 -04:00
div.instruction-label Pick from your current classes
2015-08-04 14:21:02 -04:00
.container-fluid
.row
.col-md-8
select.form-control.select-session
each inst in instances
option= inst.name
.col-md-4
2015-08-07 13:12:11 -04:00
button.btn.btn-success.btn-enter Enter
2015-08-04 14:21:02 -04:00
.row.button-row.center.row-pick-class
.col-md-12
div.or Or
2015-08-23 17:33:07 -04:00
if studentMode
.row.button-row
2015-08-23 16:48:52 -04:00
.col-md-12
2015-08-23 17:33:07 -04:00
.well.well-sm
p
div.instruction-label Enter an unlock code
.container-fluid
.row
.col-md-8
input.code-input(type='text', placeholder="Enter unlock code")
.col-md-4
button.btn.btn-success.btn-enroll Enroll
else
2015-08-23 16:48:52 -04:00
.row.button-row.center
.col-md-12
button.btn.btn-success.btn-lg.btn-buy Buy this course
2015-08-28 14:33:37 -04:00
br
2015-08-23 16:48:52 -04:00
if !studentMode
button.btn.btn-warning.btn-student Students Click Here
2015-08-28 14:33:37 -04:00
else
button.btn.btn-warning.btn-teacher Teachers Click Here
2015-07-29 17:47:10 -04:00
2015-08-04 23:01:13 -04:00
h1.center Courses on CodeCombat
2015-08-04 17:29:44 -04:00
2015-08-23 16:48:52 -04:00
if !studentMode
.info-container
p Courses are designed to introduce computer science concepts using CodeCombat's fun and engaging environment. CodeCombat levels are organized around key topics to encourage progressive learning, over the course of 5 hours.
2015-08-04 23:01:13 -04:00
2015-08-23 16:48:52 -04:00
.container-fluid
.row
.col-md-6
ul
li Learn more in less time
li No coding experience necesssary
li Easily monitor student progress
2015-08-27 19:52:02 -04:00
p Purchase a course for your entire class. It's easy to sign up your students!
p.faq-blurb
span.spr See the courses
a.spr.courses-faq FAQ
span for more information.
2015-08-23 16:48:52 -04:00
.col-md-6
2015-08-27 19:19:37 -04:00
img.img-quote(src="/images/pages/courses/coco_complab.png")
p
.well.well-sm
div.praise-quote "#{praise.quote}"
div.praise-caption - #{praise.source}
2015-08-04 17:29:44 -04:00
2015-08-23 16:48:52 -04:00
h2.center Choose Your Course:
2015-08-04 17:29:44 -04:00
2015-06-29 15:15:07 -04:00
.container-fluid
- var i = 0
while i < courses.length
.row
+course-block(courses[i], i)
- i++
if i < courses.length
+course-block(courses[i], i)
- i++
mixin course-block(course, courseID)
.col-md-6
.well.panel.course-panel(class=course.unlocked ? 'panel-success' : 'panel-info')
.panel-heading
2015-08-04 14:30:06 -04:00
.panel-title
span.spr #{course.title}
strong #{course.unlocked ? '[ enrolled ]' : ''}
2015-06-29 15:15:07 -04:00
.panel-body
.container-fluid
2015-08-24 09:11:11 -04:00
.row
.col-md-12
p
img.course-image(src="#{course.image}")
2015-08-04 23:01:13 -04:00
.row.button-row
.col-md-6
strong Topics
ul
each topic in course.topics
li= topic
strong Hours of content: #{course.duration}
2015-08-23 17:33:07 -04:00
.col-md-6.center(style='margin-top: 40px;')
if !studentMode
if course.unlocked
button.btn.btn-lg.btn-success.btn-continue(data-toggle='modal', data-target="#continueModal", data-course-title="#{course.title}", data-course-id="#{courseID}") #{course.unlocked ? 'Continue' : 'Enter'}
else if course.title === 'Introduction to Computer Science'
button.btn.btn-lg.btn-success.btn-buy(data-course-id="#{courseID}") Get FREE course
else
button.btn.btn-lg.btn-success.btn-buy(data-course-id="#{courseID}") Buy course
2015-08-23 16:48:52 -04:00
else
2015-08-23 17:33:07 -04:00
if course.unlocked
a.btn.btn-lg.btn-success.btn-continue(href="/courses/mock1/#{courseID}?student=true") Continue
else
button.btn.btn-lg.btn-success.btn-continue(data-toggle='modal', data-target="#continueModal", data-course-title="#{course.title}", data-course-id="#{courseID}") Enter