annotate zpt/toc_concordance.zpt @ 540:4b43a57ad9b3

more nicer
author casties
date Thu, 16 Aug 2012 19:09:49 +0200
parents 37d122560028
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
526
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml">
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
4 <head>
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
6 </head>
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
7 <body>
532
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
8 <div class="toc-container" metal:define-macro="main">
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
9 <div metal:use-macro="here/template/common_template/macros/toc_switcher" />
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
10 <!-- block used for main content area -->
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
11 <div class="tocbody concordance"
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
12 tal:define="start pageinfo/start; tocsize docinfo/numPages; grpsize pageinfo/tocPageSize;
526
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
13 pageNumbers docinfo/pageNumbers | nothing;
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
14 batch python:here.getBatch(start=start,size=grpsize,end=tocsize,data=pageNumbers);">
537
ad6f97fd3944 fixes closing tickets concerning tocs.
casties
parents: 535
diff changeset
15 <h4>Page concordance</h4>
540
4b43a57ad9b3 more nicer
casties
parents: 539
diff changeset
16 <div class="ruler top">
532
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
17 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" />
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
18 </div>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
19 <div class="content">
537
ad6f97fd3944 fixes closing tickets concerning tocs.
casties
parents: 535
diff changeset
20 <table class="concordance" tal:condition="pageNumbers">
532
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
21 <tr>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
22 <th>Scan</th>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
23 <th>Original</th>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
24 </tr>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
25 <tr tal:repeat="toc batch/this">
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
26 <tal:block tal:define="pn toc/pn | nothing">
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
27 <td><a tal:condition="pn" tal:attributes="href python:here.getLink('pn', toc['pn'])" tal:content="toc/pn"
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
28 title="Scan number">ScanNo</a></td>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
29 <td><span class="originalPage" title="Original page number" tal:define="originalPage toc/no | nothing"
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
30 tal:condition="python:originalPage!=None"><span tal:replace="originalPage" /><span
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
31 tal:define="originalPageNorm toc/non | nothing" tal:condition="python:originalPageNorm!=None"> [<span
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
32 tal:replace="originalPageNorm" />]
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
33 </span></span></td>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
34 </tal:block>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
35 </tr>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
36 </table>
0b8bed1223ad new layout and styles.
casties
parents: 526
diff changeset
37 </div>
540
4b43a57ad9b3 more nicer
casties
parents: 539
diff changeset
38 <div class="ruler bottom">
539
37d122560028 more nicer
casties
parents: 537
diff changeset
39 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" />
37d122560028 more nicer
casties
parents: 537
diff changeset
40 </div>
526
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
41 </div>
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
42 </div>
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
43 <!-- /toc -->
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
44 </body>
3f375a048402 moved search and dict into separate layers.
casties
parents:
diff changeset
45 </html>