diff options
author | Eric Guzman | 2012-02-22 23:16:23 -0800 |
---|---|---|
committer | Eric Guzman | 2012-02-22 23:16:23 -0800 |
commit | 1c528b42f9b1c9be9197921586388c3a3bdc5c17 (patch) | |
tree | 3d8ffc876a9730bf8fa3e0b394922ccbebae15ef /js/panels/css-panel/styles-view-container.reel/styles-view-container.html | |
parent | bd7bc833895391e4974b8746f31f63ba70689df3 (diff) | |
download | ninja-1c528b42f9b1c9be9197921586388c3a3bdc5c17.tar.gz |
CSS Panel Update - Adding montage objects for css panel
Diffstat (limited to 'js/panels/css-panel/styles-view-container.reel/styles-view-container.html')
-rw-r--r-- | js/panels/css-panel/styles-view-container.reel/styles-view-container.html | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/js/panels/css-panel/styles-view-container.reel/styles-view-container.html b/js/panels/css-panel/styles-view-container.reel/styles-view-container.html new file mode 100644 index 00000000..4b2bf60a --- /dev/null +++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.html | |||
@@ -0,0 +1,75 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
6 | </copyright> --> | ||
7 | <html lang="en"> | ||
8 | <head> | ||
9 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
10 | <script type="text/montage-serialization"> | ||
11 | { | ||
12 | "owner": { | ||
13 | "module" : "js/panels/css-panel/styles-view-container.reel/styles-view-container.reel", | ||
14 | "name" : "StylesViewContainer", | ||
15 | "properties" : { | ||
16 | "element" : {"#" : "container"} | ||
17 | } | ||
18 | }, | ||
19 | "substitution": { | ||
20 | "module": "montage/ui/substitution.reel", | ||
21 | "name": "Substitution", | ||
22 | "properties": { | ||
23 | "element": {"#": "sub-panel-slot"}, | ||
24 | "switchComponents": { | ||
25 | "rules": {"@": "ruleListCollection"}, | ||
26 | "computed": {"@": "computedStyleView"} | ||
27 | } | ||
28 | }, | ||
29 | "bindings": { | ||
30 | "switchValue": { | ||
31 | "boundObject": {"@": "owner"}, | ||
32 | "boundObjectPropertyPath": "contentPanel", | ||
33 | "oneway": true | ||
34 | } | ||
35 | } | ||
36 | }, | ||
37 | "ruleListCollection": { | ||
38 | "module" : "montage/ui/list.reel", | ||
39 | "name": "List", | ||
40 | "properties": { }, | ||
41 | "bindings": { | ||
42 | "list": { | ||
43 | "boundObject": {"@": "owner" }, | ||
44 | "boundObjectPropertyPath": "displayedList" | ||
45 | } | ||
46 | } | ||
47 | }, | ||
48 | "computedStyleView": { | ||
49 | "module": "js/panels/CSSPanel/ComputedStyleSubPanel.reel", | ||
50 | "name": "ComputedStyleSubPanel", | ||
51 | "properties": { } | ||
52 | }, | ||
53 | "noDocumentCondition": { | ||
54 | "module": "montage/ui/condition.reel", | ||
55 | "name": "Condition", | ||
56 | "properties": { | ||
57 | "element": {"#": "no-document-message" } | ||
58 | }, | ||
59 | "bindings": { | ||
60 | "condition": { | ||
61 | "boundObject": {"@": "owner" }, | ||
62 | "boundObjectPropertyPath": "noDocumentCondition", | ||
63 | "oneway": true | ||
64 | } | ||
65 | } | ||
66 | } | ||
67 | } | ||
68 | </script> | ||
69 | </head> | ||
70 | <body> | ||
71 | <div id="sub-panel-slot" class="styles-view-container"> | ||
72 | <h3 id="no-document-message">No document loaded. Please Open or Create a new document.</h3> | ||
73 | </div> | ||
74 | </body> | ||
75 | </html> \ No newline at end of file | ||