aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/style-sheet.reel/style-sheet.html
diff options
context:
space:
mode:
authorArmen Kesablyan2012-05-23 14:34:58 -0700
committerArmen Kesablyan2012-05-23 14:34:58 -0700
commitc21db7f1e4a0582777bdb5366df5d023a915b779 (patch)
treec4d29cb4686101d4a480ae836d20187879cf5400 /js/panels/css-panel/style-sheet.reel/style-sheet.html
parent3ed95247e9ea4b0a7833401ed6809647b7c4acbf (diff)
parent1a7e347810401e6262d9d7bad1c3583e6773993b (diff)
downloadninja-c21db7f1e4a0582777bdb5366df5d023a915b779.tar.gz
Merge branch 'refs/heads/dom-architecture' into binding
Conflicts: js/data/panels-data.js Signed-off-by: Armen Kesablyan <armen@motorola.com>
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