source: documentViewer/zpt/toc_concordance.zpt @ 535:510bae2b593b

Last change on this file since 535:510bae2b593b was 535:510bae2b593b, checked in by casties, 12 years ago

more fixes, e.g. IE support. first version of index page.

File size: 1.8 KB
Line 
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 concordance"
12      tal:define="start pageinfo/start; tocsize docinfo/numPages; grpsize pageinfo/tocPageSize;
13                pageNumbers docinfo/pageNumbers | nothing;
14                batch python:here.getBatch(start=start,size=grpsize,end=tocsize,data=pageNumbers);">
15      <div class="ruler">
16        <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" />
17      </div>
18      <div class="content">
19        <table tal:condition="pageNumbers">
20          <tr>
21            <th>Scan</th>
22            <th>Original</th>
23          </tr>
24          <tr tal:repeat="toc batch/this">
25            <tal:block tal:define="pn toc/pn | nothing">
26              <td><a tal:condition="pn" tal:attributes="href python:here.getLink('pn', toc['pn'])" tal:content="toc/pn"
27                title="Scan number">ScanNo</a></td>
28              <td><span class="originalPage" title="Original page number" tal:define="originalPage toc/no | nothing"
29                tal:condition="python:originalPage!=None"><span tal:replace="originalPage" /><span
30                  tal:define="originalPageNorm toc/non | nothing" tal:condition="python:originalPageNorm!=None"> [<span
31                    tal:replace="originalPageNorm" />]
32                </span></span></td>
33            </tal:block>
34          </tr>
35        </table>
36      </div>
37    </div>
38  </div>
39  <!-- /toc -->
40</body>
41</html>
Note: See TracBrowser for help on using the repository browser.