Mercurial > hg > documentViewer
annotate zpt/toc_figures.zpt @ 527:652cc8d3f1a9
fixed bug with text when layer is only annotator.
author | casties |
---|---|
date | Thu, 12 Apr 2012 14:27:37 +0200 |
parents | 3f375a048402 |
children | 0b8bed1223ad |
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> | |
8 <!-- block used for main content area --> | |
489
55e3398e395e
more new templates. monkey-patch for App.ImageFile.
casties
parents:
488
diff
changeset
|
9 <div class="toc-figures" metal:define-macro="main" |
518
91051b36b9cc
uses xml info from doc-info.xql for table of contents now.
casties
parents:
501
diff
changeset
|
10 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
|
11 batch python:here.getBatch(start=start,size=grpsize,end=tocsize);"> |
526 | 12 <div metal:use-macro="here/template/common_template/macros/toc_switcher"/> |
481 | 13 <div class="ruler"> |
501 | 14 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler"/> |
481 | 15 </div> |
16 <div class="content" | |
482
7ca8ac7db06e
more new template stuff. more batching methods in documentViewer.
casties
parents:
481
diff
changeset
|
17 tal:content="structure python:here.getTocPage(mode='figures',start=start,pageinfo=pageinfo,docinfo=docinfo)" /> |
481 | 18 </div> |
526 | 19 <!-- /toc --> |
481 | 20 </body> |
21 </html> |