aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-23 13:37:15 -0700
committerJose Antonio Marquez2012-05-23 13:37:15 -0700
commit16decc5726eafbb25675c61be6df85a378ac1fac (patch)
tree5590c4a20a5d9297d3e66a1d290db32f028047eb /js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html
parent27e6e1238ec1adb34aa396074e2559801c7e4314 (diff)
parent108764dbdaa0c040de9146c2d722b6e53830cd54 (diff)
downloadninja-16decc5726eafbb25675c61be6df85a378ac1fac.tar.gz
Merge branch 'refs/heads/Ninja-DOM-Architecture' into Document
Diffstat (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html')
-rw-r--r--js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html90
1 files changed, 90 insertions, 0 deletions
diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html
new file mode 100644
index 00000000..f203b61f
--- /dev/null
+++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html
@@ -0,0 +1,90 @@
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="css-style-rule.css" rel="stylesheet" type="text/css">
11 <script type="text/montage-serialization">
12 {
13 "owner": {
14 "prototype" : "js/panels/css-panel/rule-components/css-style-rule.reel",
15 "properties" : {
16 "element" : {"#" : "rule-item"},
17 "selectorField": {"@": "selector"},
18 "declarationComponent": {"@": "declaration"}
19 }
20 },
21 "sheetName": {
22 "prototype": "montage/ui/dynamic-text.reel",
23 "properties": {
24 "element": {"#": "style-sheet-name"}
25 },
26 "bindings": {
27 "value" : {"<-": "@owner.sheetName" }
28 }
29 },
30 "selector": {
31 "prototype": "js/components/hintable.reel",
32 "properties": {
33 "startOnEvent": "click",
34 "element": {"#": "rule-selector"}
35 },
36 "bindings": {
37 "value" : {"<<->":"@owner.selector" }
38 }
39 },
40 "declaration": {
41 "prototype": "js/panels/css-panel/style-declaration.reel",
42 "properties": {
43 "element": {"#": "declaration-list"}
44 },
45 "bindings": {
46 "focusDelegate" : {"<-": "@owner.focusDelegate" },
47 "declaration" : {"<-": "@owner._declaration" }
48
49 }
50 },
51 "sheetLink": {
52 "prototype": "montage/ui/anchor.reel",
53 "properties": {
54 "element": {"#": "style-sheet-name"}
55 }
56 }
57 }
58 </script>
59 <script type="text/json">
60 "declaration": {
61 "module": "js/panels/css-panel/declaration.reel",
62 "name": "Declaration",
63 "properties": {
64 "element": {"#": "declaration-list"}
65 },
66 "bindings": {
67 "focusDelegate" : {
68 "boundObject": {"@": "owner"},
69 "boundObjectPropertyPath": "focusDelegate",
70 "oneway": true
71 },
72 "declaration" : {
73 "boundObject": {"@": "owner"},
74 "boundObjectPropertyPath": "_declaration",
75 "oneway": true
76 }
77 }
78 },
79 </script>
80</head>
81<body>
82<li data-montage-id="rule-item" class="css-style-rule-item">
83 <div class="style-rule-heading">
84 <a href="#" id="style-sheet-name" class="style-sheet-name"></a>
85 <span id="rule-selector" class="nj-css-selector"></span>
86 </div>
87 <dl id="declaration-list"></dl>
88</li>
89</body>
90</html> \ No newline at end of file