view zpt/layer_text_gis.zpt @ 560:04c330b92cab

uses escidoc-dri (instead of -test). updated default license display for access!=free.
author casties
date Mon, 01 Oct 2012 15:33:22 +0200
parents 6cdc31e9ed8e
children
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- not used here
<metal:block metal:define-macro="html_head">
</metal:block>
-->
</head>
<body>
  <!-- right-side options -->
  <div class="col buttons">
    <!-- LAYER DISPLAY OPTION  -->
    <ul>
      <metal:block metal:define-macro="layer_select_li">
        <li tal:condition="python:docinfo.get('numPlaces',0)">
          <input type="checkbox" class="autosubmit" name="viewLayer" value="gis"
            tal:attributes="checked python:'gis' in viewLayers" /> Places<br />
        </li>
      </metal:block>
    </ul>
  </div>

  <metal:block metal:define-macro="options_box" tal:condition="python:'gis' in viewLayers">
    <!--"BEGIN PLACES"-->
    <div class="options">
      <tal:block
        tal:define="
            name docinfo/documentName;
            places python:here.getPlacesOnPage(docinfo=docinfo, pn=pn);
            pidlist python:','.join([p['id'] for p in places]);">
        <h4>Places</h4>
        Show all places
        <ul class="list">
          <li>
            <a
              tal:attributes="href python:'http://mappit.mpiwg-berlin.mpg.de/db/RESTdb/db/mpdl/%s?id=%s&format=gis'%(name,pidlist)"
              target="_blank">on this page</a>
          </li>
          <li>
            <a
              tal:attributes="href python:'http://mappit.mpiwg-berlin.mpg.de/db/RESTdb/db/mpdl/%s?format=gis'%(name)"
              target="_blank">in whole document</a>
          </li>
        </ul>
      </tal:block>
    </div>
    <!--"END PLACES"-->
  </metal:block>

</body>

</html>