File:  [Repository] / documentViewer / zpt / toc_text.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Tue May 25 14:36:24 2010 UTC (14 years ago) by casties
Branches: MAIN
CVS tags: elementtree, Root_elementtree, HEAD
reverting back to non-metal version for now

    1: <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo;  
    2:   pn python:int(pageinfo['tocPN']); tocsize python:int(docinfo['tocSize_text']); grpsize python:int(pageinfo['tocPageSize']);
    3:   maxpn python:int(tocsize/grpsize);">
    4:   <div class="thumbruler">
    5:     <span tal:condition="python:(pn>1)">
    6:       <a tal:attributes="href python:here.getLink(param='tocPN',val=pn-1)">&lt;</a>
    7:     </span>
    8:     <span tal:content="string:$pn of $tocsize"/>
    9:     <span>
   10:     <a tal:attributes="href python:here.getLink(param='tocPN',val=pn+1)">&gt;</a>
   11:   </span>
   12: </div>
   13:   <div tal:content="structure python:here.getTocPage(mode='text',pageinfo=pageinfo,docinfo=docinfo)"/>
   14: </tal:block>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>