1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/themes/mercurialroundup/html/_generic.help.html Sun Jun 06 16:19:05 2010 +0200
1.3 @@ -0,0 +1,98 @@
1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1.5 +<html tal:define="property request/form/property/value" >
1.6 + <head>
1.7 + <link rel="stylesheet" type="text/css" href="@@file/style.css" />
1.8 + <meta http-equiv="Content-Type"
1.9 + tal:attributes="content string:text/html;; charset=${request/client/charset}" />
1.10 + <tal:block tal:condition="python:request.form.has_key('property')">
1.11 + <title i18n:translate=""><tal:x i18n:name="property"
1.12 + tal:content="property" i18n:translate="" /> help - <span i18n:name="tracker"
1.13 + tal:replace="config/TRACKER_NAME" /></title>
1.14 + <script language="Javascript" type="text/javascript"
1.15 + tal:content="structure string:
1.16 + // this is the name of the field in the original form that we're working on
1.17 + form = window.opener.document.${request/form/form/value};
1.18 + field = '${request/form/property/value}';">
1.19 + </script>
1.20 + <script src="@@file/help_controls.js" type="text/javascript"><!--
1.21 + //--></script>
1.22 + </tal:block>
1.23 + </head>
1.24 + <body class="body" onload="resetList();">
1.25 + <form name="frm_help" tal:attributes="action request/base"
1.26 + tal:define="batch request/batch;
1.27 + props python:request.form['properties'].value.split(',')">
1.28 +
1.29 + <div id="classhelp-controls">
1.30 + <!--input type="button" name="btn_clear"
1.31 + value="Clear" onClick="clearList()"/ -->
1.32 + <input type="text" name="text_preview" size="24" class="preview"
1.33 + onchange="reviseList(this.value);"/>
1.34 + <input type="button" name="btn_reset"
1.35 + value=" Cancel " onclick="resetList(); window.close();"
1.36 + i18n:attributes="value" />
1.37 + <input type="button" name="btn_apply" class="apply"
1.38 + value=" Apply " onclick="updateList(); window.close();"
1.39 + i18n:attributes="value" />
1.40 + </div>
1.41 + <table width="100%">
1.42 + <tr class="navigation">
1.43 + <th>
1.44 + <a tal:define="prev batch/previous" tal:condition="prev"
1.45 + tal:attributes="href python:request.indexargs_url(request.classname,
1.46 + {'@template':'help', 'property': request.form['property'].value,
1.47 + 'properties': request.form['properties'].value,
1.48 + 'form': request.form['form'].value,
1.49 + 'type': request.form['type'].value,
1.50 + '@startwith':prev.first, '@pagesize':prev.size})"
1.51 + i18n:translate="" ><< previous</a>
1.52 +
1.53 + </th>
1.54 + <th i18n:translate=""><span tal:replace="batch/start" i18n:name="start"
1.55 + />..<span tal:replace="python: batch.start + batch.length -1" i18n:name="end"
1.56 + /> out of <span tal:replace="batch/sequence_length" i18n:name="total"
1.57 + />
1.58 + </th>
1.59 + <th>
1.60 + <a tal:define="next batch/next" tal:condition="next"
1.61 + tal:attributes="href python:request.indexargs_url(request.classname,
1.62 + {'@template':'help', 'property': request.form['property'].value,
1.63 + 'properties': request.form['properties'].value,
1.64 + 'form': request.form['form'].value,
1.65 + 'type': request.form['type'].value,
1.66 + '@startwith':next.first, '@pagesize':next.size})"
1.67 + i18n:translate="" >next >></a>
1.68 +
1.69 + </th>
1.70 + </tr>
1.71 + </table>
1.72 +
1.73 + <table class="classhelp">
1.74 + <tr>
1.75 + <th> <b>x</b></th>
1.76 + <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th>
1.77 + </tr>
1.78 + <tr tal:repeat="item batch">
1.79 + <tal:block tal:define="attr python:item[props[0]]" >
1.80 + <td>
1.81 + <input name="check"
1.82 + onclick="updatePreview();"
1.83 + tal:attributes="type python:request.form['type'].value;
1.84 + value attr; id string:id_$attr" />
1.85 + </td>
1.86 + <td tal:repeat="prop props">
1.87 + <label class="classhelp-label"
1.88 + tal:attributes="for string:id_$attr"
1.89 + tal:content="python:item[prop]"></label>
1.90 + </td>
1.91 + </tal:block>
1.92 + </tr>
1.93 + <tr>
1.94 + <th> <b>x</b></th>
1.95 + <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th>
1.96 + </tr>
1.97 + </table>
1.98 +
1.99 + </form>
1.100 + </body>
1.101 +</html>