codecombat/app/templates/play/level/control_bar.jade

34 lines
1.2 KiB
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
h4.home
a(href=homeLink || "/")
2014-01-03 13:32:13 -05:00
i.icon-home.icon-white
2014-09-06 22:50:31 -04:00
span(data-i18n="play_level.home").home-text Home
2014-01-03 13:32:13 -05:00
h4.title
| #{worldName}
2014-09-06 22:50:31 -04:00
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...
2014-01-03 13:32:13 -05:00
button.btn.btn-xs.btn-warning.banner#stop-real-time-playback-button(title="Stop real-time playback", data-i18n="play_level.stop") Stop
button.btn.btn-xs.btn-inverse.banner#game-menu-button(title="Show game menu", data-i18n="play_level.game_menu") Game Menu
2014-02-26 20:52:08 -05:00
button.btn.btn-xs.btn-success.banner#docs-button(title="Show level instructions", data-i18n="play_level.guide") Guide
2014-01-03 13:32:13 -05:00
2014-03-12 20:51:09 -04:00
if spectateGame
button.btn.btn-xs.btn-inverse.banner#next-game-button(title="Next Game", data-i18n="play_level.next-game") Next game!
2014-01-03 13:32:13 -05:00
button.btn.btn-xs.btn-primary.banner#level-done-button(data-i18n="play_level.done") Done