mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 18:15:52 -05:00
30 lines
1 KiB
Text
30 lines
1 KiB
Text
h4.home
|
|
|
|
a(href=homeLink || "/")
|
|
i.icon-home.icon-white
|
|
span(data-i18n="play_level.home").home-text Home
|
|
|
|
h4.title
|
|
| #{worldName}
|
|
span.spl.spr.editor-dash -
|
|
a(href=editorLink, data-i18n="nav.editor", title="Open " + worldName + " in the Level Editor") Editor
|
|
if multiplayerSession
|
|
- found = false
|
|
- for (var i=0; i < multiplayerPlayers.length; i++) {
|
|
if (multiplayerPlayers.at(i).id !== meID)
|
|
span.spl.spr - vs #{multiplayerPlayers.at(i).get('name')}
|
|
- found = true
|
|
- break
|
|
- }
|
|
if !found
|
|
span.spl.spr - waiting...
|
|
|
|
button.btn.btn-xs.btn-inverse.banner#game-menu-button(title="Show game menu", data-i18n="play_level.game_menu") Game Menu
|
|
|
|
if showsGuide
|
|
button.btn.btn-xs.btn-success.banner#docs-button(title="Show level instructions", data-i18n="play_level.guide") Guide
|
|
|
|
if spectateGame
|
|
button.btn.btn-xs.btn-inverse.banner#next-game-button(title="Next Game", data-i18n="play_level.next-game") Next game!
|
|
|
|
button.btn.btn-xs.btn-primary.banner#level-done-button(data-i18n="play_level.done") Done
|