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,22 +359,14 @@ function selectProduct(f) { ...@@ -359,22 +359,14 @@ function selectProduct(f) {
<tr> <tr>
<td colspan="4"> <td colspan="4">
<table> <table>
<tr>
<td valign="top">
<table>
<tr valign="bottom"> <tr valign="bottom">
<th align="left"><u>P</u>roduct:</th> <th align="left"><u>P</u>roduct:</th>
<th align="left">
<a href="describecomponents.cgi">Co<u>m</u>ponent</a>:
</th>
<th align="left"><u>V</u>ersion:</th>
[% IF (Param("usetargetmilestone")) %]
<th align="left"><u>T</u>arget:</th>
[% END %]
</tr> </tr>
<tr valign="top"> <tr valign="top">
[%# Can't use the select block here because of the onChange %]
[%# Can't use the select block here because of onChange and the fact that
'component' is a toolkit reserved word - we use 'component_' instead. %]
<td align="left"> <td align="left">
<label for="product" accesskey="p"> <label for="product" accesskey="p">
<select name="product" multiple="multiple" size="5" id="product" <select name="product" multiple="multiple" size="5" id="product"
...@@ -387,7 +379,19 @@ function selectProduct(f) { ...@@ -387,7 +379,19 @@ function selectProduct(f) {
</select> </select>
</label> </label>
</td> </td>
</tr>
</table>
</td>
<td valign="top">
<table>
<tr valign="bottom">
<th align="left">
<a href="describecomponents.cgi">Co<u>m</u>ponent</a>:
</th>
</tr>
<tr valign="top">
[%# Can't use the select block here because 'component' is a toolkit
reserved word - we use 'component_' instead. %]
<td align="left"> <td align="left">
<label for="component" accesskey="m"> <label for="component" accesskey="m">
<select name="component" id="component" <select name="component" id="component"
...@@ -400,15 +404,34 @@ function selectProduct(f) { ...@@ -400,15 +404,34 @@ function selectProduct(f) {
</select> </select>
</label> </label>
</td> </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', [% PROCESS select sel = { name => 'version',
size => 5, size => 5,
accesskey => 'v' } %] accesskey => 'v' } %]
</tr>
[% IF Param('usetargetmilestone') && target_milestone.size > 0 %] </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', [% PROCESS select sel = { name => 'target_milestone',
size => 5, size => 5,
accesskey => 't' } %] accesskey => 't' } %]
</tr>
</table>
</td>
[% END %] [% END %]
</tr> </tr>
</table> </table>
...@@ -478,36 +501,81 @@ function selectProduct(f) { ...@@ -478,36 +501,81 @@ function selectProduct(f) {
<table> <table>
<tr> <tr>
<td>
<table>
<tr>
<th align="left"><a href="queryhelp.cgi#status">St<u>a</u>tus</a>:</th> <th align="left"><a href="queryhelp.cgi#status">St<u>a</u>tus</a>:</th>
<th align="left">
<a href="queryhelp.cgi#resolution"><u>R</u>esolution</a>:
</th>
<th align="left"><a href="queryhelp.cgi#severity">S<u>e</u>verity</a>:</th>
<th align="left"><a href="queryhelp.cgi#priority">Pr<u>i</u>ority</a>:</th>
<th align="left"><a href="queryhelp.cgi#platform"><u>H</u>ardware</a>:</th>
<th align="left"><a href="queryhelp.cgi#opsys"><u>O</u>S</a>:</th>
</tr> </tr>
<tr valign="top"> <tr valign="top">
[% PROCESS select sel = { name => 'bug_status', [% PROCESS select sel = { name => 'bug_status',
size => 7, size => 7,
accesskey => 'a' } %] accesskey => 'a' } %]
</tr>
</table>
</td>
<td>
<table>
<tr>
<th align="left">
<a href="queryhelp.cgi#resolution"><u>R</u>esolution</a>:
</th>
</tr>
<tr valign="top">
[% PROCESS select sel = { name => 'resolution', [% PROCESS select sel = { name => 'resolution',
size => 7, size => 7,
accesskey => 'r' } %] accesskey => 'r' } %]
</tr>
</table>
</td>
<td>
<table>
<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', [% PROCESS select sel = { name => 'bug_severity',
size => 7, size => 7,
accesskey => 'e' } %] 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', [% PROCESS select sel = { name => 'priority',
size => 7, size => 7,
accesskey => 'i' } %] 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', [% PROCESS select sel = { name => 'rep_platform',
size => 7, size => 7,
accesskey => 'h' } %] 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', [% PROCESS select sel = { name => 'op_sys',
size => 7, size => 7,
accesskey => 'o' } %] accesskey => 'o' } %]
</tr> </tr>
</table>
</td>
</tr>
</table> </table>
<p> <p>
......
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