aboutsummaryrefslogtreecommitdiff
path: root/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-05 12:55:44 -0700
committerArmen Kesablyan2012-06-05 12:55:44 -0700
commit5ecbbe908a5527dc42d461c8ddfd33b4c7e0ba4f (patch)
tree76d796ac65f603746a5618849fd891f835677ad5 /js/panels/binding/edit-binding-view.reel/edit-binding-view.html
parentcd089f6692934a68bda7c303928a7c78dd13ac07 (diff)
parent9db979373f80162d463e23d400e97f37c75267d1 (diff)
downloadninja-5ecbbe908a5527dc42d461c8ddfd33b4c7e0ba4f.tar.gz
Merge branch 'binding' of https://github.com/dhg637/ninja-internal into binding
Diffstat (limited to 'js/panels/binding/edit-binding-view.reel/edit-binding-view.html')
-rw-r--r--js/panels/binding/edit-binding-view.reel/edit-binding-view.html103
1 files changed, 103 insertions, 0 deletions
diff --git a/js/panels/binding/edit-binding-view.reel/edit-binding-view.html b/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
new file mode 100644
index 00000000..1d502a3e
--- /dev/null
+++ b/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
@@ -0,0 +1,103 @@
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="edit-binding-view.css" type="text/css">
11 <script type="text/montage-serialization">
12 {
13 "owner": {
14 "prototype": "js/panels/binding/edit-binding-view.reel",
15 "properties": {
16 "element": {"#": "edit-binding"}
17 }
18 },
19 "objectsList" : {
20 "prototype": "montage/ui/controller/array-controller",
21 "bindings" : {
22 "content": {"<-": "@owner.objectsList"}
23 }
24 },
25 "sourceObjectSelect": {
26 "prototype": "montage/ui/select-input.reel",
27 "properties": {
28 "element": {"#": "sourceObjectSelect"},
29 "contentController": {"@": "objectsList"}
30
31 }
32 },
33 "boundObjectSelect": {
34 "prototype": "montage/ui/select-input.reel",
35 "properties": {
36 "element": {"#": "boundObjectSelect"},
37 "contentController": {"@": "objectsList"}
38
39 }
40 },
41 "sourceObjectPropertyPathField": {
42 "prototype": "js/components/hintable.reel",
43 "properties": {
44 "element": {"#": "so-pp"},
45 "identifier": "sourceProperty"
46 },
47 "bindings": {
48 "value": {"<-": "@owner.sourceObjectPropertyPath"}
49 },
50 "listeners" : [
51 {
52 "type": "change",
53 "listener": {"@": "owner"}
54 }
55 ]
56 },
57 "boundObjectPropertyPathField": {
58 "prototype": "js/components/hintable.reel",
59 "properties": {
60 "element": {"#": "bo-pp"},
61 "identifier": "boundProperty"
62 },
63 "bindings": {
64 "value": {"<-": "@owner.boundObjectPropertyPath"}
65 },
66 "listeners" : [
67 {
68 "type": "change",
69 "listener": {"@": "owner"}
70 }
71 ]
72 }
73
74 }
75 </script>
76</head>
77<body>
78<div data-montage-id="edit-binding" class="edit-binding-view">
79
80 <ul>
81 <li class="edit-source-object">
82 <label>Source Object:</label><select data-montage-id="sourceObjectSelect" class="nj-skinned"></select>
83 <br>
84 <label>Source Object Property Path:</label><span data-montage-id="so-pp" class="so-pp">Test</span>
85 </li>
86
87 <li class="edit-bound-object">
88 <label>Bound Object:</label><select data-montage-id="boundObjectSelect" class="nj-skinned"></select>
89 <br>
90 <label>Bound Object Property Path:</label><span data-montage-id="bo-pp" class="bo-pp">Test</span>
91 </li>
92
93 <li class="edit-general-properties">
94 <input data-montage-id="oneway-checkbox" type="checkbox" class="nj-skinned"><label>Oneway</label>
95 </li>
96 <li>
97 <label>Converter</label><span>Test</span>
98 </li>
99 </ul>
100
101</div>
102</body>
103</html> \ No newline at end of file