diff options
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.html | 89 |
1 files changed, 89 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..bf101719 --- /dev/null +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html | |||
@@ -0,0 +1,89 @@ | |||
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 | <link href="css-style-rule.css" rel="stylesheet" type="text/css"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "owner": { | ||
14 | "module" : "js/panels/css-panel/rule-components/css-style-rule.reel", | ||
15 | "name" : "CssStyleRule", | ||
16 | "properties" : { | ||
17 | "element" : {"#" : "rule-item"}, | ||
18 | "selectorField": {"@": "selector"}, | ||
19 | "declarationComponent": {"@": "declaration"} | ||
20 | } | ||
21 | }, | ||
22 | "sheetName": { | ||
23 | "module": "montage/ui/dynamic-text.reel", | ||
24 | "name" : "DynamicText", | ||
25 | "properties": { | ||
26 | "element": {"#": "style-sheet-name"} | ||
27 | }, | ||
28 | "bindings": { | ||
29 | "value" : { | ||
30 | "boundObject": {"@": "owner"}, | ||
31 | "boundObjectPropertyPath": "sheetName", | ||
32 | "oneway": true | ||
33 | } | ||
34 | } | ||
35 | }, | ||
36 | "selector": { | ||
37 | "module": "js/components/hintable.reel", | ||
38 | "name" : "Hintable", | ||
39 | "properties": { | ||
40 | "startOnEvent": "click", | ||
41 | "element": {"#": "rule-selector"} | ||
42 | }, | ||
43 | "bindings": { | ||
44 | "value" : { | ||
45 | "boundObject": {"@": "owner"}, | ||
46 | "boundObjectPropertyPath": "selector", | ||
47 | "oneway": true | ||
48 | } | ||
49 | } | ||
50 | }, | ||
51 | "declaration": { | ||
52 | "module": "js/panels/css-panel/declaration.reel", | ||
53 | "name": "Declaration", | ||
54 | "properties": { | ||
55 | "element": {"#": "declaration-list"} | ||
56 | }, | ||
57 | "bindings": { | ||
58 | "focusDelegate" : { | ||
59 | "boundObject": {"@": "owner"}, | ||
60 | "boundObjectPropertyPath": "focusDelegate", | ||
61 | "oneway": true | ||
62 | }, | ||
63 | "declaration" : { | ||
64 | "boundObject": {"@": "owner"}, | ||
65 | "boundObjectPropertyPath": "_declaration", | ||
66 | "oneway": true | ||
67 | } | ||
68 | } | ||
69 | }, | ||
70 | "sheetLink": { | ||
71 | "module": "montage/ui/anchor.reel", | ||
72 | "name": "Anchor", | ||
73 | "properties": { | ||
74 | "element": {"#": "style-sheet-name"} | ||
75 | } | ||
76 | } | ||
77 | } | ||
78 | </script> | ||
79 | </head> | ||
80 | <body> | ||
81 | <li data-montage-id="rule-item" class="css-style-rule-item"> | ||
82 | <div class="style-rule-heading"> | ||
83 | <a href="#" id="style-sheet-name" class="style-sheet-name"></a> | ||
84 | <span id="rule-selector" class="nj-css-selector"></span> | ||
85 | </div> | ||
86 | <dl id="declaration-list"></dl> | ||
87 | </li> | ||
88 | </body> | ||
89 | </html> \ No newline at end of file | ||