2014-01-03 13:32:13 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
2014-03-01 01:47:31 -05:00
|
|
|
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}
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-01-27 22:03:22 -05:00
|
|
|
img#portrait.img-thumbnail
|
2014-01-06 22:09:43 -05:00
|
|
|
|
2014-04-07 18:49:27 -04:00
|
|
|
button.btn.btn-secondary#history-button(data-i18n="general.version_history") Version History
|
2014-04-12 01:52:05 -04:00
|
|
|
button.btn.btn-primary#save-button(data-i18n="common.save", disabled=authorized === true ? undefined : "true") Save
|
2014-07-23 10:02:45 -04:00
|
|
|
button.btn.btn-primary#revert-button(data-toggle="coco-modal", data-target="modal/RevertModal", data-i18n="editor.revert", disabled=authorized === true ? undefined : "true") Revert
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
h3 Edit Thang Type: "#{thangType.attributes.name}"
|
|
|
|
|
|
|
|
ul.nav.nav-tabs
|
2014-04-12 01:33:09 -04:00
|
|
|
li.active
|
2014-01-03 13:32:13 -05:00
|
|
|
a(href="#editor-thang-main-tab-view", data-toggle="tab") Main
|
|
|
|
li
|
|
|
|
a(href="#editor-thang-components-tab-view", data-toggle="tab") Components
|
2014-01-06 22:09:43 -05:00
|
|
|
li
|
2014-01-21 01:37:47 -05:00
|
|
|
a(href="#editor-thang-spritesheets-view", data-toggle="tab") Spritesheets
|
2014-01-10 19:48:28 -05:00
|
|
|
li
|
|
|
|
a(href="#editor-thang-colors-tab-view", data-toggle="tab")#color-tab Colors
|
2014-04-12 01:33:09 -04:00
|
|
|
li
|
2014-04-11 17:19:17 -04:00
|
|
|
a(href="#editor-thang-patches-view", data-toggle="tab")#patches-tab Patches
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
div.tab-content
|
2014-01-10 19:48:28 -05:00
|
|
|
div.tab-pane#editor-thang-colors-tab-view
|
|
|
|
|
2014-04-12 01:33:09 -04:00
|
|
|
div.tab-pane#editor-thang-main-tab-view.active
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-01-06 22:09:43 -05:00
|
|
|
div.main-area.well
|
|
|
|
div.file-controls
|
|
|
|
select#animations-select
|
|
|
|
for animation in animations
|
|
|
|
option #{animation}
|
2014-03-03 16:21:56 -05:00
|
|
|
button(disabled=authorized === true ? undefined : "true").btn.btn-small.btn-primary#upload-button
|
2014-01-06 22:09:43 -05:00
|
|
|
i.icon-upload
|
2014-03-03 16:21:56 -05:00
|
|
|
button(disabled=authorized === true ? undefined : "true").btn.btn-small.btn-primary#clear-button
|
2014-01-06 22:09:43 -05:00
|
|
|
i.icon-remove
|
|
|
|
input#real-upload-button(type="file")
|
2014-01-06 22:33:36 -05:00
|
|
|
|
|
|
|
button.btn.btn-small.btn-primary#marker-button
|
|
|
|
i.icon-map-marker
|
|
|
|
|
2014-02-12 19:18:25 -05:00
|
|
|
button.btn.btn-small.btn-primary#end-button
|
|
|
|
i.icon-stop
|
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
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
|
2014-01-06 22:09:43 -05:00
|
|
|
|
|
|
|
.clearfix
|
|
|
|
|
|
|
|
div#settings-col
|
|
|
|
div#thang-type-treema
|
|
|
|
|
2014-01-06 22:33:36 -05:00
|
|
|
canvas#canvas(width="400", height="400")
|
2014-01-06 22:09:43 -05:00
|
|
|
|
|
|
|
.clearfix
|
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
div.tab-pane#editor-thang-components-tab-view
|
|
|
|
|
|
|
|
#thang-components-edit-view
|
|
|
|
|
2014-01-21 01:37:47 -05:00
|
|
|
div.tab-pane#editor-thang-spritesheets-view
|
2014-01-06 22:09:43 -05:00
|
|
|
|
2014-01-21 01:37:47 -05:00
|
|
|
div#spritesheets
|
2014-04-11 17:19:17 -04:00
|
|
|
|
2014-04-12 01:33:09 -04:00
|
|
|
div.tab-pane#editor-thang-patches-view
|
2014-04-11 17:19:17 -04:00
|
|
|
|
|
|
|
div.patches-view
|
2014-01-06 22:09:43 -05:00
|
|
|
|
2014-03-27 14:35:20 -04:00
|
|
|
div#error-view
|
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
.clearfix
|