aboutsummaryrefslogtreecommitdiff
path: root/js/panels/binding-panel.reel/binding-panel.html
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-27 09:59:01 -0700
committerJose Antonio Marquez2012-06-27 09:59:01 -0700
commitca1e79d4dc36a55c47b6f8cb92069eafc95383b5 (patch)
tree2bf23250a605ca42a33f7bc75698357e0258d624 /js/panels/binding-panel.reel/binding-panel.html
parent245e70117f9605dc5603328c97685b2e5a10f220 (diff)
parent2ebf3e3ea24d0d580575dfa13d31588dac1de445 (diff)
downloadninja-ca1e79d4dc36a55c47b6f8cb92069eafc95383b5.tar.gz
Merge branch 'refs/heads/Ninja-Internal' into Document
Diffstat (limited to 'js/panels/binding-panel.reel/binding-panel.html')
-rw-r--r--js/panels/binding-panel.reel/binding-panel.html80
1 files changed, 80 insertions, 0 deletions
diff --git a/js/panels/binding-panel.reel/binding-panel.html b/js/panels/binding-panel.reel/binding-panel.html
new file mode 100644
index 00000000..fc80cd6e
--- /dev/null
+++ b/js/panels/binding-panel.reel/binding-panel.html
@@ -0,0 +1,80 @@
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 rel="stylesheet" href="binding-panel.css" type="text/css">
11 <script type="text/montage-serialization">
12 {
13 "owner": {
14 "prototype": "js/panels/binding-panel.reel",
15 "properties": {
16 "element": {"#": "binding"},
17 "editView": {"@": "editBinding"}
18 }
19 },
20 "arrayController": {
21 "prototype": "montage/ui/controller/array-controller",
22 "bindings": {
23 "content" : {"<-": "@owner.bindings" }
24 }
25 },
26 "repetition": {
27 "prototype": "montage/ui/repetition.reel",
28 "properties": {
29 "element": {"#": "bindings-list"},
30 "contentController": {"@": "arrayController"}
31 }
32 },
33 "bindingItem": {
34 "prototype": "js/panels/binding/binding-item.reel",
35 "properties": {
36 "element": {"#": "binding-item"}
37 },
38 "bindings": {
39 "bindingArgs": {"<-": "@repetition.objectAtCurrentIteration"},
40 "sourceObjectPropertyPath": {"<-": "@repetition.objectAtCurrentIteration.sourceObjectPropertyPath"},
41 "sourceObject": {"<-": "@repetition.objectAtCurrentIteration.sourceObject"},
42 "boundObjectPropertyPath": {"<-": "@repetition.objectAtCurrentIteration.boundObjectPropertyPath"},
43 "boundObject": {"<-": "@repetition.objectAtCurrentIteration.boundObject"},
44 "oneway": {"<-": "@repetition.objectAtCurrentIteration.oneway"}
45 }
46 },
47 "editBinding": {
48 "prototype": "js/panels/binding/edit-binding-view.reel",
49 "properties": {
50 "element": {"#": "edit-binding-view" }
51 }
52 },
53 "toolbar": {
54 "prototype": "js/components/toolbar.reel",
55 "properties": {
56 "element": {"#": "binding-panel-toolbar"},
57 "delegate": {"@": "owner" },
58 "buttons": [
59 {
60 "title": "Add",
61 "identifier": "add"
62 }
63 ]
64 }
65 }
66 }
67 </script>
68 </head>
69<body>
70 <div data-montage-id="binding" class="binding-panel">
71 <ul data-montage-id="bindings-list" class="bindings-list">
72 <li data-montage-id="binding-item" class="binding-item"></li>
73 </ul>
74 <div data-montage-id="binding-panel-toolbar-container" class="binding-panel-toolbar-container">
75 <div data-montage-id="binding-panel-toolbar"></div>
76 </div>
77 <div data-montage-id="edit-binding-view"></div>
78 </div>
79</body>
80</html> \ No newline at end of file