diff options
author | Jose Antonio Marquez | 2012-07-16 14:50:50 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-07-16 14:50:50 -0700 |
commit | a402ae19732f7aeb53de27e3f25f72e9c42a453c (patch) | |
tree | 50deead3fd1264d70a98e202197b7f282c9af4be /js/components/layout/document-bar.reel/document-bar.html | |
parent | cdaeb7e05e4d59832b9896f6995e0163e3decf50 (diff) | |
download | ninja-a402ae19732f7aeb53de27e3f25f72e9c42a453c.tar.gz |
New: Added switching view functionality to document UI
This now let's you switch between code and design views in all documents opened that support design view. Code view for these documents is currently unsupported, so this is just to hook up the UI to the new methods. Code view will be added next.
Diffstat (limited to 'js/components/layout/document-bar.reel/document-bar.html')
-rwxr-xr-x | js/components/layout/document-bar.reel/document-bar.html | 8 |
1 files changed, 5 insertions, 3 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..fbd03221 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html | |||
@@ -73,7 +73,9 @@ POSSIBILITY OF SUCH DAMAGE. | |||
73 | "prototype": "js/components/layout/document-bar.reel", | 73 | "prototype": "js/components/layout/document-bar.reel", |
74 | "properties": { | 74 | "properties": { |
75 | "element": {"#": "documentBar"}, | 75 | "element": {"#": "documentBar"}, |
76 | "zoomControl": {"@": "hottext1"} | 76 | "zoomControl": {"@": "hottext1"}, |
77 | "btnDesign": {"#": "buttonDesign"}, | ||
78 | "btnCode": {"#": "buttonCode"} | ||
77 | } | 79 | } |
78 | } | 80 | } |
79 | } | 81 | } |
@@ -93,7 +95,7 @@ POSSIBILITY OF SUCH DAMAGE. | |||
93 | 95 | ||
94 | </section> | 96 | </section> |
95 | 97 | ||
96 | <section> | 98 | <section data-montage-id="buttonDesign"> |
97 | 99 | ||
98 | <div class="viewicon viewdesign"></div> | 100 | <div class="viewicon viewdesign"></div> |
99 | 101 | ||
@@ -101,7 +103,7 @@ POSSIBILITY OF SUCH DAMAGE. | |||
101 | 103 | ||
102 | </section> | 104 | </section> |
103 | 105 | ||
104 | <section class="inactive"> | 106 | <section data-montage-id="buttonCode"> |
105 | 107 | ||
106 | <div class="viewicon viewcode"></div> | 108 | <div class="viewicon viewcode"></div> |
107 | 109 | ||