aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/declaration.reel/declaration.html
diff options
context:
space:
mode:
authorEric Guzman2012-03-12 15:29:37 -0700
committerEric Guzman2012-03-12 15:29:37 -0700
commit7a28932ba8a7517bbaaabe1f5edf678416aafc9c (patch)
treefa1cb39de4a3bf9bc3a5a7c5db043e55cee64975 /js/panels/css-panel/declaration.reel/declaration.html
parentec862af55e5c3d564b37eac2744a1a6815f81f4d (diff)
downloadninja-7a28932ba8a7517bbaaabe1f5edf678416aafc9c.tar.gz
CSS Panel - Adding declaration, style (tree leaf), and style shorthand (tree branch) components
Diffstat (limited to 'js/panels/css-panel/declaration.reel/declaration.html')
-rw-r--r--js/panels/css-panel/declaration.reel/declaration.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/js/panels/css-panel/declaration.reel/declaration.html b/js/panels/css-panel/declaration.reel/declaration.html
new file mode 100644
index 00000000..1f680997
--- /dev/null
+++ b/js/panels/css-panel/declaration.reel/declaration.html
@@ -0,0 +1,57 @@
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 <script type="text/montage-serialization">
11 {
12 "owner": {
13 "module" : "js/panels/css-panel/declaration.reel",
14 "name" : "Declaration",
15 "properties" : {
16 "element" : {"#" : "container"}
17 }
18 },
19 "styleShorthand": {
20 "module": "js/panels/css-panel/style-shorthand.reel",
21 "name": "StyleShorthand"
22 },
23 "treeController": {
24 "module": "js/controllers/tree-controller",
25 "name": "TreeController",
26 "properties" : {
27 "branchKey" : "properties",
28 "labelKey" : "name",
29
30 "delegate": {"@": "owner" }
31 },
32 "bindings": {
33 "content": {
34 "boundObject": {"@": "owner"},
35 "boundObjectPropertyPath": "styleTree"
36 }
37 }
38 },
39 "treeView" : {
40 "module" : "js/components/treeview/treeview.reel",
41 "name" : "Treeview",
42 "properties" : {
43 "element" : {"#": "declaration-list"},
44 "branchComponent" : {"@": "styleShorthand" },
45 "contentController": {"@": "treeController"},
46 "showRoot" : false
47 }
48 }
49 }
50 </script>
51</head>
52<body>
53<div id="container">
54 <dl id="declaration-list" class="declaration-list"></dl>
55</div>
56</body>
57</html> \ No newline at end of file