aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout/document-bar.reel/document-bar.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-07-17 23:34:57 -0700
committerValerio Virgillito2012-07-17 23:34:57 -0700
commit8f78cb1377009dabde95f4a81d5090b79b9de0da (patch)
tree4b984909acba691eac8376e3b60412f632e3cdc3 /js/components/layout/document-bar.reel/document-bar.html
parent4f737b24c19ddc02d20f9783b8b080fc6ef11142 (diff)
downloadninja-8f78cb1377009dabde95f4a81d5090b79b9de0da.tar.gz
menu design update and bug fixes - Moved Preview to the document bar
- Redesigned the menu and improved DOM structure. - Removed un-used entires - Fixed layout and snap entries - Moved the preview button to the document bar. - Fixes for bugs: #1750, #1867, #1876, #1895 Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/layout/document-bar.reel/document-bar.html')
-rwxr-xr-xjs/components/layout/document-bar.reel/document-bar.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.html b/js/components/layout/document-bar.reel/document-bar.html
index 69f8107f..9e5e4eb2 100755
--- a/js/components/layout/document-bar.reel/document-bar.html
+++ b/js/components/layout/document-bar.reel/document-bar.html
@@ -68,6 +68,21 @@ POSSIBILITY OF SUCH DAMAGE.
68 "condition": {"<-": "@owner.disabled"} 68 "condition": {"<-": "@owner.disabled"}
69 } 69 }
70 }, 70 },
71
72 "menuItemButton": {
73 "prototype": "montage/ui/native/button.reel",
74 "properties": {
75 "element": {"#": "previewButton"},
76 "identifier": "preview",
77 "label": "Preview"
78 },
79 "listeners": [
80 {
81 "type": "action",
82 "listener": {"@": "owner"}
83 }
84 ]
85 },
71 86
72 "owner": { 87 "owner": {
73 "prototype": "js/components/layout/document-bar.reel", 88 "prototype": "js/components/layout/document-bar.reel",
@@ -108,6 +123,14 @@ POSSIBILITY OF SUCH DAMAGE.
108 <button class="btn_view">Code</button> 123 <button class="btn_view">Code</button>
109 124
110 </section> 125 </section>
126
127 <section class="inactive">
128
129 <div class="viewicon viewPreview"></div>
130
131 <button data-montage-id="previewButton" class="btn_view preview"></button>
132
133 </section>
111 134
112 <div data-montage-id="disabledCondition" class="panelDisabled"></div> 135 <div data-montage-id="disabledCondition" class="panelDisabled"></div>
113 136