Mercurial > hg > documentViewer
annotate zpt/toc_text.zpt @ 558:6ab436383fca
first step to layers for index view.
author | casties |
---|---|
date | Fri, 28 Sep 2012 11:25:25 +0200 |
parents | 4b43a57ad9b3 |
children |
rev | line source |
---|---|
481 | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
3 <html xmlns="http://www.w3.org/1999/xhtml"> | |
4 <head> | |
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
6 </head> | |
7 <body> | |
537 | 8 <div class="toc-container" metal:define-macro="main" |
9 tal:define="start pageinfo/start; tocsize docinfo/numTocEntries; grpsize pageinfo/tocPageSize; | |
10 batch python:here.getBatch(start=start,size=grpsize,end=tocsize);"> | |
532 | 11 <div metal:use-macro="here/template/common_template/macros/toc_switcher" /> |
12 <!-- block used for main content area --> | |
537 | 13 <div class="tocbody text"> |
14 <h4>Table of contents</h4> | |
540 | 15 <div class="ruler top"> |
532 | 16 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> |
17 </div> | |
18 <div class="content" tal:content="structure python:here.getTocPage(mode='text',start=start,pageinfo=pageinfo,docinfo=docinfo)" /> | |
540 | 19 <div class="ruler bottom"> |
539 | 20 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> |
21 </div> | |
482
7ca8ac7db06e
more new template stuff. more batching methods in documentViewer.
casties
parents:
481
diff
changeset
|
22 </div> |
7ca8ac7db06e
more new template stuff. more batching methods in documentViewer.
casties
parents:
481
diff
changeset
|
23 </div> |
537 | 24 <!-- toc --> |
481 | 25 </body> |
26 </html> |