codecombat/app/templates/play/level/play-game-dev-level-view.jade

39 lines
1.1 KiB
Text
Raw Normal View History

.container-fluid
.row
.col-xs-9
#canvas-wrapper
canvas(width=924, height=589)#webgl-surface
canvas(width=924, height=589)#normal-surface
.col-xs-3#info-col.style-flat
if view.state.get('errorMessage')
.alert.alert-danger= view.state.get('errorMessage')
else if view.state.get('loading')
2016-07-17 03:53:17 -04:00
h1.m-y-1(data-i18n="common.loading")
.progress
.progress-bar(style="width: #{view.state.get('progress')}")
else
h1.m-y-1 Info
ul
li
2016-07-17 03:53:17 -04:00
b
span(data-i18n="play_level.level")
span= ': '
| #{view.level.get('name')}
li
2016-07-17 03:53:17 -04:00
b
span(data-i18n="game_dev.creator")
span= ': '
| #{view.session.get('creatorName')}
- var playing = view.state.get('playing')
.m-y-3
if playing
2016-07-17 03:53:17 -04:00
button#play-btn.btn.btn-lg.btn-burgandy(data-i18n="play_level.restart")
else
2016-07-17 03:53:17 -04:00
button#play-btn.btn.btn-lg.btn-navy(data-i18n="common.play")