2015-11-03 19:41:06 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
2015-11-21 14:38:34 -05:00
|
|
|
.pull-right
|
|
|
|
a(href="/teachers") Teachers, click here!
|
2015-11-03 19:41:06 -05:00
|
|
|
|
2015-11-21 14:38:34 -05:00
|
|
|
#main-content
|
|
|
|
if me.isAnonymous()
|
2015-11-22 03:08:46 -05:00
|
|
|
|
|
|
|
h1.text-center Adventurers, welcome to Courses!
|
|
|
|
|
2015-11-21 14:38:34 -05:00
|
|
|
.text-center
|
|
|
|
p
|
|
|
|
h3 Ready to play?
|
|
|
|
p
|
|
|
|
button#start-new-game-btn.btn.btn-default Start New Game
|
|
|
|
p - OR -
|
|
|
|
p
|
|
|
|
button#log-in-btn.btn.btn-default(data-i18n="login.log_in")
|
|
|
|
|
|
|
|
h3#play-now-to-learn-header.text-center PLAY NOW TO LEARN
|
|
|
|
ul
|
|
|
|
li basic syntax to control your character
|
|
|
|
li while loops to solve pesky puzzles
|
|
|
|
li strings & variables to customize actions
|
|
|
|
li how to defeat an ogre (important life skills!)
|
2015-11-22 03:08:46 -05:00
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
h1.text-center Welcome to your Courses page!
|
|
|
|
|
|
|
|
if view.hocCourseInstance
|
|
|
|
h2 Saved Games
|
|
|
|
hr
|
2015-11-21 14:38:34 -05:00
|
|
|
|
2015-11-22 03:08:46 -05:00
|
|
|
.course-instance-entry
|
|
|
|
h2
|
|
|
|
span.spr Hour of Code: Course 1
|
|
|
|
span.spr= (view.hocCourseInstance.get('aceConfig') || {}).language === 'python' ? 'Python' : 'JavaScript'
|
|
|
|
small
|
|
|
|
a#change-language-link change language
|
|
|
|
|
2015-11-21 14:38:34 -05:00
|
|
|
#begin-hoc-area.hide
|
|
|
|
h2.text-center(data-i18n="common.loading")
|
|
|
|
.progress.progress-striped.active
|
2015-11-22 03:08:46 -05:00
|
|
|
.progress-bar(style="width: 100%")
|
|
|
|
|
|
|
|
mixin course-instance-entry(courseInstance, course, levels)
|