view zpt/toc_text.zpt @ 537:ad6f97fd3944

fixes closing tickets concerning tocs.
author casties
date Fri, 27 Jul 2012 17:09:59 +0200
parents 0b8bed1223ad
children 37d122560028
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>
  <div class="toc-container" metal:define-macro="main"
    tal:define="start pageinfo/start; tocsize docinfo/numTocEntries; grpsize pageinfo/tocPageSize;
                batch python:here.getBatch(start=start,size=grpsize,end=tocsize);">
    <div metal:use-macro="here/template/common_template/macros/toc_switcher" />
    <!-- block used for main content area -->
    <div class="tocbody text">
      <h4>Table of contents</h4>
      <div class="ruler">
        <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" />
      </div>
      <div class="content" tal:content="structure python:here.getTocPage(mode='text',start=start,pageinfo=pageinfo,docinfo=docinfo)" />
    </div>
  </div>
  <!-- toc -->
</body>
</html>