1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/themes/mercurialroundup/html/_generic.help-list.html Sun Jun 06 16:19:05 2010 +0200
1.3 @@ -0,0 +1,83 @@
1.4 +<!-- $Id: _generic.help-list.html,v 1.2 2008-03-01 08:18:07 richard Exp $ vim: sw=2 ts=8 et
1.5 +--><html tal:define="vok context/is_view_ok">
1.6 + <head>
1.7 + <title>Search result for user helper</title>
1.8 + <link rel="stylesheet" type="text/css" href="@@file/style.css" />
1.9 + <script language="Javascript" type="text/javascript"
1.10 + tal:content="structure string:<!--
1.11 + // this is the name of the field in the original form that we're working on
1.12 + form = parent.opener.document.${request/form/form/value};
1.13 + field = '${request/form/property/value}';
1.14 + //-->"></script>
1.15 + <script src="@@file/help_controls.js" type="text/javascript"></script>
1.16 +<script type="text/javascript"><!--
1.17 +var text_field = parent.submit.document.frm_help.text_preview;
1.18 +//--></script>
1.19 + </head>
1.20 + <body>
1.21 + <pre tal:content="request/env/QUERY_STRING" tal:condition=false />
1.22 +
1.23 + <p tal:condition="not:vok" i18n:translate="">You are not
1.24 + allowed to view this page.</p>
1.25 +
1.26 + <tal:if condition="context/is_view_ok">
1.27 + <tal:def define="batch request/batch;">
1.28 + <form name=dummyform>
1.29 + <table width="100%"
1.30 + tal:define="template string:help-list"
1.31 + metal:use-macro="templates/help/macros/batch_navi"
1.32 + >
1.33 + <tr class="navigation">
1.34 + <th>
1.35 + <a href="#"><< previous</a>
1.36 + </th>
1.37 + <th i18n:translate="">1..25 out of 50
1.38 + </th>
1.39 + <th>
1.40 + <a href="#">next >></a>
1.41 + </th>
1.42 + </tr>
1.43 + </table>
1.44 +
1.45 + <form name=dummyform>
1.46 + <table class="classhelp"
1.47 + tal:define="
1.48 + props python:request.form['properties'].value.split(',');
1.49 + legend templates/help/macros/legend;
1.50 + "><thead>
1.51 + <tr metal:use-macro="legend">
1.52 + <th> <b>x</b></th>
1.53 + <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th>
1.54 + </tr>
1.55 + </thead>
1.56 + <tfoot tal:condition=true>
1.57 + <tr metal:use-macro="legend" />
1.58 + </tfoot>
1.59 + <tbody>
1.60 + <tr tal:repeat="item batch">
1.61 + <tal:block tal:define="attr python:item[props[0]]" >
1.62 + <td>
1.63 + <input name="check"
1.64 + onclick="switch_val(text_field, this);" type="checkbox"
1.65 + tal:attributes="value attr; id string:id_$attr" />
1.66 + </td>
1.67 + <td tal:repeat="prop props">
1.68 + <label class="classhelp-label"
1.69 + tal:attributes="for string:id_$attr"
1.70 + tal:content="python:item[prop]"></label>
1.71 + </td>
1.72 + </tal:block>
1.73 + </tr>
1.74 + </tbody>
1.75 + </table>
1.76 + </form>
1.77 + </tal:def>
1.78 + </tal:if>
1.79 +
1.80 + <pre tal:content=request tal:condition=false />
1.81 + <script type="text/javascript"><!--
1.82 + parent.submit.document.frm_help.cb_listpresent.checked=true;
1.83 + reviseList_framed(document.dummyform, text_field)
1.84 + //--></script>
1.85 + </body>
1.86 +</html>