codecombat/app/templates/editor/level/edit.jade

88 lines
3.8 KiB
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
extends /templates/base
block outer_content
.outer-content
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
.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
li
a(href="#editor-level-patches", data-toggle="tab", data-i18n="resources.patches")#patches-tab Patches
ul.nav.navbar-nav.navbar-right
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
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
li(data-i18n="common.fork", disabled=anonymous ? "true": undefined).btn.btn-primary.navbar-btn#fork-level-start-button Fork
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")
| More
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
li
2014-04-07 18:49:27 -04:00
a(href='https://github.com/codecombat/codecombat/wiki/Artisan-Home', data-i18n="editor.wiki") Wiki
li
2014-04-07 18:49:27 -04:00
a(href='http://www.hipchat.com/g3plnOKqa', data-i18n="editor.live_chat") Live Chat
li
2014-04-07 18:49:27 -04:00
a(href='http://discourse.codecombat.com/category/artisan', data-i18n="nav.forum") Forum
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
span(data-i18n="editor.level_some_options").dropdown-menu-header Some Options?
2014-01-03 13:32:13 -05:00
li.divider
li
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
div.tab-pane.active#editor-level-thangs-tab-view
2014-01-03 13:32:13 -05:00
div.tab-pane#editor-level-scripts-tab-view
2014-01-03 13:32:13 -05:00
div.tab-pane#editor-level-settings-tab-view
2014-01-03 13:32:13 -05:00
div.tab-pane#editor-level-components-tab-view
2014-01-03 13:32:13 -05:00
div.tab-pane#editor-level-systems-tab-view
div.tab-pane#editor-level-patches
.patches-view
2014-01-03 13:32:13 -05:00
div#error-view
2014-01-03 13:32:13 -05:00
block footer