mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -05:00
66 lines
2.1 KiB
Text
66 lines
2.1 KiB
Text
extends /templates/base-flat
|
|
|
|
block page_nav
|
|
include ../courses/teacher-dashboard-nav.jade
|
|
.do-not-print.container
|
|
span.backlink
|
|
a(href='/teachers/courses')
|
|
|< Back to Course Guides
|
|
.print
|
|
.btn.btn-md.btn-navy
|
|
a(href='javascript:window.print()')
|
|
span.glyphicon.glyphicon-print  
|
|
|Print this guide
|
|
|
|
block content
|
|
|
|
if !me.isTeacher() && !me.isAdmin()
|
|
a(href="/")
|
|
img#nav-logo(src="/images/pages/base/logo.png", title="CodeCombat - Learn how to code by playing a game", alt="CodeCombat")
|
|
h2.text-center(data-i18n="teacher.teacher_account_required")
|
|
else
|
|
.text-center
|
|
img(src="http://direct.codecombat.com/images/pages/base/logo.png")
|
|
if view.course.loaded
|
|
h1 #{i18n(view.course.attributes, 'name')}
|
|
h3 #{view.prettyLanguage}
|
|
i= i18n(view.course.attributes, 'description')
|
|
br
|
|
br
|
|
|
|
if view.levels
|
|
each level, index in view.levels.models
|
|
h2.page-break-before ##{view.levelNumberMap[level.get('original')]}. #{i18n(level.attributes, 'name')}
|
|
h3(data-i18n="teacher.level_overview_solutions")
|
|
i #{i18n(level.attributes, 'description')}
|
|
div
|
|
h4.text-center(data-i18n="common.intro")
|
|
if level.get('intro')
|
|
p!= level.get('intro')
|
|
else
|
|
.text-center
|
|
i(data-i18n="common.coming_soon")
|
|
h4.text-center(data-i18n="common.default_code")
|
|
if level.get('begin')
|
|
pre!= level.get('begin')
|
|
else
|
|
.text-center
|
|
i(data-i18n="common.coming_soon")
|
|
div.overview
|
|
br
|
|
h4.text-center(data-i18n="common.overview")
|
|
if level.get('guide')
|
|
p!= level.get('guide')
|
|
else
|
|
.text-center
|
|
i(data-i18n="common.coming_soon")
|
|
h4.text-center
|
|
span= level.get('name')
|
|
span.spl(data-i18n="common.solution")
|
|
if level.get('solution')
|
|
pre!= level.get('solution')
|
|
else
|
|
.text-center
|
|
i(data-i18n="common.coming_soon")
|
|
hr
|
|
br
|