Mercurial > hg > documentViewer
comparison zpt/toc_thumbs.zpt @ 540:4b43a57ad9b3
more nicer
author | casties |
---|---|
date | Thu, 16 Aug 2012 19:09:49 +0200 |
parents | 37d122560028 |
children | 60f5a636bc57 |
comparison
equal
deleted
inserted
replaced
539:37d122560028 | 540:4b43a57ad9b3 |
---|---|
17 left python:test(flowLtr,pageBatch['prevStart'],pageBatch['nextStart']); | 17 left python:test(flowLtr,pageBatch['prevStart'],pageBatch['nextStart']); |
18 right python:test(flowLtr,pageBatch['nextStart'],pageBatch['prevStart']);"> | 18 right python:test(flowLtr,pageBatch['nextStart'],pageBatch['prevStart']);"> |
19 | 19 |
20 <div class="content"> | 20 <div class="content"> |
21 <h4>List of thumbnails</h4> | 21 <h4>List of thumbnails</h4> |
22 <div class="ruler"> | 22 <div class="ruler top"> |
23 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler_thumbs" /> | 23 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler_thumbs" /> |
24 </div> | 24 </div> |
25 <table class="thumbs"> | 25 <table class="thumbs"> |
26 <tr tal:repeat="row pageBatch/pages"> | 26 <tr tal:repeat="row pageBatch/pages"> |
27 <td tal:repeat="thumb row" tal:attributes="class python:here.getStyle(thumb['idx'],pn,'thumb')"><a | 27 <td tal:repeat="thumb row" tal:attributes="class python:here.getStyle(thumb['idx'],pn,'thumb')"><a |
32 tal:condition="python:pageNumbers and pageNumbers.get(idx, False) and pageNumbers[idx]['no']" | 32 tal:condition="python:pageNumbers and pageNumbers.get(idx, False) and pageNumbers[idx]['no']" |
33 tal:attributes="title python:'Original page number %s'%(pageNumbers[idx]['no'])" tal:content="python:' (%s)'%(pageNumbers[idx]['no'])" /> | 33 tal:attributes="title python:'Original page number %s'%(pageNumbers[idx]['no'])" tal:content="python:' (%s)'%(pageNumbers[idx]['no'])" /> |
34 </a></td> | 34 </a></td> |
35 </tr> | 35 </tr> |
36 </table> | 36 </table> |
37 <div class="ruler"> | 37 <div class="ruler bottom"> |
38 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler_thumbs" /> | 38 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler_thumbs" /> |
39 </div> | 39 </div> |
40 </div> | 40 </div> |
41 <!-- content --> | 41 <!-- content --> |
42 </div> | 42 </div> |