annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
481
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml">
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
4 <head>
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
6 </head>
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
7 <body>
537
ad6f97fd3944 fixes closing tickets concerning tocs.
casties
parents: 532
diff changeset
8 <div class="toc-container" metal:define-macro="main"
ad6f97fd3944 fixes closing tickets concerning tocs.
casties
parents: 532
diff changeset
9 tal:define="start pageinfo/start; tocsize docinfo/numTocEntries; grpsize pageinfo/tocPageSize;
ad6f97fd3944 fixes closing tickets concerning tocs.
casties
parents: 532
diff changeset
10 batch python:here.getBatch(start=start,size=grpsize,end=tocsize);">
532
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
11 <div metal:use-macro="here/template/common_template/macros/toc_switcher" />
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
12 <!-- block used for main content area -->
537
ad6f97fd3944 fixes closing tickets concerning tocs.
casties
parents: 532
diff changeset
13 <div class="tocbody text">
ad6f97fd3944 fixes closing tickets concerning tocs.
casties
parents: 532
diff changeset
14 <h4>Table of contents</h4>
540
4b43a57ad9b3 more nicer
casties
parents: 539
diff changeset
15 <div class="ruler top">
532
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
16 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" />
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
17 </div>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
18 <div class="content" tal:content="structure python:here.getTocPage(mode='text',start=start,pageinfo=pageinfo,docinfo=docinfo)" />
540
4b43a57ad9b3 more nicer
casties
parents: 539
diff changeset
19 <div class="ruler bottom">
539
37d122560028 more nicer
casties
parents: 537
diff changeset
20 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" />
37d122560028 more nicer
casties
parents: 537
diff changeset
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
ad6f97fd3944 fixes closing tickets concerning tocs.
casties
parents: 532
diff changeset
24 <!-- toc -->
481
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
25 </body>
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
26 </html>