comparison zpt/viewer/toc_notes.zpt @ 609:7962e6891d99

works with new notes and notesHandwritten.
author casties
date Tue, 15 Jan 2013 18:15:32 +0100
parents
children
comparison
equal deleted inserted replaced
608:0c6056271654 609:7962e6891d99
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 <div class="toc-container" metal:define-macro="main">
9 <div metal:use-macro="here/template/common_template/macros/toc_switcher" />
10 <!-- block used for main content area -->
11 <div class="tocbody figures"
12 tal:define="start pageinfo/start; tocsize docinfo/numHandwritten; grpsize pageinfo/tocPageSize;
13 batch python:here.getBatch(start=start,size=grpsize,end=tocsize);">
14 <h4>Table of Notes</h4>
15 <div class="ruler top">
16 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" />
17 </div>
18 <div class="content"
19 tal:content="structure python:here.getTocPage(mode='notes',start=start,pageinfo=pageinfo,docinfo=docinfo)" />
20 <div class="ruler bottom">
21 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" />
22 </div>
23 </div>
24 </div>
25 <!-- /toc -->
26 </body>
27 </html>