aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/styles-view-container.reel/styles-view-container.html
diff options
context:
space:
mode:
authorAnanya Sen2012-05-31 10:13:40 -0700
committerAnanya Sen2012-05-31 10:13:40 -0700
commit286457b4f23974277274ba388afd283e8aa085cb (patch)
treec21bf791e7c4f572d12f97987ea6b89e74da67fe /js/panels/css-panel/styles-view-container.reel/styles-view-container.html
parent4d9b481c58090e8f1fc7b0e9d73a81b0f49cccc8 (diff)
parentd49c909cff7f0c5e5d0b127ad84a2fefc6677dc6 (diff)
downloadninja-286457b4f23974277274ba388afd283e8aa085cb.tar.gz
Merge branch 'refs/heads/ninja-internal-master' into cut-copy-paste
Conflicts: js/controllers/styles-controller.js Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
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.html82
1 files changed, 82 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..93ac3793
--- /dev/null
+++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.html
@@ -0,0 +1,82 @@
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 "prototype" : "js/panels/css-panel/styles-view-container.reel",
15 "properties" : {
16 "element" : {"#" : "container"},
17 "ruleListContainer": {"@": "ruleListContainer" },
18 "computedStyleView": {"@": "computedStyleView" },
19 "substitution": {"@": "substitution" },
20 "delegate": {"@": "stylesViewDelegate"},
21 "toolbar": {"@": "toolbar"}
22 }
23 },
24 "substitution": {
25 "prototype": "montage/ui/substitution.reel",
26 "properties": {
27 "element": {"#": "sub-panel-slot"},
28 "switchComponents": {
29 "rules": {"@": "ruleListContainer"},
30 "computed": {"@": "computedStyleView"}
31 }
32 },
33 "bindings": {
34 "switchValue": { "<-": "@owner.contentPanel" }
35 }
36 },
37 "stylesViewDelegate" : {
38 "prototype": "js/panels/css-panel/styles-view-delegate",
39 "properties": {
40 "ruleListContainer": {"@": "ruleListContainer"}
41 }
42 },
43 "ruleListContainer": {
44 "prototype": "js/panels/css-panel/rule-list-container.reel",
45 "properties": {
46 "focusDelegate": {"@": "stylesViewDelegate"}
47 }
48 },
49 "computedStyleView": {
50 "prototype": "js/panels/CSSPanel/ComputedStyleSubPanel.reel"
51 },
52 "toolbar": {
53 "prototype": "js/components/toolbar.reel",
54 "properties": {
55 "element": {"#": "styles-view-toolbar"},
56 "delegate": {"@": "stylesViewDelegate" },
57 "buttons": [
58 {
59 "title": "Add",
60 "identifier": "add"
61 },
62 {
63 "title": "Computed Styles",
64 "identifier": "computed",
65 "leftAlign": true
66 }
67 ]
68 }
69 }
70 }
71 </script>
72</head>
73<body>
74<div id="container" class="styles-view-container">
75 <h4 data-montage-id="no-styles-message" class="panel-message">No styles to display.</h4>
76 <div data-montage-id="sub-panel-slot" class="sub-panel-slot"></div>
77 <div class="styles-view-toolbar-container">
78 <div data-montage-id="styles-view-toolbar"></div>
79 </div>
80</div>
81</body>
82</html> \ No newline at end of file