2014-11-07 12:08:30 -05:00
|
|
|
.hinge.hinge-0
|
|
|
|
.hinge.hinge-1
|
|
|
|
.hinge.hinge-2
|
|
|
|
.hinge.hinge-3
|
2014-07-23 08:38:12 -04:00
|
|
|
|
2014-07-14 12:38:55 -04:00
|
|
|
.spell-tool-buttons
|
2015-10-28 18:45:34 -04:00
|
|
|
.btn.btn-small.btn-illustrated.btn-warning.reload-code(data-i18n="[title]play_level.tome_reload_method", title="Reload original code for this method")
|
2014-11-07 19:04:35 -05:00
|
|
|
.glyphicon.glyphicon-repeat
|
|
|
|
span.spl(data-i18n="play_level.reload") Reload
|
2016-05-26 20:46:49 -04:00
|
|
|
|
2016-03-11 10:59:45 -05:00
|
|
|
if me.level() >= 15
|
2014-11-07 19:04:35 -05:00
|
|
|
.btn.btn-small.btn-illustrated.fullscreen-code(title=maximizeShortcutVerbose)
|
|
|
|
.glyphicon.glyphicon-fullscreen
|
|
|
|
.glyphicon.glyphicon-resize-small
|
2016-05-26 20:46:49 -04:00
|
|
|
|
2016-03-11 10:59:45 -05:00
|
|
|
if codeLanguage === 'javascript' && me.level() >= 15
|
2014-11-07 19:04:35 -05:00
|
|
|
.btn.btn-small.btn-illustrated.beautify-code(title=beautifyShortcutVerbose)
|
|
|
|
.glyphicon.glyphicon-magnet
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2016-05-26 20:46:49 -04:00
|
|
|
if view.hintsState && view.hintsState.get('total') > 0
|
|
|
|
.btn.btn-small.btn-illustrated.hints-button
|
|
|
|
span(data-i18n="play_level.hints")
|
|
|
|
|
2016-07-16 01:14:25 -04:00
|
|
|
if view.options.level.isType('game-dev', 'web-dev')
|
|
|
|
- var url = '/play/' + view.options.level.get('type') + '-level/' + view.options.level.get('slug') + '/' + view.options.session.id;
|
|
|
|
- if (view.options.courseID) url += '?course=' + view.options.courseID;
|
|
|
|
a.btn.btn-small.btn-illustrated(href=url)
|
|
|
|
if view.options.level.isType('game-dev')
|
|
|
|
span(data-i18n='') Game
|
|
|
|
else
|
|
|
|
span(data-i18n='') Webpage
|
|
|
|
|
2016-05-26 20:46:49 -04:00
|
|
|
.clearfix
|