diff options
Diffstat (limited to 'js/panels/css-panel/style-sheet.reel/style-sheet.html')
-rw-r--r-- | js/panels/css-panel/style-sheet.reel/style-sheet.html | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/js/panels/css-panel/style-sheet.reel/style-sheet.html b/js/panels/css-panel/style-sheet.reel/style-sheet.html new file mode 100644 index 00000000..661a1582 --- /dev/null +++ b/js/panels/css-panel/style-sheet.reel/style-sheet.html | |||
@@ -0,0 +1,86 @@ | |||
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="style-sheet.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" : {"#" : "style-sheet-container"}, | ||
18 | "disableCheckbox": {"@": "disableCheckbox"}, | ||
19 | "nameText": {"@": "name"}, | ||
20 | "mediaInput": {"@": "mediaInput"}, | ||
21 | "editButton": {"@": "editButton"}, | ||
22 | "editView": {"#": "style-sheet-edit"} | ||
23 | } | ||
24 | }, | ||
25 | "disableCheckbox": { | ||
26 | "module": "js/components/checkbox.reel", | ||
27 | "name": "Checkbox", | ||
28 | "properties": { | ||
29 | "element": { "#": "disable-checkbox" }, | ||
30 | "checked": true | ||
31 | } | ||
32 | }, | ||
33 | "name": { | ||
34 | "module": "montage/ui/dynamic-text.reel", | ||
35 | "name": "DynamicText", | ||
36 | "properties": { | ||
37 | "element": {"#": "sheet-name"}, | ||
38 | "defaultText": "Style sheet" | ||
39 | }, | ||
40 | "bindings": { | ||
41 | "value": { | ||
42 | "boundObject": {"@": "owner"}, | ||
43 | "boundObjectPropertyPath": "name", | ||
44 | "onewway": true | ||
45 | } | ||
46 | } | ||
47 | }, | ||
48 | "mediaInput": { | ||
49 | "module": "js/components/textfield.reel", | ||
50 | "name": "TextField", | ||
51 | "properties": { | ||
52 | "element": {"#": "media-input"} | ||
53 | } | ||
54 | }, | ||
55 | "editButton": { | ||
56 | "module": "montage/ui/button.reel", | ||
57 | "name": "Button", | ||
58 | "properties": { | ||
59 | "element": {"#": "editbutton"}, | ||
60 | "identifier": "editButton", | ||
61 | "label": " " | ||
62 | }, | ||
63 | "listeners": [{ | ||
64 | "type": "action", | ||
65 | "listener": {"@": "owner"} | ||
66 | }] | ||
67 | |||
68 | } | ||
69 | } | ||
70 | </script> | ||
71 | </head> | ||
72 | <body> | ||
73 | <div id="style-sheet-container" class="style-sheet-container"> | ||
74 | <div id="disable-checkbox"></div> | ||
75 | <span id="sheet-name"></span> | ||
76 | <label>Media:</label> | ||
77 | <div id="media-input"></div> | ||
78 | <button data-montage-id="editbutton"></button> | ||
79 | <div data-montage-id="style-sheet-edit" class="style-sheet-edit"> | ||
80 | <button data-montage-id="delete-button" class="nj-skinned">Delete</button> | ||
81 | <button data-montage-id="import-button" class="nj-skinned">Import</button> | ||
82 | <button data-montage-id="disable-button" class="nj-skinned">Disable</button> | ||
83 | </div> | ||
84 | </div> | ||
85 | </body> | ||
86 | </html> \ No newline at end of file | ||