Mercurial > hg > documentViewer
comparison zpt/viewer/toc_text.zpt @ 594:da7daa783df4
rearranged viewer templates into folder.
author | casties |
---|---|
date | Fri, 16 Nov 2012 17:16:50 +0100 |
parents | zpt/toc_text.zpt@4b43a57ad9b3 |
children |
comparison
equal
deleted
inserted
replaced
593:eb46138db658 | 594:da7daa783df4 |
---|---|
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 <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);"> | |
11 <div metal:use-macro="here/template/common_template/macros/toc_switcher" /> | |
12 <!-- block used for main content area --> | |
13 <div class="tocbody text"> | |
14 <h4>Table of contents</h4> | |
15 <div class="ruler top"> | |
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)" /> | |
19 <div class="ruler bottom"> | |
20 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> | |
21 </div> | |
22 </div> | |
23 </div> | |
24 <!-- toc --> | |
25 </body> | |
26 </html> |