File:  [Repository] / documentViewer / zpt / toc_text.zpt
Revision 1.3.2.1: download - view: text, annotated - select for diffs - revision graph
Tue Aug 16 10:02:00 2011 UTC (12 years, 10 months ago) by casties
Branches: elementtree
Diff to: branchpoint 1.3: preferred, unified
more new templates

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    2:           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    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:   <div class="col_left" metal:define-macro="main"
   10:      tal:define="docinfo options/docinfo; pageinfo options/pageinfo;  
   11:   pn python:int(pageinfo['tocPN']); tocsize python:int(docinfo['tocSize_text']); grpsize python:int(pageinfo['tocPageSize']);
   12:   maxpn python:int(tocsize/grpsize);">
   13:   <div class="thumbruler">
   14:     <span tal:condition="python:(pn>1)">
   15:       <a tal:attributes="href python:here.getLink(param='tocPN',val=pn-1)">&lt;</a>
   16:     </span>
   17:     <span tal:content="string:$pn of $tocsize"/>
   18:     <span>
   19:     <a tal:attributes="href python:here.getLink(param='tocPN',val=pn+1)">&gt;</a>
   20:   </span>
   21: </div>
   22:   <div class="content" tal:content="structure python:here.getTocPage(mode='text',pageinfo=pageinfo,docinfo=docinfo)"/>
   23: </div> <!-- toc -->
   24: </body>
   25: </html>

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