[1] | 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:define="key here/getMapKey" |
---|
| 9 | tal:attributes="src string:http://maps.google.com/maps?file=api&v=2&key=${here/getMapKey}"> |
---|
| 10 | </script> |
---|
| 11 | <span tal:replace="structure python:here.maps_markers(longlat=here.getOverlayMarkers(), node='mapView', controls=here.getMapControl(), loc=here.geoLocation(), typeControls=here.getTypeControl(), overviewControls=here.getOverviewControl(), events=True, maptype=here.getMapType(), color=False, zoom=here.getZoom(), mapevents=True, auto=here.getAuto())" /> |
---|
| 12 | </metal:block> |
---|
| 13 | </head> |
---|
| 14 | |
---|
| 15 | <body> |
---|
| 16 | |
---|
| 17 | <metal:main fill-slot="main"> |
---|
| 18 | <tal:main-macro metal:define-macro="main"> |
---|
| 19 | |
---|
| 20 | <div metal:use-macro="here/document_actions/macros/document_actions"> |
---|
| 21 | Document actions (print, sendto etc) |
---|
| 22 | </div> |
---|
| 23 | |
---|
| 24 | <h1 tal:content="here/pretty_title_or_id" class="documentFirstHeading"> |
---|
| 25 | Title or id |
---|
| 26 | </h1> |
---|
| 27 | |
---|
| 28 | <div metal:use-macro="here/document_byline/macros/byline"> |
---|
| 29 | Get the byline - contains details about author and modification date. |
---|
| 30 | </div> |
---|
| 31 | |
---|
| 32 | <p class="documentDescription" |
---|
| 33 | tal:content="here/Description" |
---|
| 34 | tal:condition="here/Description"> |
---|
| 35 | Description |
---|
| 36 | </p> |
---|
| 37 | |
---|
| 38 | <div id="mapView" style="position: relative; height: 480px;"></div> |
---|
| 39 | <!-- tal:define="height here/getHeight" |
---|
| 40 | tal:attributes="style string:height:${height}px"></div>--> |
---|
| 41 | |
---|
| 42 | </tal:main-macro> |
---|
| 43 | </metal:main> |
---|
| 44 | |
---|
| 45 | </body> |
---|
| 46 | </html> |
---|