aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/style-sheet.reel/style-sheet.html
diff options
context:
space:
mode:
authorPushkar Joshi2012-05-31 12:20:03 -0700
committerPushkar Joshi2012-05-31 12:20:03 -0700
commit4bc52365b1f81a386c3c59fd7c6ad874bb387cb5 (patch)
treec5b17297aba04bd54a59cf6214d29486e089031b /js/panels/css-panel/style-sheet.reel/style-sheet.html
parent75a862d305bc4502e22bc5aa65fa271143b8cf6c (diff)
parent6042bdc5f2aada4412912fd01602d32c9088dc26 (diff)
downloadninja-4bc52365b1f81a386c3c59fd7c6ad874bb387cb5.tar.gz
Merge branch 'master' into pentool
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.html101
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>
3This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
4No 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