Bug 181582 - reorders the table cells on the query page so that the list headers…

Bug 181582 - reorders the table cells on the query page so that the list headers are grouped with the lists in Links and when used with voice synthesis packages. r= timeless, a= justdave
parent c64d5111
...@@ -359,56 +359,79 @@ function selectProduct(f) { ...@@ -359,56 +359,79 @@ function selectProduct(f) {
<tr> <tr>
<td colspan="4"> <td colspan="4">
<table> <table>
<tr valign="bottom"> <tr>
<th align="left"><u>P</u>roduct:</th> <td valign="top">
<th align="left"> <table>
<a href="describecomponents.cgi">Co<u>m</u>ponent</a>: <tr valign="bottom">
</th> <th align="left"><u>P</u>roduct:</th>
<th align="left"><u>V</u>ersion:</th> </tr>
<tr valign="top">
[% IF (Param("usetargetmilestone")) %] [%# Can't use the select block here because of the onChange %]
<th align="left"><u>T</u>arget:</th> <td align="left">
[% END %] <label for="product" accesskey="p">
</tr> <select name="product" multiple="multiple" size="5" id="product"
onchange="selectProduct(this.form);">
<tr valign="top"> [% FOREACH p = product %]
<option value="[% p.name FILTER html %]"
[%# Can't use the select block here because of onChange and the fact that [% " selected" IF lsearch(default.product, p.name) != -1 %]>
'component' is a toolkit reserved word - we use 'component_' instead. %] [% p.name FILTER html %]</option>
<td align="left"> [% END %]
<label for="product" accesskey="p"> </select>
<select name="product" multiple="multiple" size="5" id="product" </label>
onchange="selectProduct(this.form);"> </td>
[% FOREACH p = product %] </tr>
<option value="[% p.name FILTER html %]" </table>
[% " selected" IF lsearch(default.product, p.name) != -1 %]>
[% p.name FILTER html %]</option>
[% END %]
</select>
</label>
</td> </td>
<td valign="top">
<td align="left"> <table>
<label for="component" accesskey="m"> <tr valign="bottom">
<select name="component" id="component" <th align="left">
multiple="multiple" size="5"> <a href="describecomponents.cgi">Co<u>m</u>ponent</a>:
[% FOREACH c = component_ %] </th>
<option value="[% c FILTER html %]" </tr>
[% " selected" IF lsearch(default.component, c) != -1 %]> <tr valign="top">
[% c FILTER html %]</option> [%# Can't use the select block here because 'component' is a toolkit
[% END %] reserved word - we use 'component_' instead. %]
</select> <td align="left">
</label> <label for="component" accesskey="m">
<select name="component" id="component"
multiple="multiple" size="5">
[% FOREACH c = component_ %]
<option value="[% c FILTER html %]"
[% " selected" IF lsearch(default.component, c) != -1 %]>
[% c FILTER html %]</option>
[% END %]
</select>
</label>
</td>
</tr>
</table>
</td>
<td valign="top">
<table>
<tr valign="bottom">
<th align="left"><u>V</u>ersion:</th>
</tr>
<tr valign="top">
[% PROCESS select sel = { name => 'version',
size => 5,
accesskey => 'v' } %]
</tr>
</table>
</td>
[% IF Param('usetargetmilestone') %]
<td valign="top">
<table>
<tr valign="bottom">
<th align="left"><u>T</u>arget:</th>
</tr>
<tr valign="top">
[% PROCESS select sel = { name => 'target_milestone',
size => 5,
accesskey => 't' } %]
</tr>
</table>
</td> </td>
[% PROCESS select sel = { name => 'version',
size => 5,
accesskey => 'v' } %]
[% IF Param('usetargetmilestone') && target_milestone.size > 0 %]
[% PROCESS select sel = { name => 'target_milestone',
size => 5,
accesskey => 't' } %]
[% END %] [% END %]
</tr> </tr>
</table> </table>
...@@ -478,35 +501,80 @@ function selectProduct(f) { ...@@ -478,35 +501,80 @@ function selectProduct(f) {
<table> <table>
<tr> <tr>
<th align="left"><a href="queryhelp.cgi#status">St<u>a</u>tus</a>:</th> <td>
<th align="left"> <table>
<a href="queryhelp.cgi#resolution"><u>R</u>esolution</a>: <tr>
</th> <th align="left"><a href="queryhelp.cgi#status">St<u>a</u>tus</a>:</th>
<th align="left"><a href="queryhelp.cgi#severity">S<u>e</u>verity</a>:</th> </tr>
<th align="left"><a href="queryhelp.cgi#priority">Pr<u>i</u>ority</a>:</th> <tr valign="top">
<th align="left"><a href="queryhelp.cgi#platform"><u>H</u>ardware</a>:</th> [% PROCESS select sel = { name => 'bug_status',
<th align="left"><a href="queryhelp.cgi#opsys"><u>O</u>S</a>:</th> size => 7,
</tr> accesskey => 'a' } %]
</tr>
<tr valign="top"> </table>
[% PROCESS select sel = { name => 'bug_status', </td>
size => 7, <td>
accesskey => 'a' } %] <table>
[% PROCESS select sel = { name => 'resolution', <tr>
size => 7, <th align="left">
accesskey => 'r' } %] <a href="queryhelp.cgi#resolution"><u>R</u>esolution</a>:
[% PROCESS select sel = { name => 'bug_severity', </th>
size => 7, </tr>
accesskey => 'e' } %] <tr valign="top">
[% PROCESS select sel = { name => 'priority', [% PROCESS select sel = { name => 'resolution',
size => 7, size => 7,
accesskey => 'i' } %] accesskey => 'r' } %]
[% PROCESS select sel = { name => 'rep_platform', </tr>
size => 7, </table>
accesskey => 'h' } %] </td>
[% PROCESS select sel = { name => 'op_sys', <td>
size => 7, <table>
accesskey => 'o' } %] <tr>
<th align="left"><a href="queryhelp.cgi#severity">S<u>e</u>verity</a>:</th>
</tr>
<tr valign="top">
[% PROCESS select sel = { name => 'bug_severity',
size => 7,
accesskey => 'e' } %]
</tr>
</table>
</td>
<td>
<table>
<tr>
<th align="left"><a href="queryhelp.cgi#priority">Pr<u>i</u>ority</a>:</th>
</tr>
<tr valign="top">
[% PROCESS select sel = { name => 'priority',
size => 7,
accesskey => 'i' } %]
</tr>
</table>
</td>
<td>
<table>
<tr>
<th align="left"><a href="queryhelp.cgi#platform"><u>H</u>ardware</a>:</th>
</tr>
<tr valign="top">
[% PROCESS select sel = { name => 'rep_platform',
size => 7,
accesskey => 'h' } %]
</tr>
</table>
</td>
<td>
<table>
<tr>
<th align="left"><a href="queryhelp.cgi#opsys"><u>O</u>S</a>:</th>
</tr>
<tr valign="top">
[% PROCESS select sel = { name => 'op_sys',
size => 7,
accesskey => 'o' } %]
</tr>
</table>
</td>
</tr> </tr>
</table> </table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment