Mercurial > hg > documentViewer
view 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 |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <!-- block used for main content area --> <div class="col_left" metal:define-macro="main" tal:define="docinfo options/docinfo; pageinfo options/pageinfo; pn python:int(pageinfo['tocPN']); tocsize python:int(docinfo['tocSize_text']); grpsize python:int(pageinfo['tocPageSize']); maxpn python:int(tocsize/grpsize);"> <div class="thumbruler"> <span tal:condition="python:(pn>1)"> <a tal:attributes="href python:here.getLink(param='tocPN',val=pn-1)"><</a> </span> <span tal:content="string:$pn of $tocsize"/> <span> <a tal:attributes="href python:here.getLink(param='tocPN',val=pn+1)">></a> </span> </div> <div class="content" tal:content="structure python:here.getTocPage(mode='text',pageinfo=pageinfo,docinfo=docinfo)"/> </div> <!-- toc --> </body> </html>