source: documentViewer/zpt/toc_text.zpt @ 481:0a0f7f570f90

elementtree
Last change on this file since 481:0a0f7f570f90 was 481:0a0f7f570f90, checked in by casties, 13 years ago

more new templates

File size: 1.1 KB
Line 
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>
Note: See TracBrowser for help on using the repository browser.