view zpt/toc_figures.zpt @ 94:9d08a21fdd83

more changed templates, now with metal:use-macro zogilib mostly working
author casties
date Fri, 09 Apr 2010 20:33:53 +0200
parents b8c491e52ebc
children 027134cca83e
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>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
  <!-- block used for main content area -->
  <metal:block metal:define-macro="main">
    <tal:block tal:define="pn python:int(pageinfo['tocPN']); tocsize python:int(docinfo['tocSize_figures']); grpsize python:int(pageinfo['tocPageSize']);
      maxpn python:int(tocsize/grpsize);">
      <div class="thumbruler">
        <span tal:condition="python:(pn>1)">
          <a tal:attributes="href python:here.getLink(param='tocPN',val=pn-1)">&lt;</a>
        </span>
        <span tal:content="string:$pn of $maxpn"/>
        <span>
          <a tal:attributes="href python:here.getLink(param='tocPN',val=pn+1)">&gt;</a>
        </span>
      </div>
      <div tal:content="structure python:here.getTocPage(mode='figures',pageinfo=pageinfo,docinfo=docinfo)"/>
    </tal:block>
  </metal:block>
</body>
</html>