aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/css-style.reel/css-style.html
diff options
context:
space:
mode:
authorAnanya Sen2012-05-31 10:13:40 -0700
committerAnanya Sen2012-05-31 10:13:40 -0700
commit286457b4f23974277274ba388afd283e8aa085cb (patch)
treec21bf791e7c4f572d12f97987ea6b89e74da67fe /js/panels/css-panel/css-style.reel/css-style.html
parent4d9b481c58090e8f1fc7b0e9d73a81b0f49cccc8 (diff)
parentd49c909cff7f0c5e5d0b127ad84a2fefc6677dc6 (diff)
downloadninja-286457b4f23974277274ba388afd283e8aa085cb.tar.gz
Merge branch 'refs/heads/ninja-internal-master' into cut-copy-paste
Conflicts: js/controllers/styles-controller.js Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/panels/css-panel/css-style.reel/css-style.html')
-rw-r--r--js/panels/css-panel/css-style.reel/css-style.html87
1 files changed, 87 insertions, 0 deletions
diff --git a/js/panels/css-panel/css-style.reel/css-style.html b/js/panels/css-panel/css-style.reel/css-style.html
new file mode 100644
index 00000000..00cebf39
--- /dev/null
+++ b/js/panels/css-panel/css-style.reel/css-style.html
@@ -0,0 +1,87 @@
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="css-style.css" type="text/css" rel="stylesheet" media="screen">
11 <script type="text/montage-serialization">
12 {
13 "owner": {
14 "prototype" : "js/panels/css-panel/css-style.reel",
15 "properties" : {
16 "element" : {"#" : "container"},
17 "addStyleButton": {"#": "add-style-button"},
18 "propertyField": {"@": "property"},
19 "valueField": {"@": "value"},
20 "propertyNames" : {"@": "propertyNames"}
21 }
22 },
23 "propertyNames": {
24 "object": "js/panels/CSSPanel/css-property-name-list"
25 },
26 "checkbox": {
27 "prototype": "montage/ui/checkbox.reel",
28 "properties": {
29 "element": {"#": "disable-checkbox"},
30 "checked": true
31 },
32 "bindings": {
33 "checked" : {"<<->": "@owner.enabled" }
34 }
35 },
36 "property": {
37 "prototype": "js/components/hintable.reel",
38 "properties": {
39 "startOnEvent": "click",
40 "element": {"#": "property"},
41 "identifier": "property"
42 },
43 "bindings": {
44 "value" : {"<-": "@owner.propertyText" }
45 },
46 "listeners": [
47 {
48 "type": "change",
49 "listener": {"@": "owner"}
50 },
51 {
52 "type": "stop",
53 "listener": {"@": "owner"}
54 }
55 ]
56 },
57 "value": {
58 "prototype": "js/components/hintable.reel",
59 "properties": {
60 "startOnEvent": "click",
61 "element": {"#": "value"},
62 "identifier": "value"
63 },
64 "bindings": {
65 "value" : {"<-": "@owner.valueText" }
66 },
67 "listeners": [
68 {
69 "type": "change",
70 "listener": {"@": "owner"}
71 },
72 {
73 "type": "stop",
74 "listener": {"@": "owner"}
75 }
76 ]
77 }
78 }
79 </script>
80</head>
81<body>
82<div data-montage-id="container" class="style-item" spellcheck="false" draggable="false">
83 <input type="checkbox" data-montage-id="disable-checkbox"><dt data-montage-id="property" class="css-property"></dt><dd data-montage-id="value" class="css-value"></dd>
84 <button data-montage-id="add-style-button" class="add-style-button">Add</button>
85</div>
86</body>
87</html> \ No newline at end of file