source: products/qPloneGoogleMaps/tags/0.1.0/skins/qPloneGoogleMaps/topic_maps_view.pt

Last change on this file was 1, checked in by myroslav, 18 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
2      lang="en"
3      metal:use-macro="here/main_template/macros/master"
4      i18n:domain="plone">
5<head>
6  <metal:block fill-slot="javascript_head_slot">
7    <script type="text/javascript" src=""
8            tal:attributes="src string:http://maps.google.com/maps?file=api&amp;v=2&amp;key=${here/getMapKey}">
9    </script>
10    <span tal:define="markersview context/@@MarkersView;
11                      longlat python:markersview and markersview.listMarkers() or []"
12          tal:replace="structure python:here.maps_markers(longlat, node='mapView', events=True, controls='large', typeControls=True, overviewControls=True)" />
13  </metal:block>
14</head>
15<body>
16
17<div metal:fill-slot="main">
18<metal:main_macro define-macro="main">
19    <metal:body define-macro="body_macro">
20
21        <div metal:use-macro="here/document_actions/macros/document_actions">
22             Document actions (print, sendto etc)
23        </div>
24
25        <h1 tal:content="here/title_or_id" class="documentFirstHeading">
26            Title or id
27        </h1>
28
29        <a href=""
30           class="link-parent"
31           tal:define="parent_url python:here.navigationParent(here, template_id)"
32           tal:condition="parent_url"
33           tal:attributes="href parent_url"
34           i18n:translate="go_to_parent_url">
35            Up one level
36        </a>
37
38        <div class="documentDescription" tal:content="structure here/Description">
39            description
40        </div>
41
42        <div id="mapView" style="position: relative; height: 480px;"></div>
43
44    </metal:body>
45</metal:main_macro>
46
47</div>
48
49</body>
50</html>
Note: See TracBrowser for help on using the repository browser.