annotate zpt/toc_text.zpt @ 481:0a0f7f570f90 elementtree

more new templates
author casties
date Tue, 16 Aug 2011 12:02:00 +0200
parents 027134cca83e
children 7ca8ac7db06e
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>
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
8 <!-- block used for main content area -->
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
9 <div class="col_left" metal:define-macro="main"
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
10 tal:define="docinfo options/docinfo; pageinfo options/pageinfo;
122
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
11 pn python:int(pageinfo['tocPN']); tocsize python:int(docinfo['tocSize_text']); grpsize python:int(pageinfo['tocPageSize']);
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
12 maxpn python:int(tocsize/grpsize);">
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
13 <div class="thumbruler">
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
14 <span tal:condition="python:(pn>1)">
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
15 <a tal:attributes="href python:here.getLink(param='tocPN',val=pn-1)">&lt;</a>
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
16 </span>
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
17 <span tal:content="string:$pn of $tocsize"/>
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
18 <span>
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
19 <a tal:attributes="href python:here.getLink(param='tocPN',val=pn+1)">&gt;</a>
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
20 </span>
027134cca83e reverting back to non-metal version for now
casties
parents: 94
diff changeset
21 </div>
481
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
22 <div class="content" tal:content="structure python:here.getTocPage(mode='text',pageinfo=pageinfo,docinfo=docinfo)"/>
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
23 </div> <!-- toc -->
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
24 </body>
0a0f7f570f90 more new templates
casties
parents: 122
diff changeset
25 </html>