2014-09-20 01:15:58 -04:00
|
|
|
#hero-carousel.carousel.slide(data-interval=0)
|
|
|
|
.carousel-indicator-container
|
|
|
|
ol.carousel-indicators
|
|
|
|
for hero, index in heroes
|
2014-09-26 05:28:54 -04:00
|
|
|
li(data-hero-id=hero.get('original'), title=hero.get('name'), data-slide-to=index, data-target="#hero-carousel", class="hero-indicator" + (hero.locked ? " locked" : ""))
|
2014-09-24 22:14:22 -04:00
|
|
|
.hero-avatar
|
2014-09-26 05:28:54 -04:00
|
|
|
if hero.locked
|
2014-09-24 22:14:22 -04:00
|
|
|
img.lock-indicator(src="/images/pages/game-menu/lock.png")
|
2014-09-20 01:15:58 -04:00
|
|
|
|
|
|
|
.carousel-inner
|
|
|
|
for hero in heroes
|
|
|
|
- var info = heroInfo[hero.get('slug')]
|
2014-09-26 05:28:54 -04:00
|
|
|
div(class="item hero-item" + (hero.locked ? " locked" : ""), data-hero-id=hero.get('original'))
|
2014-09-20 01:15:58 -04:00
|
|
|
canvas.hero-canvas
|
2014-10-14 12:54:18 -04:00
|
|
|
.hero-feature-image
|
|
|
|
img
|
2014-09-20 01:15:58 -04:00
|
|
|
.hero-stats
|
|
|
|
h2= info.fullName
|
|
|
|
p
|
|
|
|
span(data-i18n="choose_hero.status") Status
|
|
|
|
span.spr :
|
2014-09-26 05:28:54 -04:00
|
|
|
if hero.locked
|
|
|
|
| #{info.status}
|
|
|
|
else
|
|
|
|
| Available
|
2014-09-20 01:15:58 -04:00
|
|
|
p
|
|
|
|
span(data-i18n="choose_hero.weapons") Weapons
|
|
|
|
span.spr :
|
|
|
|
| #{info.weapons}
|
|
|
|
p
|
|
|
|
span(data-i18n="choose_hero.health") Health
|
|
|
|
span.spr :
|
|
|
|
| #{info.health}
|
|
|
|
p
|
|
|
|
span(data-i18n="choose_hero.speed") Speed
|
|
|
|
span.spr :
|
|
|
|
| #{info.speed}
|
|
|
|
a.carousel-control.left(role="button", data-slide="prev", href="#hero-carousel")
|
|
|
|
span.glyphicon.glyphicon-chevron-left
|
|
|
|
a.carousel-control.right(role="button", data-slide="next", href="#hero-carousel")
|
|
|
|
span.glyphicon.glyphicon-chevron-right
|
|
|
|
|
|
|
|
|
|
|
|
.form
|
|
|
|
.form-group.select-group
|
|
|
|
label.control-label(for="option-code-language", data-i18n="choose_hero.programming_language") Programming Language
|
|
|
|
select#option-code-language(name="code-language")
|
2014-09-20 19:04:13 -04:00
|
|
|
for option in codeLanguages
|
|
|
|
option(value=option.id, selected=codeLanguage === option.id)= option.name
|
2014-09-20 01:15:58 -04:00
|
|
|
span.help-block(data-i18n="choose_hero.programming_language_description") Which programming language do you want to use?
|
2014-08-10 19:27:33 -04:00
|
|
|
|
2014-09-20 01:15:58 -04:00
|
|
|
if level
|
|
|
|
.form-group.select-group
|
|
|
|
label.control-label(for="#restart-level-confirm-button", data-i18n="play_level.reload_title") Reload All Code?
|
|
|
|
button(data-dismiss="modal", data-i18n="play_level.reload_confirm").btn.btn-sm.btn-danger#restart-level-confirm-button Reload All
|
|
|
|
span.help-block(data-i18n="play_level.reload_really") Are you sure you want to reload this level back to the beginning?
|
2014-08-12 12:13:23 -04:00
|
|
|
|
|
|
|
|
|
|
|
|