aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/styles-view-container.reel/styles-view-container.html
diff options
context:
space:
mode:
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.html91
1 files changed, 91 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..9868f486
--- /dev/null
+++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.html
@@ -0,0 +1,91 @@
1<!DOCTYPE html>
2<!-- <copyright>
3This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
4No 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 <link href="styles-view-container.css" rel="stylesheet" type="text/css">
11 <script type="text/montage-serialization">
12 {
13 "owner": {
14 "module" : "js/panels/css-panel/styles-view-container.reel",
15 "name" : "StylesViewContainer",
16 "properties" : {
17 "element" : {"#" : "container"},
18 "ruleListContainer": {"@": "ruleListContainer" },
19 "computedStyleView": {"@": "computedStyleView" },
20 "substitution": {"@": "substitution" },
21 "toolbar": {"@": "toolbar"}
22 }
23 },
24 "substitution": {
25 "module": "montage/ui/substitution.reel",
26 "name": "Substitution",
27 "properties": {
28 "element": {"#": "sub-panel-slot"},
29 "switchComponents": {
30 "rules": {"@": "ruleListContainer"},
31 "computed": {"@": "computedStyleView"}
32 }
33 },
34 "bindings": {
35 "switchValue": {
36 "boundObject": {"@": "owner"},
37 "boundObjectPropertyPath": "contentPanel",
38 "oneway": true
39 }
40 }
41 },
42 "stylesViewDelegate" : {
43 "module": "js/panels/css-panel/styles-view-delegate",
44 "name": "StylesViewMediator",
45 "properties": {
46 "ruleListContainer": {"@": "ruleListContainer"}
47 }
48 },
49 "ruleListContainer": {
50 "module": "js/panels/css-panel/rule-list-container.reel",
51 "name": "RuleListContainer",
52 "properties": {
53 "focusDelegate": {"@": "stylesViewDelegate"}
54 }
55 },
56 "computedStyleView": {
57 "module": "js/panels/CSSPanel/ComputedStyleSubPanel.reel",
58 "name": "ComputedStyleSubPanel"
59 },
60 "toolbar": {
61 "module": "js/components/toolbar.reel",
62 "name": "Toolbar",
63 "properties": {
64 "element": {"#": "styles-view-toolbar"},
65 "delegate": {"@": "stylesViewDelegate" },
66 "buttons": [
67 {
68 "title": "Add",
69 "identifier": "add"
70 },
71 {
72 "title": "Computed Styles",
73 "identifier": "computed",
74 "leftAlign": true
75 }
76 ]
77 }
78 }
79 }
80 </script>
81</head>
82<body>
83<div id="container" class="styles-view-container">
84 <h4 id="no-styles-message" class="panel-message">No styles to display.</h4>
85 <div id="sub-panel-slot" class="sub-panel-slot"></div>
86 <div class="styles-view-toolbar-container">
87 <div id="styles-view-toolbar"></div>
88 </div>
89</div>
90</body>
91</html> \ No newline at end of file