2015-11-03 19:41:06 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
2015-12-01 15:38:54 -05:00
|
|
|
.pull-right
|
|
|
|
if me.isAnonymous()
|
|
|
|
a(href="/teachers") Teachers, click here!
|
|
|
|
else
|
|
|
|
a(href="/courses/teachers") Teachers, click here!
|
|
|
|
br
|
|
|
|
|
2015-11-19 18:26:45 -05:00
|
|
|
h1.text-center Adventurers, welcome to our Hour of Code!
|
|
|
|
|
|
|
|
#main-content
|
2015-11-20 16:36:50 -05:00
|
|
|
.well.text-center
|
2015-11-20 21:22:52 -05:00
|
|
|
if !me.isAnonymous()
|
|
|
|
p
|
|
|
|
strong.spr Logged in as:
|
|
|
|
strong= me.get('name') || me.get('email')
|
|
|
|
|
|
|
|
p
|
|
|
|
span.spr This isn't you?
|
|
|
|
a#log-out-link Logout
|
|
|
|
|
|
|
|
hr
|
|
|
|
|
2015-11-20 16:36:50 -05:00
|
|
|
if !view.lastLevel
|
2015-11-19 18:26:45 -05:00
|
|
|
p
|
|
|
|
strong Ready to play?
|
|
|
|
|
|
|
|
p
|
|
|
|
button#start-new-game-btn.btn.btn-success.btn-lg Start New Game
|
2015-11-20 16:36:50 -05:00
|
|
|
else
|
2015-11-19 18:26:45 -05:00
|
|
|
|
|
|
|
p
|
|
|
|
strong Hi adventurer, welcome back!
|
|
|
|
p
|
|
|
|
a#continue-playing-btn.btn.btn-default(href=view.continuePlayingLink()) Continue playing
|
|
|
|
p
|
2015-11-20 16:36:50 -05:00
|
|
|
em.spr
|
|
|
|
span.spr Last Played:
|
|
|
|
span= view.lastLevel.get('name').replace('Course :', '')
|
2015-11-19 18:26:45 -05:00
|
|
|
|
|
|
|
p
|
|
|
|
strong More options:
|
|
|
|
p
|
|
|
|
button#start-new-game-btn.btn.btn-default Start New Game
|
|
|
|
|
2015-11-20 16:36:50 -05:00
|
|
|
if me.isAnonymous()
|
2015-11-19 18:26:45 -05:00
|
|
|
p - OR -
|
|
|
|
|
|
|
|
p
|
2015-11-20 10:52:35 -05:00
|
|
|
button#log-in-btn.btn.btn-default(data-i18n="login.log_in")
|
2015-11-19 18:26:45 -05:00
|
|
|
|
|
|
|
#begin-hoc-area.hide
|
|
|
|
h2.text-center(data-i18n="common.loading")
|
|
|
|
.progress.progress-striped.active
|
|
|
|
.progress-bar(style="width: 100%")
|
|
|
|
|
|
|
|
|
|
|
|
h3.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
|
2015-12-01 15:38:54 -05:00
|
|
|
li how to defeat an ogre (important life skills!)
|