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()
|
2015-12-08 15:05:08 -05:00
|
|
|
a(href="/teachers")
|
|
|
|
span(data-i18n="courses.teachers_click")
|
|
|
|
span !
|
2015-12-01 15:38:54 -05:00
|
|
|
else
|
2015-12-08 15:05:08 -05:00
|
|
|
a(href="/courses/teachers")
|
|
|
|
span(data-i18n="courses.teachers_click")
|
|
|
|
span !
|
2015-12-01 15:38:54 -05:00
|
|
|
br
|
|
|
|
|
2015-12-08 15:05:08 -05:00
|
|
|
h1.text-center(data-i18n="courses.welcome_to_hoc")
|
2015-12-01 17:25:54 -05:00
|
|
|
|
2015-11-19 18:26:45 -05:00
|
|
|
#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
|
2015-12-08 15:05:08 -05:00
|
|
|
strong.spr(data-i18n="courses.logged_in_as")
|
2015-11-20 21:22:52 -05:00
|
|
|
strong= me.get('name') || me.get('email')
|
2015-12-01 17:25:54 -05:00
|
|
|
|
2015-11-20 21:22:52 -05:00
|
|
|
p
|
2015-12-08 15:05:08 -05:00
|
|
|
span.spr(data-i18n="courses.not_you")
|
|
|
|
a#log-out-link(data-i18n="login.logout")
|
2015-12-01 17:25:54 -05:00
|
|
|
|
2015-11-20 21:22:52 -05:00
|
|
|
hr
|
2015-12-01 17:25:54 -05:00
|
|
|
|
2015-11-20 16:36:50 -05:00
|
|
|
if !view.lastLevel
|
2015-11-19 18:26:45 -05:00
|
|
|
p
|
2015-12-08 15:05:08 -05:00
|
|
|
strong(data-i18n="courses.ready_to_play")
|
2015-12-01 17:25:54 -05:00
|
|
|
|
2015-11-19 18:26:45 -05:00
|
|
|
p
|
2015-12-08 15:05:08 -05:00
|
|
|
button#start-new-game-btn.btn.btn-success.btn-lg(data-i18n="courses.start_new_game")
|
2015-11-20 16:36:50 -05:00
|
|
|
else
|
2015-12-01 17:25:54 -05:00
|
|
|
|
2015-11-19 18:26:45 -05:00
|
|
|
p
|
2015-12-08 15:05:08 -05:00
|
|
|
strong(data-i18n="courses.welcome_back")
|
2015-11-19 18:26:45 -05:00
|
|
|
p
|
2015-12-08 15:05:08 -05:00
|
|
|
button#continue-playing-btn.btn.btn-success.btn-lg(data-i18n="courses.continue_playing")
|
2015-11-19 18:26:45 -05:00
|
|
|
p
|
2015-11-20 16:36:50 -05:00
|
|
|
em.spr
|
2015-12-08 15:05:08 -05:00
|
|
|
span(data-i18n="clans.last_played")
|
|
|
|
span.spr :
|
2015-11-20 16:36:50 -05:00
|
|
|
span= view.lastLevel.get('name').replace('Course :', '')
|
2015-12-01 17:25:54 -05:00
|
|
|
|
|
|
|
if me.isAnonymous()
|
|
|
|
p
|
2015-12-08 15:05:08 -05:00
|
|
|
strong(data-i18n="courses.more_options")
|
2015-12-01 17:25:54 -05:00
|
|
|
p
|
2015-12-08 15:05:08 -05:00
|
|
|
button#start-new-game-btn.btn.btn-default.btn-lg(data-i18n="courses.start_new_game")
|
2015-12-01 17:25:54 -05:00
|
|
|
|
2015-11-20 16:36:50 -05:00
|
|
|
if me.isAnonymous()
|
2015-12-08 15:05:08 -05:00
|
|
|
p
|
|
|
|
span.spr -
|
|
|
|
span.text-uppercase(data-i18n="general.or")
|
|
|
|
span.spl -
|
2015-12-01 17:25:54 -05:00
|
|
|
|
2015-11-19 18:26:45 -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
|
|
|
|
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%")
|
2015-12-01 17:25:54 -05:00
|
|
|
|
|
|
|
|
2015-12-08 15:05:08 -05:00
|
|
|
h3.text-center.text-uppercase(data-i18n="courses.play_now_learn_header")
|
2015-11-19 18:26:45 -05:00
|
|
|
ul
|
2015-12-08 15:05:08 -05:00
|
|
|
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")
|