|
4452
|
1 <!-- Query-related macros -->
|
|
|
2
|
|
|
3 <!-- legend for query results -->
|
|
|
4 <tr metal:define-macro="legend">
|
|
|
5 <th><b>x</b></th>
|
|
|
6 <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th>
|
|
|
7 </tr>
|
|
|
8
|
|
|
9 <!-- navigation for query results -->
|
|
|
10 <tr metal:define-macro="navigation"
|
|
|
11 tal:define="prev batch/previous;
|
|
|
12 next batch/next;"
|
|
|
13 tal:condition="python:prev or next">
|
|
|
14 <th tal:condition="prev" width="30%">
|
|
|
15 <input type="button" value="prev"
|
|
|
16 tal:attributes="onclick string:query_start(${prev/start}, ${prev/size})"/>
|
|
|
17 </th>
|
|
|
18 <th i18n:translate="" width="40%">
|
|
|
19 <span tal:replace="batch/start" i18n:name="start"/>..
|
|
|
20 <span tal:replace="python: batch.start + batch.length -1" i18n:name="end"/> out of
|
|
|
21 <span tal:replace="batch/sequence_length" i18n:name="total"/>
|
|
|
22 </th>
|
|
|
23 <th tal:condition="next" width="30%">
|
|
|
24 <input type="button" value="next"
|
|
|
25 tal:attributes="onclick string:query_start(${next/start}, ${next/size})"/>
|
|
|
26 </th>
|
|
|
27 </tr>
|