aboutsummaryrefslogtreecommitdiff
path: root/js/panels/binding/binding-item.reel/binding-item.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/binding/binding-item.reel/binding-item.html')
-rw-r--r--js/panels/binding/binding-item.reel/binding-item.html101
1 files changed, 101 insertions, 0 deletions
diff --git a/js/panels/binding/binding-item.reel/binding-item.html b/js/panels/binding/binding-item.reel/binding-item.html
new file mode 100644
index 00000000..26901f85
--- /dev/null
+++ b/js/panels/binding/binding-item.reel/binding-item.html
@@ -0,0 +1,101 @@
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-item.css" type="text/css">
11 <script type="text/montage-serialization">
12 {
13 "owner": {
14 "prototype": "js/panels/binding/binding-item.reel",
15 "properties": {
16 "element": {"#": "binding-item"},
17 "editButton": {"@": "editButton" },
18 "directionToggleButton": {"@": "directionToggleButton" }
19 }
20 },
21 "soProperty": {
22 "prototype": "montage/ui/dynamic-text.reel",
23 "properties": {
24 "element": {"#": "so-property"}
25 },
26 "bindings": {
27 "value": {"<-": "@owner.sourceObjectPropertyPath"}
28 }
29 },
30 "soObject": {
31 "prototype": "montage/ui/dynamic-text.reel",
32 "properties": {
33 "element": {"#": "so-object"}
34 },
35 "bindings": {
36 "value": {"<-": "@owner.sourceObjectLabel"}
37 }
38 },
39 "boProperty" : {
40 "prototype": "montage/ui/dynamic-text.reel",
41 "properties": {
42 "element": {"#": "bo-property"}
43 },
44 "bindings": {
45 "value": {"<-": "@owner.boundObjectPropertyPath"}
46 }
47 },
48 "boObject": {
49 "prototype": "montage/ui/dynamic-text.reel",
50 "properties": {
51 "element": {"#": "bo-object"}
52 },
53 "bindings": {
54 "value": {"<-": "@owner.boundObjectLabel"}
55 }
56 },
57 "editButton": {
58 "prototype": "montage/ui/native/button.reel",
59 "properties": {
60 "element": {"#": "edit-button"},
61 "identifier": "editButton",
62 "label": " "
63 },
64 "listeners": [{
65 "type": "action",
66 "listener": {"@": "owner"}
67 }]
68
69 },
70 "directionToggleButton": {
71 "prototype": "montage/ui/native/button.reel",
72 "properties": {
73 "element": {"#": "direction-toggle-button"},
74 "identifier": "directionToggleButton",
75 "label": " "
76 },
77 "listeners": [{
78 "type": "action",
79 "listener": {"@": "owner"}
80 }]
81
82 }
83
84 }
85 </script>
86</head>
87<body>
88<li data-montage-id="binding-item" class="binding-item">
89 <div data-montage-id="sourceObject" class="source-object">
90 <span data-montage-id="so-property" class="so-property"></span>
91 <span data-montage-id="so-object" class="so-object-identifier"></span>
92 </div>
93 <button data-montage-id="direction-toggle-button" class="direction-toggle-button"></button>
94 <div data-montage-id="boundObject" class="bound-object">
95 <span data-montage-id="bo-property" class="bo-property"></span>
96 <span data-montage-id="bo-object" class="bo-object-identifier"></span>
97 </div>
98 <button data-montage-id="edit-button" class="binding-edit-button"></button>
99</li>
100</body>
101</html> \ No newline at end of file