annotate zpt/toc_text.zpt @ 121:cb0978becec4 Root_metalify-1

*** empty log message ***
author abukhman
date Tue, 25 May 2010 12:03:55 +0200
parents 9d08a21fdd83
children 027134cca83e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml">
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
4 <head>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
6 </head>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
7 <body>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
8 <!-- block used for main content area -->
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
9 <metal:block metal:define-macro="main">
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
10 <tal:block tal:define="pn python:int(pageinfo['tocPN']); tocsize python:int(docinfo['tocSize_text']); grpsize python:int(pageinfo['tocPageSize']);
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
11 maxpn python:int(tocsize/grpsize);">
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
12 <div class="thumbruler">
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
13 <span tal:condition="python:(pn>1)">
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
14 <a tal:attributes="href python:here.getLink(param='tocPN',val=pn-1)">&lt;</a>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
15 </span>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
16 <span tal:content="string:$pn of $maxpn"/>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
17 <span>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
18 <a tal:attributes="href python:here.getLink(param='tocPN',val=pn+1)">&gt;</a>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
19 </span>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
20 </div>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
21 <div tal:content="structure python:here.getTocPage(mode='text',pageinfo=pageinfo,docinfo=docinfo)"/>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
22 </tal:block>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
23 </metal:block>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
24 </body>
9d08a21fdd83 more changed templates, now with metal:use-macro
casties
parents: 91
diff changeset
25 </html>