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

75 lines
2 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")
span(data-i18n="courses.teachers_click")
span !
2015-12-01 15:38:54 -05:00
else
a(href="/courses/teachers")
span(data-i18n="courses.teachers_click")
span !
2015-12-01 15:38:54 -05:00
br
h1.text-center(data-i18n="courses.welcome_to_hoc")
2015-12-01 17:25:54 -05:00
#main-content
.well.text-center
if !me.isAnonymous()
p
strong.spr(data-i18n="courses.logged_in_as")
strong= me.get('name') || me.get('email')
2015-12-01 17:25:54 -05:00
p
span.spr(data-i18n="courses.not_you")
a#log-out-link(data-i18n="login.logout")
2015-12-01 17:25:54 -05:00
hr
2015-12-01 17:25:54 -05:00
if !view.lastLevel
p
strong(data-i18n="courses.ready_to_play")
2015-12-01 17:25:54 -05:00
p
button#start-new-game-btn.btn.btn-success.btn-lg(data-i18n="courses.start_new_game")
else
2015-12-01 17:25:54 -05:00
p
strong(data-i18n="courses.welcome_back")
p
button#continue-playing-btn.btn.btn-success.btn-lg(data-i18n="courses.continue_playing")
p
em.spr
span(data-i18n="clans.last_played")
span.spr :
span= view.lastLevel.get('name').replace('Course :', '')
2015-12-01 17:25:54 -05:00
if me.isAnonymous()
p
strong(data-i18n="courses.more_options")
2015-12-01 17:25:54 -05:00
p
button#start-new-game-btn.btn.btn-default.btn-lg(data-i18n="courses.start_new_game")
2015-12-01 17:25:54 -05:00
if me.isAnonymous()
p
span.spr -
span.text-uppercase(data-i18n="general.or")
span.spl -
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.text-uppercase(data-i18n="courses.play_now_learn_header")
ul
li(data-i18n="courses.play_now_learn_1")
li(data-i18n="courses.play_now_learn_2")
li(data-i18n="courses.play_now_learn_3")
li(data-i18n="courses.play_now_learn_4")