aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html
diff options
context:
space:
mode:
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.html103
1 files changed, 103 insertions, 0 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
new file mode 100644
index 00000000..092b189f
--- /dev/null
+++ b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.html
@@ -0,0 +1,103 @@
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-sheets-view.css" rel="stylesheet" type="text/css">
11 <script type="text/montage-serialization">
12 {
13 "owner": {
14 "module" : "js/panels/css-panel/style-sheets-view.reel",
15 "name" : "StyleSheetsView",
16 "properties" : {
17 "element" : {"#" : "style-sheets-view-container"}
18 }
19 },
20 "arrayController" : {
21 "module" : "montage/ui/controller/array-controller",
22 "name": "ArrayController",
23 "bindings": {
24 "content": {
25 "boundObject": {"@": "owner"},
26 "boundObjectPropertyPath": "styleSheets",
27 "oneway": true
28 }
29 }
30 },
31 "styleSheetList": {
32 "module" : "montage/ui/repetition.reel",
33 "name": "Repetition",
34 "properties": {
35 "element": {"#": "sheet-list" },
36 "contentController": {"@": "arrayController"}
37 }
38 },
39 "sheet": {
40 "module": "js/panels/css-panel/style-sheet.reel",
41 "name": "StyleSheet",
42 "properties": {
43 "element": {"#": "sheet-item"}
44 },
45 "bindings": {
46 "source": {
47 "boundObject": {"@": "styleSheetList"},
48 "boundObjectPropertyPath": "objectAtCurrentIteration",
49 "oneway": true
50 }
51 }
52 },
53 "noDocumentCondition": {
54 "module": "montage/ui/condition.reel",
55 "name": "Condition",
56 "properties": {
57 "element": {"#": "no-document-message" }
58 },
59 "bindings": {
60 "condition": {
61 "boundObject": {"@": "owner" },
62 "boundObjectPropertyPath": "styleSheets.count()",
63 "boundValueMutator": {"->": {"arguments": ["val"], "body": "return !val;"}},
64 "oneway": true
65 }
66 }
67 },
68 "showToolbarCondition": {
69 "module": "montage/ui/condition.reel",
70 "name": "Condition",
71 "properties": {
72 "element": {"#": "style-sheets-toolbar-container" }
73 },
74 "bindings" : {
75 "condition": {
76 "boundObject": {"@": "owner"},
77 "boundObjectPropertyPath": "styleSheets.count()",
78 "oneway": true
79 }
80 }
81 },
82 "toolbar": {
83 "module": "js/components/toolbar.reel",
84 "name": "Toolbar",
85 "properties": {
86 "element": {"#": "style-sheets-toolbar"}
87 }
88 }
89 }
90 </script>
91</head>
92<body>
93<div id="style-sheets-view-container" class="style-sheets-view-container">
94 <h4 id="no-document-message" class="panel-message">No style sheets to display.</h4>
95 <ul id="sheet-list">
96 <li><div id="sheet-item"></div></li>
97 </ul>
98 <div id="style-sheets-toolbar-container">
99 <div id="style-sheets-toolbar"></div>
100 </div>
101</div>
102</body>
103</html> \ No newline at end of file