diff options
author | Ananya Sen | 2012-06-26 16:07:00 -0700 |
---|---|---|
committer | Ananya Sen | 2012-06-26 16:07:00 -0700 |
commit | 1d5372534d11c9c1b818ba5e7d67498c731e9ac6 (patch) | |
tree | bc09c9f08ac2faa955995a91a78337276a81eb77 /js/panels/binding-panel.reel/binding-panel.html | |
parent | 3391a8e6fd5df0d464edaffd98c2b3fde23acf5a (diff) | |
parent | 46174eb0ce93d660c8d2e9276fbdc4f9a03f056a (diff) | |
download | ninja-1d5372534d11c9c1b818ba5e7d67498c731e9ac6.tar.gz |
Merge branch 'refs/heads/ninja-internal-master' into bugfix-master
Conflicts:
js/ninja.reel/ninja.html
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/panels/binding-panel.reel/binding-panel.html')
-rw-r--r-- | js/panels/binding-panel.reel/binding-panel.html | 80 |
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 | ||