2016-03-15 18:51:59 -04:00
|
|
|
if view.showAds()
|
|
|
|
// TODO: loading this multiple times yields script error:
|
|
|
|
// Uncaught TagError: adsbygoogle.push() error: All ins elements in the DOM with class=adsbygoogle already have ads in them.
|
|
|
|
.ad-container
|
|
|
|
script(async, src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js")
|
|
|
|
ins.adsbygoogle(style="display:inline-block;width:728px;height:90px", data-ad-client="ca-pub-6640930638193614", data-ad-slot="5527096883")
|
|
|
|
script.
|
|
|
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
2014-03-14 20:06:08 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
.game-container
|
|
|
|
#level-loading-view
|
2014-08-27 20:26:56 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
.level-content
|
|
|
|
#control-bar-view
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#fullscreen-editor-background-screen(title="Click to minimize the code editor")
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#code-area
|
|
|
|
#code-area-gradient.gradient
|
|
|
|
#tome-view
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#game-area
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#canvas-wrapper
|
|
|
|
canvas(width=924, height=589)#webgl-surface
|
|
|
|
canvas(width=924, height=589)#normal-surface
|
2016-07-14 15:34:22 -04:00
|
|
|
|
2016-07-14 21:07:36 -04:00
|
|
|
#web-surface-view
|
2016-03-15 18:51:59 -04:00
|
|
|
#ascii-surface
|
|
|
|
#canvas-left-gradient.gradient
|
|
|
|
#canvas-top-gradient.gradient
|
|
|
|
#goals-view
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#level-flags-view
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#gold-view
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#problem-alert-view
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#level-chat-view
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#multiplayer-status-view
|
2015-08-20 14:57:47 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#duel-stats-view
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#playback-view
|
2015-03-25 19:47:11 -04:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#thang-hud
|
2014-11-08 14:35:25 -05:00
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#level-dialogue-view
|
2014-09-22 18:34:25 -04:00
|
|
|
|
2016-07-28 16:39:58 -04:00
|
|
|
|
|
|
|
button.btn.btn-lg.btn-warning.banner.header-font#stop-real-time-playback-button(title="Stop real-time playback")
|
|
|
|
if view.level && view.level.isType('game-dev')
|
2016-08-10 15:45:41 -04:00
|
|
|
span(data-i18n="play_game_dev_level.back_to_coding")
|
2016-07-28 16:39:58 -04:00
|
|
|
else
|
|
|
|
span(data-i18n="play_level.skip")
|
|
|
|
|
2016-08-08 14:49:38 -04:00
|
|
|
#how-to-play-game-dev-panel.panel.panel-default.hide.style-flat
|
2016-07-28 16:39:58 -04:00
|
|
|
.panel-heading
|
2016-08-10 15:45:41 -04:00
|
|
|
h3.panel-title(data-i18n="play_game_dev_level.how_to_play_title")
|
|
|
|
|
|
|
|
.panel-body!= view.howToPlayText
|
2015-02-06 14:17:48 -05:00
|
|
|
|
2016-05-26 20:46:49 -04:00
|
|
|
.hints-view.hide
|
|
|
|
|
2016-03-15 18:51:59 -04:00
|
|
|
#level-footer-shadow
|
|
|
|
#level-footer-background
|
|
|
|
|
|
|
|
if !me.get('anonymous')
|
|
|
|
#play-footer(class=me.isPremium() ? "premium" : "")
|
|
|
|
p(class='footer-link-text').picoctf-hide
|
|
|
|
a.contact-link(title='Send CodeCombat a message', tabindex=-1, data-i18n="nav.contact") Contact
|
2015-02-06 19:54:45 -05:00
|
|
|
|