codecombat/app/templates/editor/level/component/level-component-edit-view.jade

55 lines
2 KiB
Text
Raw Normal View History

nav.navbar.navbar-default(role='navigation')
ul.nav.navbar-nav.nav-tabs
li.active
a(href="#component-code" data-toggle="tab" data-i18n="general.code")#component-code-tab Code
li
a(href="#component-config-schema" data-toggle="tab" data-i18n="editor.level_component_config_schema")#component-config-schema-tab Config Schema
li
a(href="#component-settings" data-toggle="tab" data-i18n="play.settings")#component-settings-tab Settings
li
a(href="#component-patches" data-toggle="tab" data-i18n="resources.patches")#component-patches-tab Patches
.navbar-header
span.navbar-brand= editTitle
ul.nav.navbar-nav.navbar-right
2014-08-31 00:16:01 -04:00
if !component.hasWriteAccess()
li#patch-component-button
a(data-i18n="[title]common.submit_patch")
span.glyphicon-floppy-disk.glyphicon
li.dropdown
a(data-toggle='dropdown')
span.glyphicon-chevron-down.glyphicon
ul.dropdown-menu
2015-01-04 08:20:43 -05:00
li.dropdown-header(data-i18n="common.actions") Actions
li
a#component-watch-button
span.watch
span.glyphicon.glyphicon-eye-open
2015-01-04 08:20:43 -05:00
span.spl(data-i18n="common.watch") Watch
span.unwatch.secret
span.glyphicon.glyphicon-eye-close
2015-01-04 08:20:43 -05:00
span.spl(data-i18n="common.unwatch") Unwatch
2014-07-14 20:18:48 -04:00
if !me.get('anonymous')
li#create-new-component-button
2015-01-05 18:14:44 -05:00
a(data-i18n="editor.level_component_btn_new") Create New Component
li
a(data-i18n="editor.pop_i18n")#pop-component-i18n-button Populate i18n
li.divider
2015-01-04 08:20:43 -05:00
li.dropdown-header(data-i18n="common.info") Info
2014-04-17 14:29:12 -04:00
li#component-history-button
a(data-i18n="general.version_history") Version History
2014-01-03 13:32:13 -05:00
2014-01-28 00:06:27 -05:00
.tab-content
.tab-pane.active#component-code
2014-01-28 00:06:27 -05:00
#component-code-editor
.tab-pane#component-config-schema
2014-01-28 00:06:27 -05:00
#config-schema-treema
.tab-pane#component-settings
2014-01-28 00:06:27 -05:00
#edit-component-treema
2014-04-16 13:42:32 -04:00
.tab-pane#component-patches
2015-01-04 08:20:43 -05:00
.patches-view