Mercurial > hg > documentViewer
view zpt/toc_concordance.zpt @ 560:04c330b92cab
uses escidoc-dri (instead of -test). updated default license display for access!=free.
author | casties |
---|---|
date | Mon, 01 Oct 2012 15:33:22 +0200 |
parents | 4b43a57ad9b3 |
children |
line wrap: on
line source
<!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 concordance" tal:define="start pageinfo/start; tocsize docinfo/numPages; grpsize pageinfo/tocPageSize; pageNumbers docinfo/pageNumbers | nothing; batch python:here.getBatch(start=start,size=grpsize,end=tocsize,data=pageNumbers);"> <h4>Page concordance</h4> <div class="ruler top"> <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> </div> <div class="content"> <table class="concordance" tal:condition="pageNumbers"> <tr> <th>Scan</th> <th>Original</th> </tr> <tr tal:repeat="toc batch/this"> <tal:block tal:define="pn toc/pn | nothing"> <td><a tal:condition="pn" tal:attributes="href python:here.getLink('pn', toc['pn'])" tal:content="toc/pn" title="Scan number">ScanNo</a></td> <td><span class="originalPage" title="Original page number" tal:define="originalPage toc/no | nothing" tal:condition="python:originalPage!=None"><span tal:replace="originalPage" /><span tal:define="originalPageNorm toc/non | nothing" tal:condition="python:originalPageNorm!=None"> [<span tal:replace="originalPageNorm" />] </span></span></td> </tal:block> </tr> </table> </div> <div class="ruler bottom"> <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> </div> </div> </div> <!-- /toc --> </body> </html>