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 | 127 |
1 files changed, 127 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..ca24487d --- /dev/null +++ b/js/panels/css-panel/style-sheet.reel/style-sheet.html | |||
@@ -0,0 +1,127 @@ | |||
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 | "nameText": {"@": "name"}, | ||
19 | "mediaInput": {"@": "mediaInput"}, | ||
20 | "editButton": {"@": "editButton"}, | ||
21 | "editView": {"#": "style-sheet-edit"}, | ||
22 | "disableButton": {"@": "disableButton"}, | ||
23 | "importButton": {"@": "importButton"}, | ||
24 | "deleteButton": {"@": "deleteButton"} | ||
25 | } | ||
26 | }, | ||
27 | "name": { | ||
28 | "module": "montage/ui/dynamic-text.reel", | ||
29 | "name": "DynamicText", | ||
30 | "properties": { | ||
31 | "element": {"#": "sheet-name"}, | ||
32 | "identifier": "nameText", | ||
33 | "defaultText": "Style sheet" | ||
34 | }, | ||
35 | "bindings": { | ||
36 | "value": { | ||
37 | "boundObject": {"@": "owner"}, | ||
38 | "boundObjectPropertyPath": "name", | ||
39 | "onewway": true | ||
40 | } | ||
41 | } | ||
42 | }, | ||
43 | "mediaInput": { | ||
44 | "module": "js/components/textfield.reel", | ||
45 | "name": "TextField", | ||
46 | "properties": { | ||
47 | "element": {"#": "media-input"} | ||
48 | } | ||
49 | }, | ||
50 | "editButton": { | ||
51 | "module": "montage/ui/button.reel", | ||
52 | "name": "Button", | ||
53 | "properties": { | ||
54 | "element": {"#": "edit-button"}, | ||
55 | "identifier": "editButton", | ||
56 | "label": " " | ||
57 | }, | ||
58 | "listeners": [{ | ||
59 | "type": "action", | ||
60 | "listener": {"@": "owner"} | ||
61 | }] | ||
62 | |||
63 | }, | ||
64 | "disableButton": { | ||
65 | "module": "montage/ui/button.reel", | ||
66 | "name": "Button", | ||
67 | "properties": { | ||
68 | "element": {"#": "disable-button"}, | ||
69 | "identifier": "disableButton", | ||
70 | "label": "Disable" | ||
71 | }, | ||
72 | "listeners": [{ | ||
73 | "type": "action", | ||
74 | "listener": {"@": "owner"} | ||
75 | }] | ||
76 | |||
77 | }, | ||
78 | "importButton": { | ||
79 | "module": "montage/ui/button.reel", | ||
80 | "name": "Button", | ||
81 | "properties": { | ||
82 | "element": {"#": "import-button"}, | ||
83 | "identifier": "importButton", | ||
84 | "label": "Import" | ||
85 | }, | ||
86 | "listeners": [{ | ||
87 | "type": "action", | ||
88 | "listener": {"@": "owner"} | ||
89 | }] | ||
90 | |||
91 | }, | ||
92 | "deleteButton": { | ||
93 | "module": "montage/ui/button.reel", | ||
94 | "name": "Button", | ||
95 | "properties": { | ||
96 | "element": {"#": "delete-button"}, | ||
97 | "identifier": "deleteButton", | ||
98 | "label": "Delete" | ||
99 | }, | ||
100 | "listeners": [{ | ||
101 | "type": "action", | ||
102 | "listener": {"@": "owner"} | ||
103 | }] | ||
104 | |||
105 | } | ||
106 | } | ||
107 | </script> | ||
108 | </head> | ||
109 | <body> | ||
110 | <div data-montage-id="style-sheet-container" class="style-sheet-container"> | ||
111 | <div class="ss-icon"></div> | ||
112 | <!--<div id="disable-checkbox"></div>--> | ||
113 | <span data-montage-id="sheet-name"></span> | ||
114 | <label>Media:</label> | ||
115 | <div data-montage-id="media-input"></div> | ||
116 | |||
117 | <div data-montage-id="style-sheet-edit" class="style-sheet-edit"> | ||
118 | |||
119 | <button data-montage-id="edit-button" class="ss-edit-button"></button> | ||
120 | <button data-montage-id="delete-button" class="ss-delete-button nj-skinned"></button> | ||
121 | <button data-montage-id="import-button" class="ss-import-button nj-skinned"></button> | ||
122 | <button data-montage-id="disable-button" class="ss-disable-button nj-skinned"></button> | ||
123 | |||
124 | </div> | ||
125 | </div> | ||
126 | </body> | ||
127 | </html> \ No newline at end of file | ||