diff options
Diffstat (limited to 'js/components/layout/document-bar.reel/document-bar.html')
-rw-r--r-- | js/components/layout/document-bar.reel/document-bar.html | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.html b/js/components/layout/document-bar.reel/document-bar.html new file mode 100644 index 00000000..d58f0d14 --- /dev/null +++ b/js/components/layout/document-bar.reel/document-bar.html | |||
@@ -0,0 +1,58 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No 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> | ||
8 | |||
9 | <head> | ||
10 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
11 | <link rel="stylesheet" type="text/css" href="document-bar.css"> | ||
12 | |||
13 | <script type="text/montage-serialization"> | ||
14 | { | ||
15 | "hottext1": { | ||
16 | "module": "js/components/hottextunit.reel", | ||
17 | "name": "HotTextUnit", | ||
18 | "properties": { | ||
19 | "element": {"#": "zoomControlHT"}, | ||
20 | "minValue":25, | ||
21 | "maxValue" :2000, | ||
22 | "stepSize" :5, | ||
23 | "acceptableUnits" : ["%"], | ||
24 | "units" : "%" | ||
25 | }, | ||
26 | "bindings": { | ||
27 | "value": { | ||
28 | "boundObject": {"@": "owner"}, | ||
29 | "boundObjectPropertyPath": "zoomFactor", | ||
30 | "oneway": false | ||
31 | } | ||
32 | } | ||
33 | }, | ||
34 | |||
35 | "owner": { | ||
36 | "module": "js/components/layout/document-bar.reel", | ||
37 | "name": "DocumentBar", | ||
38 | "properties": { | ||
39 | "element": {"#": "documentBar"}, | ||
40 | "designView": {"#": "design"}, | ||
41 | "codeView": {"#": "code"}, | ||
42 | "zoomControl": {"@": "hottext1"} | ||
43 | } | ||
44 | } | ||
45 | } | ||
46 | </script> | ||
47 | |||
48 | |||
49 | </head> | ||
50 | |||
51 | <body> | ||
52 | <div id="documentBar"> | ||
53 | <input class="zoomHotText label" id="zoomControlHT"/> | ||
54 | <span class="design-view" id="design">Design View</span> | ||
55 | <span class="code-view" id="code">Code View</span> | ||
56 | </div> | ||
57 | </body> | ||
58 | </html> \ No newline at end of file | ||