diff options
Diffstat (limited to 'js/components/toolbar.reel/toolbar.html')
-rw-r--r-- | js/components/toolbar.reel/toolbar.html | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/js/components/toolbar.reel/toolbar.html b/js/components/toolbar.reel/toolbar.html new file mode 100644 index 00000000..53c6627a --- /dev/null +++ b/js/components/toolbar.reel/toolbar.html | |||
@@ -0,0 +1,73 @@ | |||
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 href="toolbar.css" rel="stylesheet" type="text/css"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "owner": { | ||
14 | "module" : "js/panels/css-panel/style-sheet.reel", | ||
15 | "name" : "StyleSheet", | ||
16 | "properties" : { | ||
17 | "element" : {"#" : "toolbar-container"}, | ||
18 | "repetition": {"@": "buttonList" } | ||
19 | } | ||
20 | }, | ||
21 | |||
22 | "buttonList": { | ||
23 | "module": "montage/ui/repetition.reel", | ||
24 | "name": "Repetition", | ||
25 | "properties": { | ||
26 | "element": {"#": "repetition"} | ||
27 | }, | ||
28 | "bindings": { | ||
29 | "objects" : { | ||
30 | "boundObject": {"@": "owner"}, | ||
31 | "boundObjectPropertyPath": "buttons", | ||
32 | "oneway": true | ||
33 | } | ||
34 | |||
35 | } | ||
36 | }, | ||
37 | |||
38 | "button": { | ||
39 | "module": "montage/ui/button.reel", | ||
40 | "name": "Button", | ||
41 | "properties": { | ||
42 | "element": {"#": "button" }, | ||
43 | "label": " " | ||
44 | }, | ||
45 | "bindings": { | ||
46 | "label" : { | ||
47 | "boundObject": {"@": "buttonList"}, | ||
48 | "boundObjectPropertyPath": "objectAtCurrentIteration.title", | ||
49 | "oneway": true | ||
50 | }, | ||
51 | "identifier": { | ||
52 | "boundObject": {"@": "buttonList"}, | ||
53 | "boundObjectPropertyPath": "objectAtCurrentIteration.identifier", | ||
54 | "oneway": true | ||
55 | }, | ||
56 | "sourceObject": { | ||
57 | "boundObject": {"@": "buttonList"}, | ||
58 | "boundObjectPropertyPath": "objectAtCurrentIteration", | ||
59 | "oneway": true | ||
60 | } | ||
61 | } | ||
62 | } | ||
63 | } | ||
64 | </script> | ||
65 | </head> | ||
66 | <body> | ||
67 | <div id="toolbar-container" class="toolbar-container"> | ||
68 | <ul data-montage-id="repetition"> | ||
69 | <li><button data-montage-id="button" class="toolbar-button"></button></li> | ||
70 | </ul> | ||
71 | </div> | ||
72 | </body> | ||
73 | </html> \ No newline at end of file | ||