view zpt/toc_text.zpt @ 526:3f375a048402

moved search and dict into separate layers. removed search_template. added tocMode=concordance. fixed bug with paging tocs.
author casties
date Tue, 10 Apr 2012 19:41:44 +0200
parents 91051b36b9cc
children 0b8bed1223ad
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 -->
  <div class="toc-text" 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"/>
    <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>
  <!-- toc -->
</body>
</html>