slitaz-forge view bugs/templates/slitaz/html/help.html @ rev 64

Add bugs template and WSGI handler (may be buggy --> fallback to CGI or roundup-server)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 14 01:13:16 2011 +0200 (2011-04-14)
parents
children
line source
1 <!--
2 Macros for framed help windows
3 -->
5 <!-- legend for helper search results -->
6 <thead>
7 <tr metal:define-macro="legend">
8 <th><b>x</b></th>
9 <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th>
10 </tr>
11 </thead>
13 <table width="100%"
14 metal:define-macro="batch_navi"
15 tal:define="prev batch/previous;
16 next batch/next;
17 "
18 tal:condition="python:prev or next">
19 <tr class="navigation">
20 <th width="30%">
21 <a tal:condition="prev"
22 tal:attributes="href python:request.indexargs_url(request.classname, {'@template':'help-list', 'property': request.form['property'].value, 'properties': request.form['properties'].value, 'form': request.form['form'].value, '@startwith':prev.first, '@pagesize':prev.size})"
23 i18n:translate="" >&lt;&lt; previous</a>
24 &nbsp;
25 </th>
26 <th i18n:translate="" width="40%"><span tal:replace="batch/start" i18n:name="start"
27 />..<span tal:replace="python: batch.start + batch.length -1" i18n:name="end"
28 /> out of <span tal:replace="batch/sequence_length" i18n:name="total"
29 />
30 </th>
31 <th width="30%">
32 <a tal:condition="next"
33 tal:attributes="href python:request.indexargs_url(request.classname, {'@template':'help-list', 'property': request.form['property'].value, 'properties': request.form['properties'].value, 'form': request.form['form'].value, '@startwith':next.first, '@pagesize':next.size})"
34 i18n:translate="" >next &gt;&gt;</a>
35 &nbsp;
36 </th>
37 </tr>
38 </table>
39 <!-- SHA: 5bb5e9db92d4dea06f6bd0224f34dce86020d4c2 -->