slitaz-forge diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bugs/templates/slitaz/html/help.html Thu Apr 14 01:13:16 2011 +0200 1.3 @@ -0,0 +1,39 @@ 1.4 +<!-- 1.5 +Macros for framed help windows 1.6 +--> 1.7 + 1.8 +<!-- legend for helper search results --> 1.9 +<thead> 1.10 +<tr metal:define-macro="legend"> 1.11 + <th><b>x</b></th> 1.12 + <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th> 1.13 +</tr> 1.14 +</thead> 1.15 + 1.16 +<table width="100%" 1.17 + metal:define-macro="batch_navi" 1.18 + tal:define="prev batch/previous; 1.19 + next batch/next; 1.20 + " 1.21 + tal:condition="python:prev or next"> 1.22 + <tr class="navigation"> 1.23 + <th width="30%"> 1.24 + <a tal:condition="prev" 1.25 + 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})" 1.26 + i18n:translate="" ><< previous</a> 1.27 + 1.28 + </th> 1.29 + <th i18n:translate="" width="40%"><span tal:replace="batch/start" i18n:name="start" 1.30 + />..<span tal:replace="python: batch.start + batch.length -1" i18n:name="end" 1.31 + /> out of <span tal:replace="batch/sequence_length" i18n:name="total" 1.32 + /> 1.33 + </th> 1.34 + <th width="30%"> 1.35 + <a tal:condition="next" 1.36 + 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})" 1.37 + i18n:translate="" >next >></a> 1.38 + 1.39 + </th> 1.40 + </tr> 1.41 + </table> 1.42 +<!-- SHA: 5bb5e9db92d4dea06f6bd0224f34dce86020d4c2 -->