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

52 lines
1.8 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="editor.level_component_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
li.dropdown-header Actions
li
a#component-watch-button
span.watch
span.glyphicon.glyphicon-eye-open
span.spl Watch
span.unwatch.secret
span.glyphicon.glyphicon-eye-close
span.spl Unwatch
2014-07-14 20:18:48 -04:00
if !me.get('anonymous')
li#create-new-component-button
a(data-i18n="editor.level_component_b_new") Create New Component
li.divider
li.dropdown-header 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
.patches-view