Mercurial > hg > documentViewer
comparison zpt/toc_thumbs.zpt @ 122:027134cca83e
reverting back to non-metal version for now
author | casties |
---|---|
date | Tue, 25 May 2010 16:36:24 +0200 |
parents | 9d08a21fdd83 |
children | 50a28442f21c |
comparison
equal
deleted
inserted
replaced
121:cb0978becec4 | 122:027134cca83e |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | 1 <div tal:define="docinfo options/docinfo; pageinfo options/pageinfo; |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 2 start pageinfo/start; end pageinfo/end; rows pageinfo/rows; cols pageinfo/cols; |
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 <!-- block used for main content area --> | |
9 <metal:block metal:define-macro="main"> | |
10 <div tal:define="start pageinfo/start; end pageinfo/end; rows pageinfo/rows; cols pageinfo/cols; | |
11 current pageinfo/current; grpsize pageinfo/groupsize"> | 3 current pageinfo/current; grpsize pageinfo/groupsize"> |
12 | 4 |
13 <div class="thumbruler"> | 5 <div class="thumbruler"> |
14 <span tal:condition="python:(start>1)"> | 6 <span tal:condition="python:(start>1)"> |
15 <a tal:attributes="href python:here.getLink(param='start',val=max(start-grpsize,1))"><</a> | 7 <a tal:attributes="href python:here.getLink(param='start',val=max(start-grpsize,1))"><</a> |
35 </td> | 27 </td> |
36 </tal:block> | 28 </tal:block> |
37 </tr> | 29 </tr> |
38 </table> | 30 </table> |
39 </div> | 31 </div> |
40 </metal:block> | |
41 </body> | |
42 </html> |