diff options
author | Eric Guzman | 2012-05-18 14:05:06 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-18 14:05:06 -0700 |
commit | 197a7646e472fcea616764685c8d03c6063e66f5 (patch) | |
tree | 793ef1007234f15958127b3c6f2fb3ff7b7a598b /js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html | |
parent | 18c260f5f55608d4774aea27f6c2d23e89921361 (diff) | |
download | ninja-197a7646e472fcea616764685c8d03c6063e66f5.tar.gz |
CSS Panel - Add support for deleting style sheets
Diffstat (limited to 'js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html')
-rw-r--r-- | js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html index 6e1638a6..bbefc69b 100644 --- a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html +++ b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html | |||
@@ -11,16 +11,14 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
11 | <script type="text/montage-serialization"> | 11 | <script type="text/montage-serialization"> |
12 | { | 12 | { |
13 | "owner": { | 13 | "owner": { |
14 | "module" : "js/panels/css-panel/style-sheets-view.reel", | 14 | "prototype" : "js/panels/css-panel/style-sheets-view.reel", |
15 | "name" : "StyleSheetsView", | ||
16 | "properties" : { | 15 | "properties" : { |
17 | "element" : {"#" : "style-sheets-view-container"}, | 16 | "element" : {"#" : "style-sheets-view-container"}, |
18 | "styleSheetList" : {"@" : "styleSheetList"} | 17 | "styleSheetList" : {"@" : "styleSheetList"} |
19 | } | 18 | } |
20 | }, | 19 | }, |
21 | "arrayController" : { | 20 | "arrayController" : { |
22 | "module" : "montage/ui/controller/array-controller", | 21 | "prototype" : "montage/ui/controller/array-controller", |
23 | "name": "ArrayController", | ||
24 | "bindings": { | 22 | "bindings": { |
25 | "content": { | 23 | "content": { |
26 | "boundObject": {"@": "owner"}, | 24 | "boundObject": {"@": "owner"}, |
@@ -30,16 +28,14 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
30 | } | 28 | } |
31 | }, | 29 | }, |
32 | "styleSheetList": { | 30 | "styleSheetList": { |
33 | "module" : "montage/ui/repetition.reel", | 31 | "prototype" : "montage/ui/repetition.reel", |
34 | "name": "Repetition", | ||
35 | "properties": { | 32 | "properties": { |
36 | "element": {"#": "sheet-list" }, | 33 | "element": {"#": "sheet-list" }, |
37 | "contentController": {"@": "arrayController"} | 34 | "contentController": {"@": "arrayController"} |
38 | } | 35 | } |
39 | }, | 36 | }, |
40 | "sheet": { | 37 | "sheet": { |
41 | "module": "js/panels/css-panel/style-sheet.reel", | 38 | "prototype": "js/panels/css-panel/style-sheet.reel", |
42 | "name": "StyleSheet", | ||
43 | "properties": { | 39 | "properties": { |
44 | "element": {"#": "sheet-item"} | 40 | "element": {"#": "sheet-item"} |
45 | }, | 41 | }, |
@@ -52,8 +48,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
52 | } | 48 | } |
53 | }, | 49 | }, |
54 | "noDocumentCondition": { | 50 | "noDocumentCondition": { |
55 | "module": "montage/ui/condition.reel", | 51 | "prototype": "montage/ui/condition.reel", |
56 | "name": "Condition", | ||
57 | "properties": { | 52 | "properties": { |
58 | "element": {"#": "no-document-message" } | 53 | "element": {"#": "no-document-message" } |
59 | }, | 54 | }, |
@@ -67,8 +62,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
67 | } | 62 | } |
68 | }, | 63 | }, |
69 | "showToolbarCondition": { | 64 | "showToolbarCondition": { |
70 | "module": "montage/ui/condition.reel", | 65 | "prototype": "montage/ui/condition.reel", |
71 | "name": "Condition", | ||
72 | "properties": { | 66 | "properties": { |
73 | "element": {"#": "style-sheets-toolbar-container" } | 67 | "element": {"#": "style-sheets-toolbar-container" } |
74 | }, | 68 | }, |
@@ -81,8 +75,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
81 | } | 75 | } |
82 | }, | 76 | }, |
83 | "toolbar": { | 77 | "toolbar": { |
84 | "module": "js/components/toolbar.reel", | 78 | "prototype": "js/components/toolbar.reel", |
85 | "name": "Toolbar", | ||
86 | "properties": { | 79 | "properties": { |
87 | "element": {"#": "style-sheets-toolbar"}, | 80 | "element": {"#": "style-sheets-toolbar"}, |
88 | "delegate": {"@": "owner" }, | 81 | "delegate": {"@": "owner" }, |
@@ -95,8 +88,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
95 | } | 88 | } |
96 | }, | 89 | }, |
97 | "resizer": { | 90 | "resizer": { |
98 | "module": "js/panels/resize-composer", | 91 | "prototype": "js/panels/resize-composer", |
99 | "name": "ResizeComposer", | ||
100 | "properties": { | 92 | "properties": { |
101 | "element": {"#": "resizeBar"}, | 93 | "element": {"#": "resizeBar"}, |
102 | "component": {"@": "owner"} | 94 | "component": {"@": "owner"} |