Mercurial > hg > documentViewer
annotate zpt/toc_text.zpt @ 536:abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
author | casties |
---|---|
date | Thu, 26 Jul 2012 21:22:56 +0200 |
parents | 0b8bed1223ad |
children | ad6f97fd3944 |
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 text" | |
12 tal:define="start pageinfo/start; tocsize docinfo/numTocEntries; 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);"> |
532 | 14 <div class="ruler"> |
15 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> | |
16 </div> | |
17 <div class="content" tal:content="structure python:here.getTocPage(mode='text',start=start,pageinfo=pageinfo,docinfo=docinfo)" /> | |
482
7ca8ac7db06e
more new template stuff. more batching methods in documentViewer.
casties
parents:
481
diff
changeset
|
18 </div> |
7ca8ac7db06e
more new template stuff. more batching methods in documentViewer.
casties
parents:
481
diff
changeset
|
19 </div> |
532 | 20 <!-- toc --> |
481 | 21 </body> |
22 </html> |