2015-11-03 19:41:06 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
2015-11-19 18:26:45 -05:00
|
|
|
h1.text-center Adventurers, welcome to our Hour of Code!
|
|
|
|
|
|
|
|
#main-content
|
|
|
|
if !view.lastLevel
|
|
|
|
.text-center
|
|
|
|
p
|
|
|
|
strong Ready to play?
|
|
|
|
|
|
|
|
p
|
|
|
|
button#start-new-game-btn.btn.btn-success.btn-lg Start New Game
|
|
|
|
|
|
|
|
p - OR -
|
|
|
|
|
|
|
|
p
|
|
|
|
button.btn.btn-default Sign In
|
|
|
|
|
|
|
|
else
|
|
|
|
.well.text-center
|
|
|
|
p
|
|
|
|
strong Hi adventurer, welcome back!
|
|
|
|
p
|
|
|
|
a#continue-playing-btn.btn.btn-default(href=view.continuePlayingLink()) Continue playing
|
|
|
|
p
|
|
|
|
em.spr Last Played:
|
|
|
|
span= view.lastLevel.get('name')
|
|
|
|
|
|
|
|
p
|
|
|
|
strong More options:
|
|
|
|
p
|
|
|
|
button#start-new-game-btn.btn.btn-default Start New Game
|
|
|
|
|
|
|
|
p - OR -
|
|
|
|
|
|
|
|
p
|
|
|
|
button.btn.btn-default Sign In
|
|
|
|
|
|
|
|
#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
|
|
|
|
li how to defeat an ogre (important life skills!)
|
|
|
|
|
|
|
|
//.container-fluid
|
|
|
|
// .row
|
|
|
|
// .col-md-6.text-center
|
|
|
|
// button#student-btn.btn.btn-lg.btn-success(data-i18n="courses.students_click")
|
|
|
|
// .col-md-6.text-center
|
|
|
|
// a.btn.btn-lg.btn-default(data-i18n="courses.teachers_click", href="/courses/teachers?hoc=true")
|