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.html81
1 files changed, 81 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..56e965c2
--- /dev/null
+++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.html
@@ -0,0 +1,81 @@
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 "substitution": {"@": "substitution" }
20 }
21 },
22 "substitution": {
23 "module": "montage/ui/substitution.reel",
24 "name": "Substitution",
25 "properties": {
26 "element": {"#": "sub-panel-slot"},
27 "switchComponents": {
28 "rules": {"@": "ruleListContainer"},
29 "computed": {"@": "computedStyleView"}
30 }
31 },
32 "bindings": {
33 "switchValue": {
34 "boundObject": {"@": "owner"},
35 "boundObjectPropertyPath": "contentPanel",
36 "oneway": true
37 }
38 }
39 },
40 "stylesViewDelegate" : {
41 "module": "js/panels/css-panel/styles-view-mediator",
42 "name": "StylesViewMediator",
43 "properties": {
44 "ruleListContainer": {"@": "ruleListContainer"}
45 }
46 },
47 "ruleListContainer": {
48 "module": "js/panels/css-panel/rule-list-container.reel",
49 "name": "RuleListContainer"
50 },
51 "computedStyleView": {
52 "module": "js/panels/CSSPanel/ComputedStyleSubPanel.reel",
53 "name": "ComputedStyleSubPanel"
54 },
55 "toolbar": {
56 "module": "js/components/toolbar.reel",
57 "name": "Toolbar",
58 "properties": {
59 "element": {"#": "styles-view-toolbar"},
60 "delegate": {"@": "stylesViewDelegate" },
61 "buttons": [
62 {
63 "title": "Add",
64 "identifier": "add"
65 }
66 ]
67 }
68 }
69 }
70 </script>
71</head>
72<body>
73<div id="container" class="styles-view-container">
74 <h4 id="no-styles-message" class="panel-message">No styles to display.</h4>
75 <div id="sub-panel-slot" class="sub-panel-slot"></div>
76 <div class="styles-view-toolbar-container">
77 <div id="styles-view-toolbar"></div>
78 </div>
79</div>
80</body>
81</html> \ No newline at end of file