source: products/qPloneGoogleMaps/tags/0.1.0/skins/qPloneGoogleMaps/portlet_overlays.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.7 KB
Line 
1<html xmlns:tal="http://xml.zope.org/namespaces/tal"
2      xmlns:metal="http://xml.zope.org/namespaces/metal"
3      i18n:domain="plone">
4<body>
5<div metal:define-macro="portlet"
6       i18n:domain="plone"
7       tal:omit-tag=""
8       tal:condition="python:context.portal_type == 'Map'"
9       tal:define="mapContent python:context.folderlistingFolderContents(contentFilter={'portal_type':'Overlay',})">
10
11<dl class="portlet" id="portlet-overlays">
12    <dt class="portletHeader">
13        <span class="portletTopLeft"></span>
14        <a href="#"
15           class="tile"
16           tal:attributes="href string:${context/absolute_url}"
17           tal:content="string:${context/getId}'s Overlays"></a>
18        <span class="portletTopRight"></span>
19    </dt>
20    <dd class="portletItem lastItem"
21        tal:condition="mapContent">
22        <ul class="portletNavigationTree" id="listOverlays">
23            <tal:navitem repeat="item mapContent">
24            <li class="visualNoMarker">
25                    <input type="checkbox" id="overlayId" value="1" style="float: left" checked
26                           tal:attributes="id string:${item/getId}Box;
27                                           value string:${item/getMarkersColor}" />
28                    <div class="visualIconPadding"
29                         tal:content="item/Title">Item Title</div>
30            </li>
31            </tal:navitem>
32        </ul>
33        <span class="portletBottomLeft"></span>
34        <span class="portletBottomRight"></span>
35        <span tal:replace="structure context/switchOverlays" />
36    </dd>
37    <dd class="portletItem"
38        tal:condition="not: mapContent"
39        i18n:translate="box_empty_map">
40        Map has no overlays yet.
41    </dd>
42</dl>
43
44</div>
45</body>
46</html>
Note: See TracBrowser for help on using the repository browser.