diff options
Diffstat (limited to 'node_modules/montage/examples/feed-reader/map-example.reel/main.html')
-rw-r--r-- | node_modules/montage/examples/feed-reader/map-example.reel/main.html | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/node_modules/montage/examples/feed-reader/map-example.reel/main.html b/node_modules/montage/examples/feed-reader/map-example.reel/main.html new file mode 100644 index 00000000..889ca8d6 --- /dev/null +++ b/node_modules/montage/examples/feed-reader/map-example.reel/main.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 | <head> | ||
9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
10 | <title>Main Component</title> | ||
11 | |||
12 | <style type="text/css"> | ||
13 | |||
14 | .map-container { | ||
15 | width: 500px; | ||
16 | height: 500px; | ||
17 | position: relative; | ||
18 | } | ||
19 | |||
20 | .montage-google-map { | ||
21 | position: relative; | ||
22 | margin: 0; | ||
23 | padding: 0; | ||
24 | } | ||
25 | </style> | ||
26 | |||
27 | <script type="text/montage-serialization"> | ||
28 | { | ||
29 | "owner": { | ||
30 | "module": "main.reel", | ||
31 | "name": "Main", | ||
32 | "properties": { | ||
33 | "element": {"#": "main"} | ||
34 | } | ||
35 | }, | ||
36 | |||
37 | "map": { | ||
38 | "prototype": "montage/ui/google/map.reel", | ||
39 | "properties": { | ||
40 | "element": {"#": "map"} | ||
41 | } | ||
42 | } | ||
43 | } | ||
44 | </script> | ||
45 | |||
46 | </head> | ||
47 | <body> | ||
48 | |||
49 | <div id="main" class="main"> | ||
50 | <p>Main component of application</p> | ||
51 | <div class="map-container"> | ||
52 | <div id="map"></div> | ||
53 | </div> | ||
54 | |||
55 | </div> | ||
56 | |||
57 | </body> | ||
58 | </html> | ||