diff options
author | Pushkar Joshi | 2012-05-31 17:16:21 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-05-31 17:16:21 -0700 |
commit | 8915a7109d918a2e69b0999ebaa2deb84811fef8 (patch) | |
tree | 19a8af74c58c9ea261f0842f36efdab959be3256 /js/panels/css-panel/style-sheet.reel/style-sheet.html | |
parent | eea0a556e44c2b60d3aaf6e46d2432d3e6303812 (diff) | |
parent | 06b609df1ff7833592faddbd8d7abb5b9f15a74d (diff) | |
download | ninja-8915a7109d918a2e69b0999ebaa2deb84811fef8.tar.gz |
Merge branch 'pentool' into brushtool
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 | 101 |
1 files changed, 101 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..7e27dd93 --- /dev/null +++ b/js/panels/css-panel/style-sheet.reel/style-sheet.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 href="style-sheet.css" rel="stylesheet" type="text/css"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "owner": { | ||
14 | "prototype" : "js/panels/css-panel/style-sheet.reel", | ||
15 | "properties" : { | ||
16 | "element" : {"#" : "style-sheet-container"}, | ||
17 | "nameText": {"@": "name"}, | ||
18 | "mediaInput": {"@": "mediaInput"}, | ||
19 | "editButton": {"@": "editButton"}, | ||
20 | "editView": {"#": "style-sheet-edit"}, | ||
21 | "disableButton": {"@": "disableButton"}, | ||
22 | "deleteButton": {"@": "deleteButton"} | ||
23 | } | ||
24 | }, | ||
25 | "name": { | ||
26 | "prototype": "montage/ui/dynamic-text.reel", | ||
27 | "properties": { | ||
28 | "element": {"#": "sheet-name"}, | ||
29 | "identifier": "nameText", | ||
30 | "defaultText": "Style sheet" | ||
31 | }, | ||
32 | "bindings": { | ||
33 | "value": {"<-": "@owner.name"} | ||
34 | } | ||
35 | }, | ||
36 | "mediaInput": { | ||
37 | "prototype": "js/components/textfield.reel[TextField]", | ||
38 | "properties": { | ||
39 | "element": {"#": "media-input"} | ||
40 | } | ||
41 | }, | ||
42 | "editButton": { | ||
43 | "prototype": "montage/ui/button.reel", | ||
44 | "properties": { | ||
45 | "element": {"#": "edit-button"}, | ||
46 | "identifier": "editButton", | ||
47 | "label": " " | ||
48 | }, | ||
49 | "listeners": [{ | ||
50 | "type": "action", | ||
51 | "listener": {"@": "owner"} | ||
52 | }] | ||
53 | |||
54 | }, | ||
55 | "disableButton": { | ||
56 | "prototype": "montage/ui/button.reel", | ||
57 | "properties": { | ||
58 | "element": {"#": "disable-button"}, | ||
59 | "identifier": "disableButton", | ||
60 | "label": "Disable" | ||
61 | }, | ||
62 | "listeners": [{ | ||
63 | "type": "action", | ||
64 | "listener": {"@": "owner"} | ||
65 | }] | ||
66 | |||
67 | }, | ||
68 | "deleteButton": { | ||
69 | "prototype": "montage/ui/button.reel", | ||
70 | "properties": { | ||
71 | "element": {"#": "delete-button"}, | ||
72 | "identifier": "deleteButton", | ||
73 | "label": "Delete" | ||
74 | }, | ||
75 | "listeners": [{ | ||
76 | "type": "action", | ||
77 | "listener": {"@": "owner"} | ||
78 | }] | ||
79 | |||
80 | } | ||
81 | } | ||
82 | </script> | ||
83 | </head> | ||
84 | <body> | ||
85 | <div data-montage-id="style-sheet-container" class="style-sheet-container"> | ||
86 | <div class="ss-icon"></div> | ||
87 | <!--<div id="disable-checkbox"></div>--> | ||
88 | <span data-montage-id="sheet-name"></span> | ||
89 | <label>Media:</label> | ||
90 | <div data-montage-id="media-input"></div> | ||
91 | |||
92 | <div data-montage-id="style-sheet-edit" class="style-sheet-edit"> | ||
93 | |||
94 | <button data-montage-id="edit-button" class="ss-edit-button"></button> | ||
95 | <button data-montage-id="delete-button" class="ss-delete-button nj-skinned"></button> | ||
96 | <button data-montage-id="disable-button" class="ss-disable-button nj-skinned"></button> | ||
97 | |||
98 | </div> | ||
99 | </div> | ||
100 | </body> | ||
101 | </html> \ No newline at end of file | ||