mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-20 20:42:44 -05:00
53579b2632
Conflicts: app/templates/editor/level/save.jade app/templates/editor/thang/edit.jade
95 lines
2.8 KiB
Text
95 lines
2.8 KiB
Text
extends /templates/base
|
|
|
|
block content
|
|
div
|
|
ol.breadcrumb
|
|
li
|
|
a(href="/editor", data-i18n="editor.main_title") CodeCombat Editors
|
|
li
|
|
a(href="/editor/thang", data-i18n="editor.thang_title") Thang Editor
|
|
li.active
|
|
| #{thangType.attributes.name}
|
|
|
|
img#portrait.img-thumbnail
|
|
|
|
button.btn.btn-secondary#history-button(data-i18n="general.version_history") Version History
|
|
button.btn.btn-primary#save-button(data-i18n="common.save", disabled=authorized === true ? undefined : "true") Save
|
|
button.btn.btn-primary#revert-button(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert", disabled=authorized === true ? undefined : "true") Revert
|
|
|
|
h3 Edit Thang Type: "#{thangType.attributes.name}"
|
|
|
|
ul.nav.nav-tabs
|
|
li.active
|
|
a(href="#editor-thang-main-tab-view", data-toggle="tab") Main
|
|
li
|
|
a(href="#editor-thang-components-tab-view", data-toggle="tab") Components
|
|
li
|
|
a(href="#editor-thang-spritesheets-view", data-toggle="tab") Spritesheets
|
|
li
|
|
a(href="#editor-thang-colors-tab-view", data-toggle="tab")#color-tab Colors
|
|
li
|
|
a(href="#editor-thang-patches-view", data-toggle="tab")#patches-tab Patches
|
|
|
|
div.tab-content
|
|
div.tab-pane#editor-thang-colors-tab-view
|
|
|
|
div.tab-pane#editor-thang-main-tab-view.active
|
|
|
|
div.main-area.well
|
|
div.file-controls
|
|
select#animations-select
|
|
for animation in animations
|
|
option #{animation}
|
|
button(disabled=authorized === true ? undefined : "true").btn.btn-small.btn-primary#upload-button
|
|
i.icon-upload
|
|
button(disabled=authorized === true ? undefined : "true").btn.btn-small.btn-primary#clear-button
|
|
i.icon-remove
|
|
input#real-upload-button(type="file")
|
|
|
|
button.btn.btn-small.btn-primary#marker-button
|
|
i.icon-map-marker
|
|
|
|
button.btn.btn-small.btn-primary#end-button
|
|
i.icon-stop
|
|
|
|
div.slider-cell
|
|
| Rotation:
|
|
span.rotation-label
|
|
.selector#rotation-slider
|
|
div.slider-cell
|
|
| Scale:
|
|
span.scale-label
|
|
.selector#scale-slider
|
|
div.slider-cell
|
|
| Resolution:
|
|
span.resolution-label 4.0x
|
|
.selector#resolution-slider
|
|
div.slider-cell
|
|
| Health:
|
|
span.health-label 10hp
|
|
.selector#health-slider
|
|
|
|
.clearfix
|
|
|
|
div#settings-col
|
|
div#thang-type-treema
|
|
|
|
canvas#canvas(width="400", height="400")
|
|
|
|
.clearfix
|
|
|
|
div.tab-pane#editor-thang-components-tab-view
|
|
|
|
#thang-components-edit-view
|
|
|
|
div.tab-pane#editor-thang-spritesheets-view
|
|
|
|
div#spritesheets
|
|
|
|
div.tab-pane#editor-thang-patches-view
|
|
|
|
div.patches-view
|
|
|
|
div#error-view
|
|
|
|
.clearfix
|