Mercurial > p > roundup > code
diff templates/classic/html/_generic.help.html @ 2759:595f8bc5829a maint-0.7
more fixes
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 15 Oct 2004 00:25:05 +0000 |
| parents | 6d973371e29f |
| children |
line wrap: on
line diff
--- a/templates/classic/html/_generic.help.html Fri Oct 15 00:11:49 2004 +0000 +++ b/templates/classic/html/_generic.help.html Fri Oct 15 00:25:05 2004 +0000 @@ -29,6 +29,28 @@ <input type="button" name="btn_apply" class="apply" value=" Apply " onclick="updateList(); window.close();"/> </div> + <table width="100%"> + <tr class="navigation"> + <th> + <a tal:define="prev batch/previous" tal:condition="prev" + tal:attributes="href python:request.indexargs_href(request.classname, + {'@template':'help', 'property': request.form['property'].value, + 'properties': request.form['properties'].value, + '@startwith':prev.first, '@pagesize':prev.size})"><< previous</a> + + </th> + <th tal:content="python: '%d...%d out of %d'%(batch.start, + batch.start+batch.length-1, batch.sequence_length)">current</th> + <th> + <a tal:define="next batch/next" tal:condition="next" + tal:attributes="href python:request.indexargs_href(request.classname, + {'@template':'help', 'property': request.form['property'].value, + 'properties': request.form['properties'].value, + '@startwith':next.first, '@pagesize':next.size})">next >></a> + + </th> + </tr> + </table> <table class="classhelp"> <tr> @@ -54,22 +76,6 @@ <th tal:repeat="prop props" tal:content="prop"></th> </tr> </table> - <table width="100%"> - <tr class="navigation"> - <th> - <a tal:define="prev batch/previous" tal:condition="prev" - tal:attributes="href string:${request/classname}?@template=help&@startwith=${prev/first}&property=${request/form/property/value}&properties=${request/form/properties/value}"><< previous</a> - - </th> - <th tal:content="python: '%d...%d out of %d'%(batch.start, - batch.start+batch.length-1, batch.sequence_length)">current</th> - <th> - <a tal:define="next batch/next" tal:condition="next" - tal:attributes="href string:${request/classname}?@template=help&@startwith=${next/first}&property=${request/form/property/value}&properties=${request/form/properties/value}">next >></a> - - </th> - </tr> - </table> </form> </body>
