Mercurial > p > roundup > code
comparison website/issues/html/_generic.help.html @ 4024:c2d0d3e9099d website
svn repository setup
| author | Stefan Seefeld <stefan@users.sourceforge.net> |
|---|---|
| date | Fri, 06 Feb 2009 13:16:31 +0000 |
| parents | |
| children | 828bbf219e56 |
comparison
equal
deleted
inserted
replaced
| 4023:86c38b5aed66 | 4024:c2d0d3e9099d |
|---|---|
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 2 <html> | |
| 3 <head> | |
| 4 <link media="screen" href="http://python.org/styles/screen-switcher-default.css" type="text/css" id="screen-switcher-stylesheet" rel="stylesheet" /> | |
| 5 <link rel="stylesheet" type="text/css" href="@@file/style.css" /> | |
| 6 <meta http-equiv="Content-Type" | |
| 7 tal:attributes="content string:text/html;; charset=${request/client/charset}" /> | |
| 8 <tal:block tal:condition="python:request.form.has_key('property')"> | |
| 9 <tal:block tal:define="property request/form/property/value"> | |
| 10 <title i18n:translate=""><tal:x i18n:name="property" | |
| 11 tal:content="property" i18n:translate="" /> help - <span i18n:name="tracker" | |
| 12 tal:replace="config/TRACKER_NAME" /></title> | |
| 13 <script language="Javascript" type="text/javascript" | |
| 14 tal:content="structure string: | |
| 15 // this is the name of the field in the original form that we're working on | |
| 16 form = window.opener.document.${request/form/form/value}; | |
| 17 field = '${request/form/property/value}';"> | |
| 18 </script> | |
| 19 <script src="@@file/help_controls.js" type="text/javascript"><!-- | |
| 20 //--></script> | |
| 21 </tal:block> | |
| 22 </tal:block> | |
| 23 </head> | |
| 24 <body class="body" onload="resetList();"> | |
| 25 <h1 id="logoheader"> | |
| 26 <img src="http://python.org/images/python-logo.gif" alt="logo" border="0" /> | |
| 27 </h1> | |
| 28 <div id="content-body"> | |
| 29 <div id="content"> | |
| 30 <div id="breadcrumb">Python Issue Tracker: Help - <tal:block tal:content="context/classname">item</tal:block></div> | |
| 31 <tal:block tal:condition="python:request.form.has_key('property')"> | |
| 32 <form name="frm_help" action="#" | |
| 33 tal:define="batch request/batch; | |
| 34 props python:request.form['properties'].value.split(',')"> | |
| 35 | |
| 36 <div id="classhelp-controls"> | |
| 37 <!--input type="button" name="btn_clear" | |
| 38 value="Clear" onClick="clearList()"/ --> | |
| 39 <input type="text" name="text_preview" size="24" class="preview" | |
| 40 onchange="reviseList(this.value);"/> | |
| 41 <input type="button" name="btn_reset" | |
| 42 value=" Cancel " onclick="resetList(); window.close();" | |
| 43 i18n:attributes="value" /> | |
| 44 <input type="button" name="btn_apply" class="apply" | |
| 45 value=" Apply " onclick="updateList(); window.close();" | |
| 46 i18n:attributes="value" /> | |
| 47 </div> | |
| 48 <table width="100%"> | |
| 49 <tr class="navigation"> | |
| 50 <th> | |
| 51 <a tal:define="prev batch/previous" tal:condition="prev" | |
| 52 tal:attributes="href python:request.indexargs_url(request.classname, | |
| 53 {'@template':'help', 'property': request.form['property'].value, | |
| 54 'properties': request.form['properties'].value, | |
| 55 'form': request.form['form'].value, | |
| 56 'type': request.form['type'].value, | |
| 57 '@startwith':prev.first, '@pagesize':prev.size})" | |
| 58 i18n:translate="" ><< previous</a> | |
| 59 | |
| 60 </th> | |
| 61 <th i18n:translate=""><span tal:replace="batch/start" i18n:name="start" | |
| 62 />..<span tal:replace="python: batch.start + batch.length -1" i18n:name="end" | |
| 63 /> out of <span tal:replace="batch/sequence_length" i18n:name="total" | |
| 64 /> | |
| 65 </th> | |
| 66 <th> | |
| 67 <a tal:define="next batch/next" tal:condition="next" | |
| 68 tal:attributes="href python:request.indexargs_url(request.classname, | |
| 69 {'@template':'help', 'property': request.form['property'].value, | |
| 70 'properties': request.form['properties'].value, | |
| 71 'form': request.form['form'].value, | |
| 72 'type': request.form['type'].value, | |
| 73 '@startwith':next.first, '@pagesize':next.size})" | |
| 74 i18n:translate="" >next >></a> | |
| 75 | |
| 76 </th> | |
| 77 </tr> | |
| 78 </table> | |
| 79 | |
| 80 <table class="classhelp"> | |
| 81 <tr> | |
| 82 <th> <b>x</b></th> | |
| 83 <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th> | |
| 84 </tr> | |
| 85 <tr tal:repeat="item batch"> | |
| 86 <tal:block tal:define="attr python:item[props[0]]" > | |
| 87 <td> | |
| 88 <input name="check" | |
| 89 onclick="updatePreview();" | |
| 90 tal:attributes="type python:request.form['type'].value; | |
| 91 value attr; id string:id_$attr" /> | |
| 92 </td> | |
| 93 <td tal:repeat="prop props"> | |
| 94 <label class="classhelp-label" | |
| 95 tal:attributes="for string:id_$attr" | |
| 96 tal:content="structure python:item[prop]"></label> | |
| 97 </td> | |
| 98 </tal:block> | |
| 99 </tr> | |
| 100 <tr> | |
| 101 <th> <b>x</b></th> | |
| 102 <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th> | |
| 103 </tr> | |
| 104 </table> | |
| 105 | |
| 106 </form> | |
| 107 </tal:block> | |
| 108 <tal:block tal:condition="python:not request.form.has_key('property')"> | |
| 109 <tal:block tal:define="batch request/batch; | |
| 110 props python:request.form['properties'].value.split(',')"> | |
| 111 <table width="100%"> | |
| 112 <tr class="navigation"> | |
| 113 <th> | |
| 114 <a tal:define="prev batch/previous" tal:condition="prev" | |
| 115 tal:attributes="href python:request.indexargs_url(request.classname, | |
| 116 {'@template':'help', 'property': request.form['property'].value, | |
| 117 'properties': request.form['properties'].value, | |
| 118 'form': request.form['form'].value, | |
| 119 'type': request.form['type'].value, | |
| 120 '@startwith':prev.first, '@pagesize':prev.size})" | |
| 121 i18n:translate="" ><< previous</a> | |
| 122 | |
| 123 </th> | |
| 124 <th i18n:translate=""><span tal:replace="batch/start" i18n:name="start" | |
| 125 />..<span tal:replace="python: batch.start + batch.length -1" i18n:name="end" | |
| 126 /> out of <span tal:replace="batch/sequence_length" i18n:name="total" | |
| 127 /> | |
| 128 </th> | |
| 129 <th> | |
| 130 <a tal:define="next batch/next" tal:condition="next" | |
| 131 tal:attributes="href python:request.indexargs_url(request.classname, | |
| 132 {'@template':'help', 'property': request.form['property'].value, | |
| 133 'properties': request.form['properties'].value, | |
| 134 'form': request.form['form'].value, | |
| 135 'type': request.form['type'].value, | |
| 136 '@startwith':next.first, '@pagesize':next.size})" | |
| 137 i18n:translate="" >next >></a> | |
| 138 | |
| 139 </th> | |
| 140 </tr> | |
| 141 </table> | |
| 142 | |
| 143 <table class="classhelp"> | |
| 144 <tr> | |
| 145 <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th> | |
| 146 </tr> | |
| 147 <tr tal:repeat="item batch"> | |
| 148 <tal:block tal:define="attr python:item[props[0]]" > | |
| 149 <td tal:repeat="prop props"> | |
| 150 <label class="classhelp-label" | |
| 151 tal:attributes="for string:id_$attr" | |
| 152 tal:content="structure python:item[prop]"></label> | |
| 153 </td> | |
| 154 </tal:block> | |
| 155 </tr> | |
| 156 <tr> | |
| 157 <th tal:repeat="prop props" tal:content="prop" i18n:translate=""></th> | |
| 158 </tr> | |
| 159 </table> | |
| 160 </tal:block> | |
| 161 </tal:block> | |
| 162 </div> <!-- content-body --> | |
| 163 </div> <!-- content --> | |
| 164 </body> | |
| 165 </html> |
