2014-01-03 13:32:13 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block outer_content
|
|
|
|
.outer-content
|
2014-01-30 14:37:40 -05:00
|
|
|
|
|
|
|
nav.navbar.navbar-default(role='navigation')#level-editor-top-nav
|
|
|
|
.container-fluid
|
|
|
|
ul.nav.navbar-nav
|
|
|
|
li
|
2014-04-07 18:49:27 -04:00
|
|
|
a(href="/editor/level", data-i18n="editor.back") Back
|
2014-01-30 14:37:40 -05:00
|
|
|
.navbar-header
|
|
|
|
span.navbar-brand
|
|
|
|
span(data-i18n="editor.level_title") Level Editor
|
|
|
|
span :
|
|
|
|
span.level-title #{level.attributes.name}
|
|
|
|
.collapse.navbar-collapse
|
|
|
|
ul.nav.navbar-nav.nav-tabs
|
|
|
|
|
|
|
|
li.active
|
|
|
|
a(href="#editor-level-thangs-tab-view", data-toggle="tab", data-i18n="editor.level_tab_thangs") Thangs
|
|
|
|
li
|
|
|
|
a(href="#editor-level-scripts-tab-view", data-toggle="tab", data-i18n="editor.level_tab_scripts") Scripts
|
|
|
|
li
|
|
|
|
a(href="#editor-level-settings-tab-view", data-toggle="tab", data-i18n="editor.level_tab_settings") Settings
|
|
|
|
li
|
|
|
|
a(href="#editor-level-components-tab-view", data-toggle="tab", data-i18n="editor.level_tab_components") Components
|
|
|
|
li
|
|
|
|
a(href="#editor-level-systems-tab-view", data-toggle="tab", data-i18n="editor.level_tab_systems") Systems
|
2014-04-12 11:48:49 -04:00
|
|
|
li
|
2014-04-15 18:09:36 -04:00
|
|
|
a(href="#editor-level-patches", data-toggle="tab")#patches-tab
|
|
|
|
span(data-i18n="resources.patches").spr Patches
|
|
|
|
- var patches = level.get('patches')
|
|
|
|
- patches = [1,2,3,3,4,5,6]
|
|
|
|
if patches && patches.length
|
|
|
|
span.badge= patches.length
|
2014-04-12 11:48:49 -04:00
|
|
|
|
2014-01-30 14:37:40 -05:00
|
|
|
ul.nav.navbar-nav.navbar-right
|
2014-04-15 18:09:36 -04:00
|
|
|
li#watch-button.btn.btn-primary.navbar-btn
|
|
|
|
span.watch
|
|
|
|
span.spr Watch
|
|
|
|
span.glyphicon.glyphicon-eye-open
|
|
|
|
span.unwatch.secret
|
|
|
|
span.spr Unwatch
|
|
|
|
span.glyphicon.glyphicon-eye-close
|
2014-03-08 19:13:30 -05:00
|
|
|
li(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert", disabled=authorized === true ? undefined : "true").btn.btn-primary.navbar-btn#revert-button Revert
|
2014-04-12 11:48:49 -04:00
|
|
|
if authorized
|
|
|
|
li(data-i18n="common.save").btn.btn-primary.navbar-btn#commit-level-start-button Save
|
|
|
|
else
|
|
|
|
li(data-i18n="common.patch").btn.btn-primary.navbar-btn#commit-level-patch-button Patch
|
2014-03-04 05:24:38 -05:00
|
|
|
li(data-i18n="common.fork", disabled=anonymous ? "true": undefined).btn.btn-primary.navbar-btn#fork-level-start-button Fork
|
2014-01-30 14:37:40 -05:00
|
|
|
li(title="⌃↩ or ⌘↩: Play preview of current level", data-i18n="common.play")#play-button.btn.btn-inverse.banner.navbar-btn Play!
|
|
|
|
|
|
|
|
li.divider
|
|
|
|
|
|
|
|
li.dropdown
|
2014-04-07 18:49:27 -04:00
|
|
|
a.dropdown-toggle(href='#', data-toggle='dropdown', data-i18n="editor.more")
|
2014-03-10 07:16:08 -04:00
|
|
|
| More
|
2014-01-30 14:37:40 -05:00
|
|
|
b.caret
|
|
|
|
ul.dropdown-menu
|
2014-03-12 10:22:15 -04:00
|
|
|
li#history-button
|
2014-03-11 14:33:27 -04:00
|
|
|
a(href='#', data-i18n="general.version_history") Version History
|
2014-01-30 14:37:40 -05:00
|
|
|
li
|
2014-04-07 18:49:27 -04:00
|
|
|
a(href='https://github.com/codecombat/codecombat/wiki/Artisan-Home', data-i18n="editor.wiki") Wiki
|
2014-01-30 14:37:40 -05:00
|
|
|
li
|
2014-04-07 18:49:27 -04:00
|
|
|
a(href='http://www.hipchat.com/g3plnOKqa', data-i18n="editor.live_chat") Live Chat
|
2014-01-30 14:37:40 -05:00
|
|
|
li
|
2014-04-07 18:49:27 -04:00
|
|
|
a(href='http://discourse.codecombat.com/category/artisan', data-i18n="nav.forum") Forum
|
2014-01-30 14:37:40 -05:00
|
|
|
li
|
|
|
|
a(data-toggle="coco-modal", data-target="modal/contact", data-i18n="nav.contact") Email
|
|
|
|
|
2014-01-28 16:16:50 -05:00
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
ul.dropdown-menu
|
|
|
|
li
|
2014-01-11 11:25:04 -05:00
|
|
|
span(data-i18n="editor.level_some_options").dropdown-menu-header Some Options?
|
2014-01-03 13:32:13 -05:00
|
|
|
li.divider
|
|
|
|
li
|
2014-01-19 12:43:55 -05:00
|
|
|
a(data-delay="1000", href="#", data-i18n="common.delay_1_sec") 1 second
|
|
|
|
a(data-delay="3000", href="#", data-i18n="common.delay_3_sec") 3 seconds
|
|
|
|
a(data-delay="5000", href="#", data-i18n="common.delay_5_sec") 5 seconds
|
|
|
|
a(data-delay="90019001", href="#", data-i18n="common.manual") Manual
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-01-28 00:06:27 -05:00
|
|
|
div.tab-content#level-editor-tabs
|
2014-01-28 15:27:11 -05:00
|
|
|
div.tab-pane.active#editor-level-thangs-tab-view
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-01-28 15:27:11 -05:00
|
|
|
div.tab-pane#editor-level-scripts-tab-view
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-01-28 15:27:11 -05:00
|
|
|
div.tab-pane#editor-level-settings-tab-view
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-01-28 15:27:11 -05:00
|
|
|
div.tab-pane#editor-level-components-tab-view
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-01-28 15:27:11 -05:00
|
|
|
div.tab-pane#editor-level-systems-tab-view
|
2014-04-12 11:48:49 -04:00
|
|
|
|
|
|
|
div.tab-pane#editor-level-patches
|
|
|
|
.patches-view
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-03-27 14:35:20 -04:00
|
|
|
div#error-view
|
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
block footer
|