Mercurial > hg > documentViewer
annotate zpt/toc_figures.zpt @ 537:ad6f97fd3944
fixes closing tickets concerning tocs.
author | casties |
---|---|
date | Fri, 27 Jul 2012 17:09:59 +0200 |
parents | 510bae2b593b |
children | 37d122560028 |
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> | |
532 | 8 <div class="toc-container" metal:define-macro="main"> |
9 <div metal:use-macro="here/template/common_template/macros/toc_switcher" /> | |
10 <!-- block used for main content area --> | |
11 <div class="tocbody figures" | |
12 tal:define="start pageinfo/start; tocsize docinfo/numFigureEntries; grpsize pageinfo/tocPageSize; | |
482
7ca8ac7db06e
more new template stuff. more batching methods in documentViewer.
casties
parents:
481
diff
changeset
|
13 batch python:here.getBatch(start=start,size=grpsize,end=tocsize);"> |
537 | 14 <h4>Table of figures</h4> |
532 | 15 <div class="ruler"> |
16 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> | |
17 </div> | |
18 <div class="content" | |
19 tal:content="structure python:here.getTocPage(mode='figures',start=start,pageinfo=pageinfo,docinfo=docinfo)" /> | |
481 | 20 </div> |
21 </div> | |
526 | 22 <!-- /toc --> |
481 | 23 </body> |
24 </html> |