Mercurial > hg > documentViewer
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/viewer/toc_notes.zpt Tue Jan 15 18:15:32 2013 +0100 @@ -0,0 +1,27 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +</head> +<body> + <div class="toc-container" metal:define-macro="main"> + <div metal:use-macro="here/template/common_template/macros/toc_switcher" /> + <!-- block used for main content area --> + <div class="tocbody figures" + tal:define="start pageinfo/start; tocsize docinfo/numHandwritten; grpsize pageinfo/tocPageSize; + batch python:here.getBatch(start=start,size=grpsize,end=tocsize);"> + <h4>Table of Notes</h4> + <div class="ruler top"> + <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> + </div> + <div class="content" + tal:content="structure python:here.getTocPage(mode='notes',start=start,pageinfo=pageinfo,docinfo=docinfo)" /> + <div class="ruler bottom"> + <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> + </div> + </div> + </div> + <!-- /toc --> +</body> +</html>