aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Materials/materials-popup.reel/materials-popup.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Materials/materials-popup.reel/materials-popup.html')
-rwxr-xr-xjs/panels/Materials/materials-popup.reel/materials-popup.html26
1 files changed, 24 insertions, 2 deletions
diff --git a/js/panels/Materials/materials-popup.reel/materials-popup.html b/js/panels/Materials/materials-popup.reel/materials-popup.html
index bac722cd..c2f3af4e 100755
--- a/js/panels/Materials/materials-popup.reel/materials-popup.html
+++ b/js/panels/Materials/materials-popup.reel/materials-popup.html
@@ -27,6 +27,21 @@
27 "label": "Cancel" 27 "label": "Cancel"
28 } 28 }
29 }, 29 },
30 "saveAsButton": {
31 "prototype": "montage/ui/button.reel",
32 "properties": {
33 "element": {"#": "mp_saveAs_btn"},
34 "label": "Save As..."
35 }
36 },
37 "resetButton": {
38 "prototype": "montage/ui/button.reel",
39 "properties": {
40 "element": {"#": "mp_reset_btn"},
41 "label": "Reset",
42 "enabled": false
43 }
44 },
30 "eventDelegator": { 45 "eventDelegator": {
31 "prototype": "montage/core/event/action-event-listener", 46 "prototype": "montage/core/event/action-event-listener",
32 "properties": { 47 "properties": {
@@ -79,7 +94,10 @@
79 "element": {"#": "materials_popup"}, 94 "element": {"#": "materials_popup"},
80 "okButton": {"@": "okButton"}, 95 "okButton": {"@": "okButton"},
81 "cancelButton": {"@": "cancelButton"}, 96 "cancelButton": {"@": "cancelButton"},
82 "materialTitle": {"#": "mp_title"} 97 "saveAsButton": {"@": "saveAsButton"},
98 "resetButton": {"@": "resetButton"},
99 "materialTitle": {"#": "mp_title"},
100 "previewCanvas": {"#": "mp_preview_canvas"}
83 } 101 }
84 } 102 }
85 } 103 }
@@ -91,15 +109,19 @@
91 <div data-montage-id="materials_popup" class="materials_popup"> 109 <div data-montage-id="materials_popup" class="materials_popup">
92 <div data-montage-id="mp_title" class="mp_title">Material Name</div> 110 <div data-montage-id="mp_title" class="mp_title">Material Name</div>
93 <hr /> 111 <hr />
94 <div data-montage-id="mp_preview" class="mp_preview">Preview Pane</div> 112 <div data-montage-id="mp_preview" class="mp_preview">
113 <canvas data-montage-id="mp_preview_canvas" width="200" height="100"/>
114 </div>
95 <hr /> 115 <hr />
96 <div data-montage-id="mp_properties_list" class="mp_properties_list"> 116 <div data-montage-id="mp_properties_list" class="mp_properties_list">
97 <div data-montage-id="mp_property" class="mp_property"></div> 117 <div data-montage-id="mp_property" class="mp_property"></div>
98 </div> 118 </div>
119 <button data-montage-id="mp_reset_btn" class="mp_reset_btn nj-skinned"></button>
99 <hr /> 120 <hr />
100 <div data-montage-id="mp_buttons" class="mp_buttons"> 121 <div data-montage-id="mp_buttons" class="mp_buttons">
101 <button data-montage-id="mp_cancel_btn" class="mp_cancel_btn nj-skinned"></button> 122 <button data-montage-id="mp_cancel_btn" class="mp_cancel_btn nj-skinned"></button>
102 <button data-montage-id="mp_ok_btn" class="mp_ok_btn nj-skinned"></button> 123 <button data-montage-id="mp_ok_btn" class="mp_ok_btn nj-skinned"></button>
124 <button data-montage-id="mp_saveAs_btn" class="mp_saveAs_btn nj-skinned"></button>
103 </div> 125 </div>
104 </div> 126 </div>
105 </body> 127 </body>