Changeset 481:0a0f7f570f90 in documentViewer for zpt/toc_text.zpt


Ignore:
Timestamp:
Aug 16, 2011, 10:02:00 AM (13 years ago)
Author:
casties
Branch:
elementtree
Message:

more new templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/toc_text.zpt

    r122 r481  
    1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; 
     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; 
    211  pn python:int(pageinfo['tocPN']); tocsize python:int(docinfo['tocSize_text']); grpsize python:int(pageinfo['tocPageSize']);
    312  maxpn python:int(tocsize/grpsize);">
     
    1120  </span>
    1221</div>
    13   <div tal:content="structure python:here.getTocPage(mode='text',pageinfo=pageinfo,docinfo=docinfo)"/>
    14 </tal:block>
     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 TracChangeset for help on using the changeset viewer.