codecombat/app/templates/courses/hour-of-code-view.jade

67 lines
1.6 KiB
Text
Raw Normal View History

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
h1.text-center Adventurers, welcome to our Hour of Code!
2015-12-01 17:25:54 -05:00
#main-content
.well.text-center
if !me.isAnonymous()
p
strong.spr Logged in as:
strong= me.get('name') || me.get('email')
2015-12-01 17:25:54 -05:00
p
2015-12-02 17:30:28 -05:00
span.spr Not you?
a#log-out-link Logout
2015-12-01 17:25:54 -05:00
hr
2015-12-01 17:25:54 -05:00
if !view.lastLevel
p
strong Ready to play?
2015-12-01 17:25:54 -05:00
p
button#start-new-game-btn.btn.btn-success.btn-lg Start New Game
else
2015-12-01 17:25:54 -05:00
p
strong Hi adventurer, welcome back!
p
2015-12-02 17:28:40 -05:00
a#continue-playing-btn.btn.btn-success.btn-lg(href=view.continuePlayingLink()) Continue Playing
p
em.spr
span.spr Last Played:
span= view.lastLevel.get('name').replace('Course :', '')
2015-12-01 17:25:54 -05:00
if me.isAnonymous()
p
strong More options:
p
2015-12-02 17:28:40 -05:00
button#start-new-game-btn.btn.btn-default.btn-lg Start New Game
2015-12-01 17:25:54 -05:00
if me.isAnonymous()
p - OR -
2015-12-01 17:25:54 -05:00
p
2015-12-02 17:28:40 -05:00
button#log-in-btn.btn.btn-default.btn-lg(data-i18n="login.log_in")
2015-12-01 17:25:54 -05:00
#begin-hoc-area.hide
h2.text-center(data-i18n="common.loading")
.progress.progress-striped.active
.progress-bar(style="width: 100%")
2015-12-01 17:25:54 -05:00
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!)