Commit 23627933 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 317694: All buttons in forms must have an id - Patches by André Batosti…

Bug 317694: All buttons in forms must have an id - Patches by André Batosti <batosti@async.com.br> r=ghendricks a=myk
parent 38b44914
......@@ -74,7 +74,8 @@
[% END %]
<tr>
<td><input type="submit" name="GoAheadAndLogIn" value="Login"></td>
<td><input type="submit" name="GoAheadAndLogIn" value="Login"
id="log_in"></td>
[%# For now, password change requests only apply to the DB
# verification method #%]
......
......@@ -87,7 +87,7 @@
[% PROCESS "global/hidden-fields.html.tmpl"
exclude="^Bugzilla_(login|password|restrictlogin)$" %]
<input type="submit" name="GoAheadAndLogIn" value="Log in">
<input type="submit" name="GoAheadAndLogIn" value="Log in" id="log_in">
<p>
(Note: you should make sure cookies are enabled for this site.
......@@ -118,7 +118,7 @@
enter your login name below and submit a request
to change your password.<br>
<input size="35" name="loginname">
<input type="submit" value="Submit Request">
<input type="submit" id="request" value="Submit Request">
</form>
[% END %]
......
......@@ -69,7 +69,7 @@ Create a new [% terms.Bugzilla %] account
</tr>
</table>
<br>
<input type="submit" value="Create Account">
<input type="submit" id="create" value="Create Account">
</form>
[% PROCESS global/footer.html.tmpl %]
......@@ -40,7 +40,7 @@
</tr>
<tr>
<th align="right">&nbsp;</th>
<td><input type="submit" value="Submit"></td>
<td><input type="submit" id="confirm" value="Submit"></td>
</tr>
</table>
</form>
......
......@@ -34,7 +34,8 @@
<input type="hidden" name="loginname" value="[% login FILTER html %]">
A [% terms.Bugzilla %] account for <tt>[% login FILTER html %]</tt> already exists. If you
are the account holder and have forgotten your password,
<input type="submit" value="submit a request to change it">.
<input type="submit" id="request"
value="submit a request to change it">.
</form>
[% PROCESS global/footer.html.tmpl %]
......@@ -47,7 +47,7 @@
<tr>
<th align="right">&nbsp;</th>
<td>
<input type="submit" value="Submit">
<input type="submit" id="update" value="Submit">
</td>
</tr>
</table>
......
......@@ -96,7 +96,7 @@
<tr>
<td width="150">&nbsp;</td>
<td>
<input type="submit" value="Submit Changes">
<input type="submit" id="update" value="Submit Changes">
</td>
</tr>
</table>
......
......@@ -146,7 +146,7 @@
<p>Do you really want to delete this component?<p>
<form method="post" action="editcomponents.cgi">
<input type="submit" value="Yes, delete">
<input type="submit" id="delete" value="Yes, delete">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="hidden" name="component" value="[% comp.name FILTER html %]">
......
......@@ -78,7 +78,7 @@
[% END %]
</table>
<hr>
<input type="submit" value="Add">
<input type="submit" id="create" value="Add">
<input type="hidden" name="action" value="new">
<input type="hidden" name='open_name' value='All Open'>
<input type="hidden" name='nonopen_name' value='All Closed'>
......
......@@ -100,7 +100,7 @@
<input type="hidden" name="action" value="update">
<input type="hidden" name="componentold" value="[% comp.name FILTER html %]">
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="submit" value="Update"> or <a
<input type="submit" value="Update" id="update"> or <a
href="editcomponents.cgi?action=del&amp;product=
[%- product.name FILTER url_quote %]&amp;component=
[%- comp.name FILTER url_quote %]">Delete</a> this component.
......
......@@ -107,7 +107,7 @@
<p>Do you really want to delete this value?</p>
<form method="post" action="editvalues.cgi">
<input type="submit" value="Yes, delete">
<input type="submit" value="Yes, delete" id="delete">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="field" value="[% field FILTER html %]">
<input type="hidden" name="value" value="[% value FILTER html %]">
......
......@@ -39,7 +39,7 @@
value=""></td>
</tr>
</table>
<input type="submit" value="Add">
<input type="submit" id="create" value="Add">
<input type="hidden" name="action" value="new">
<input type="hidden" name='field' value="[% field FILTER html %]">
......
......@@ -48,7 +48,7 @@
<input type="hidden" name="sortkeyold" value="[% sortkey FILTER html %]">
<input type="hidden" name="action" value="update">
<input type="hidden" name="field" value="[% field FILTER html %]">
<input type="submit" value="Update">
<input type="submit" id="update" value="Update">
</form>
......
......@@ -209,7 +209,7 @@
<tr>
<th></th>
<td>
<input type="submit" value="
<input type="submit" id="save" value="
[%- IF (last_action == "enter" || last_action == "copy") %]Create
[%- ELSE %]Save Changes
[%- END %]">
......
......@@ -47,7 +47,7 @@
<input type="checkbox" name="insertnew" value="1"
[% IF Param("makeproductgroups") %] checked[% END %]>
Insert new group into all existing products.<p>
<input type="submit" value="Add">
<input type="submit" id="create" value="Add">
<input type="hidden" name="action" value="new">
</form>
......
......@@ -100,7 +100,7 @@
indicated problems first before you can proceed.</b></p>
[% END %]
<p><input type="submit" value="Yes, delete">
<p><input type="submit" id="delete" value="Yes, delete">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="group" value="[% gid FILTER html %]">
</form>
......
......@@ -170,7 +170,7 @@
[% END %]
</table>
<input type="submit" value="Save Changes">
<input type="submit" id="update" value="Save Changes">
<br>
<dl>
[% IF usevisibility %]
......
......@@ -46,7 +46,8 @@
<input type="hidden" name="id" value="[% keyword_id %]">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="reallydelete" value="1">
<input type="submit" value="Yes, really delete the keyword">
<input type="submit" id="delete"
value="Yes, really delete the keyword">
</form>
<p><a href="editkeywords.cgi">Edit other keywords</a>.</p>
......
......@@ -49,7 +49,7 @@
</table>
<hr>
<input type="hidden" name="id" value="-1">
<input type="submit" value="Add">
<input type="submit" id="create" value="Add">
<input type="hidden" name="action" value="new">
</form>
......
......@@ -64,7 +64,7 @@
</tr>
</table>
<input type="submit" value="Update">
<input type="submit" id="update" value="Update">
<input type="hidden" name="action" value="update">
<input type="hidden" name="id" value="[% keyword_id %]">
</form>
......
......@@ -86,7 +86,7 @@
<p>Do you really want to delete this milestone?<p>
<form method="post" action="editmilestones.cgi">
<input type="submit" value="Yes, delete">
<input type="submit" id="delete" value="Yes, delete">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="hidden" name="milestone" value="[% milestone.name FILTER html %]">
......
......@@ -46,7 +46,7 @@
value=""></td>
</tr>
</table>
<input type="submit" value="Add">
<input type="submit" id="create" value="Add">
<input type="hidden" name="action" value="new">
<input type="hidden" name='product' value="[% product.name FILTER html %]">
......
......@@ -54,7 +54,7 @@
<input type="hidden" name="milestoneold" value="[% milestone.name FILTER html %]">
<input type="hidden" name="action" value="update">
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="submit" value="Update">
<input type="submit" id="update" value="Update">
</form>
......
......@@ -260,7 +260,7 @@
<p>Do you really want to delete this product?<p>
<form method="post" action="editproducts.cgi">
<input type="submit" value="Yes, delete">
<input type="submit" id="delete" value="Yes, delete">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="hidden" name="classification"
......
......@@ -48,7 +48,7 @@ be removed.[% END %]
return to the previous page.
<p>
<input type="hidden" name="confirmed" value="confirmed">
<input type="submit" value="Continue">
<input type="submit" id="update" value="Continue">
</p>
</form>
......
......@@ -89,7 +89,7 @@ page, and the Default Value will automatically apply to everyone.
<tr>
<td width="150"></td>
<td>
<input type="submit" value="Submit Changes">
<input type="submit" id="update" value="Submit Changes">
</td>
</tr>
</table>
......
......@@ -424,7 +424,7 @@
<form method="post" action="editusers.cgi">
<p>
<input type="submit" value="Yes, delete" />
<input type="submit" id="delete" value="Yes, delete"/>
<input type="hidden" name="action" value="delete" />
<input type="hidden" name="userid" value="[% otheruser.id %]" />
[% INCLUDE listselectionhiddenfields %]
......
......@@ -39,7 +39,7 @@
%]
</table>
<p>
<input type="submit" value="Add" />
<input type="submit" id="add" value="Add"/>
<input type="hidden" name="action" value="new" />
[% INCLUDE listselectionhiddenfields %]
</p>
......
......@@ -101,7 +101,7 @@
</table>
<p>
<input type="submit" value="Update" />
<input type="submit" id="update" value="Update" />
<input type="hidden" name="userid" value="[% otheruser.id %]" />
<input type="hidden" name="action" value="update" />
[% INCLUDE listselectionhiddenfields %]
......@@ -128,7 +128,7 @@
[% IF Param('allowuserdeletion') && editusers %]
<form method="post" action="editusers.cgi">
<p>
<input type="submit" value="Delete User" />
<input type="submit" id="delete" value="Delete User" />
<input type="hidden" name="action" value="del" />
<input type="hidden" name="userid" value="[% otheruser.id %]" />
[% INCLUDE listselectionhiddenfields %]
......
......@@ -50,7 +50,7 @@
<option value="notregexp">not (case-insensitive regexp)</option>
<option value="exact">exact (find this user)</option>
</select>
<input type="submit" value="Search" /></p>
<input type="submit" id="search" value="Search" /></p>
[% IF restrictablegroups.size %]
<p><input type="checkbox" name="grouprestrict" value="1" id="grouprestrict" />
......
......@@ -88,7 +88,7 @@
<p>Do you really want to delete this version?<p>
<form method="post" action="editversions.cgi">
<input type="submit" value="Yes, delete">
<input type="submit" id="delete" value="Yes, delete">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="hidden" name="version" value="[% version.name FILTER html %]">
......
......@@ -40,7 +40,7 @@
value=""></td>
</tr>
</table>
<input type="submit" value="Add">
<input type="submit" id="create" value="Add">
<input type="hidden" name="action" value="new">
<input type="hidden" name='product' value="[% product.name FILTER html %]">
......
......@@ -48,7 +48,7 @@
<input type="hidden" name="versionold" value="[% version.name FILTER html %]">
<input type="hidden" name="action" value="update">
<input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="submit" value="Update">
<input type="submit" id="update" value="Update">
</form>
......
......@@ -29,15 +29,15 @@
<form name="choose-id" method="get" action="attachment.cgi">
<p>Access an attachment by entering its ID into the form below:</p>
<p>Attachment ID: <input name="id" size="6">
<button name="action" value="edit">&nbsp;Edit&nbsp;</button>
<button name="action" value="view">View</button>
<button name="action" value="edit" id="edit">&nbsp;Edit&nbsp;</button>
<button name="action" value="view" id="view">View</button>
</p>
</form>
<form method="get" action="show_bug.cgi">
<p>Or, access it from the list of attachments in its associated [% terms.bug %] report:</p>
<p>[% terms.Bug %] ID: <input name="id" size="6">
<input type="submit" name="action" value="View">
<input type="submit" name="action" value="View" id="action">
</p>
</form>
......
......@@ -77,7 +77,7 @@
<label for="reason">Reason of the deletion:</label>
<input type="text" id="reason" name="reason" value="" size="80" maxlength="200">
<p>
<input type="submit" value="Yes, delete">
<input type="submit" value="Yes, delete" id="delete">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="id" value="[% a.id FILTER html %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
......
......@@ -104,7 +104,7 @@
[% END %]
<tr>
<th>&nbsp;</th>
<td><input type="submit" value="Submit"></td>
<td><input type="submit" id="create" value="Submit"></td>
</tr>
</table>
......
......@@ -257,7 +257,7 @@ tbody.file pre:empty {
[% END %]
</select>
and this patch
<input type="submit" value="Diff">
<input type="submit" id="diff" value="Diff">
<input type="hidden" name="action" value="interdiff">
<input type="hidden" name="newid" value="[% attachid %]">
<input type="hidden" name="headers" value="[% headers FILTER html %]">
......
......@@ -268,7 +268,7 @@
%]<br>
</div>
<input type="submit" value="Submit"><br><br>
<input type="submit" value="Submit" id="update"><br><br>
<strong>Actions:</strong>
<a href="attachment.cgi?id=[% attachment.id %]">View</a>
[% IF attachment.ispatch && patchviewerinstalled %]
......
......@@ -29,7 +29,7 @@
<p>
You may find a single [% terms.bug %] by entering its [% terms.bug %] id here:
<input name="id" size="6">
<input type="submit" value="Show Me This [% terms.Bug %]">
<input type="submit" id="show" value="Show Me This [% terms.Bug %]">
</p>
</form>
......
......@@ -48,7 +48,7 @@ FILTER bug_link(bugid) FILTER none %].</font></p>
[% PROCESS "global/hidden-fields.html.tmpl"
exclude="^(Bugzilla_login|Bugzilla_password|ignore_token)$" %]
<input type="hidden" name="ignore_token" value="[% bugid FILTER html %]">
<input type="submit" value="File [% terms.bug %] again">
<input type="submit" value="File [% terms.bug %] again" id="file_bug_again">
</form>
[% END %]
......
......@@ -157,7 +157,7 @@ function PutDescription() {
<input type="hidden" name="chfieldto" value="Now">
<input type="hidden" name="chfield" value="[Bug creation]">
<input type="text" name="content" size="40">
<input type="submit" value="Search">
<input type="submit" id="search" value="Search">
</form>
<p>
......@@ -503,7 +503,7 @@ function PutDescription() {
<h3>Step 3 of 3 - submit the [% terms.bug %] report</h3>
<p>
<input type="submit" value=" Submit [% terms.Bug %] Report "
<input type="submit" id="report" value=" Submit [% terms.Bug %] Report "
onclick="if (this.form.comment.value == '')
{ alert('Please enter some details about this [% terms.bug %].');
this.form.comment.focus();
......
......@@ -456,12 +456,12 @@ function handleWantsAttachment(wants_attachment) {
<tr>
<td></td>
<td colspan="3">
<input type="submit" value=" Commit "
<input type="submit" id="commit" value=" Commit "
onclick="if (this.form.short_desc.value == '')
{ alert('Please enter a summary sentence for this [% terms.bug %].');
return false; } return true;">
&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" name="maketemplate"
<input type="submit" name="maketemplate" id="maketemplate"
value="Remember values as bookmarkable template">
</td>
</tr>
......
......@@ -104,7 +104,7 @@
</td>
</tr>
</table>
<input type="submit" value="Change Parameters">
<input type="submit" id="change" value="Change Parameters">
</form>
[% PROCESS global/footer.html.tmpl %]
......@@ -171,7 +171,7 @@
<input name="maxdepth" type="hidden" value="[% maxdepth %]">
[% END %]
<input type="hidden" name="hide_resolved" value="[% hide_resolved ? 0 : 1 %]">
<input type="submit"
<input type="submit" id="toggle_visibility"
value="[% IF hide_resolved %]Show[% ELSE %]Hide[% END %] Resolved">
</form>
</td>
......@@ -188,7 +188,8 @@
<form method="get" action="showdependencytree.cgi"
style="display: inline; margin: 0px;">
[%# set to one form %]
<input type="submit" value="&nbsp;1&nbsp;"
<input type="submit" id="change_maxdepth"
value="&nbsp;1&nbsp;"
[% "disabled" IF realdepth < 2 || maxdepth == 1 %]>
<input name="id" type="hidden" value="[% bugid %]">
<input name="maxdepth" type="hidden" value="1">
......@@ -207,7 +208,7 @@
: ( maxdepth ? maxdepth - 1 : realdepth - 1 )
%]">
<input name="hide_resolved" type="hidden" value="[% hide_resolved %]">
<input type="submit" value="&nbsp;&lt;&nbsp;"
<input type="submit" id="decrase_depth" value="&nbsp;&lt;&nbsp;"
[% "disabled" IF realdepth < 2 || ( maxdepth && maxdepth < 2 ) %]>
</form>
</td>
......@@ -223,7 +224,8 @@
<input name="id" type="hidden" value="[% bugid %]">
<input name="hide_resolved" type="hidden" value="[% hide_resolved %]">
<noscript>
<input type="submit" value="Change" [% "disabled" IF realdepth < 2 %]>
<input type="submit" id="change_depth" value="Change"
[% "disabled" IF realdepth < 2 %]>
</noscript>
</form>
</td>
......@@ -238,7 +240,7 @@
<input name="maxdepth" type="hidden" value="[% maxdepth + 1 %]">
[% END %]
<input name="hide_resolved" type="hidden" value="[% hide_resolved %]">
<input type="submit" value="&nbsp;&gt;&nbsp;"
<input type="submit" id="increase_depth" value="&nbsp;&gt;&nbsp;"
[% "disabled" IF realdepth < 2 || !maxdepth || maxdepth >= realdepth %]
%]>
</form>
......@@ -250,7 +252,8 @@
[%# Unlimited button %]
<input name="id" type="hidden" value="[% bugid %]">
<input name="hide_resolved" type="hidden" value="[% hide_resolved %]">
<input type="submit" value="&nbsp;Unlimited&nbsp;"
<input type="submit" id="remove_limit"
value="&nbsp;Unlimited&nbsp;"
[% "disabled" IF maxdepth == 0 || maxdepth == realdepth %]>
</form>
</td>
......
......@@ -154,7 +154,7 @@
[% END %]
[% END %]
<input type="submit" value="Commit">
<input type="submit" value="Commit" id="commit">
<p>
<font size="+1">
<b>
......@@ -173,7 +173,7 @@
[% IF bug.user.canmove %]
&nbsp; <font size="+1"><b> | </b></font> &nbsp;
<input type="submit" name="action"
<input type="submit" name="action" id="action"
value="[% Param("move-button-text") %]">
[% END %]
</p>
......
......@@ -68,7 +68,7 @@
<a href="show_bug.cgi?id=[% duplicate_bug_id %]">Throw away my changes,
and revisit [% terms.bug %] [%+ duplicate_bug_id %]</a>
<p>
<input type="submit" value="Submit">
<input type="submit" id="process" value="Submit">
</p>
</form>
......
......@@ -77,7 +77,7 @@ You have the following choices:
<li>
<form method="post" action="process_bug.cgi">
[% PROCESS "global/hidden-fields.html.tmpl" exclude="^Bugzilla_(login|password)$" %]
<input type="submit" value="Submit my changes anyway">
<input type="submit" id="process" value="Submit my changes anyway">
This will cause all of the above changes to be overwritten
[% ", except for the added comment(s)" IF comments.size > start_at %].
</form>
......
......@@ -101,7 +101,7 @@
</p>
[% END %]
<input type="submit" value="Commit">
<input type="submit" id="change_product" value="Commit">
</form>
<hr>
......
......@@ -268,7 +268,7 @@
<input type="text" name="end_date" size="11" id="end_date"
align="right" value ="[% end_date FILTER html %]" maxlength="10">
</td><td align="right">
<input type="submit" value="Summarize">
<input type="submit" id="summarize" value="Summarize">
</td></tr>
<tr>
<td>&nbsp;</td><td colspan="4">
......
......@@ -45,7 +45,7 @@
No, go back and review my votes
</p>
<p>
<input type="submit" value="Submit">
<input type="submit" id="vote" value="Submit">
</p>
</form>
......
......@@ -146,7 +146,7 @@
</table>
[% IF canedit %]
<input type="submit" value="Change My Votes">
<input type="submit" value="Change My Votes" id="change">
<br>
<br>
To change your votes,
......
......@@ -30,7 +30,7 @@
{ alert('Please enter one or more search terms first.');
return false; } return true;">
<input class="txt" type="text" name="quicksearch">
<input class="btn" type="submit" value="Find">
<input class="btn" type="submit" value="Find" id="find">
</form> |
<a href="report.cgi">Reports</a>
......
......@@ -150,7 +150,7 @@
[% PROCESS "global/hidden-fields.html.tmpl" exclude="^Bugzilla_(login|password)$" %]
<p>
<input type="submit" value="Continue">
<input type="submit" id="continue" value="Continue">
</p>
</form>
......
......@@ -22,7 +22,7 @@
<input type="hidden" name="cmdtype" value="doit">
<input type="hidden" name="remtype" value="asnamed">
<input type="hidden" name="add_bugids" value="1">
<input type="submit" value="Add"> [% terms.bugs %]
<input type="submit" value="Add" id="add"> [% terms.bugs %]
<input type="text" name="bug_ids" size="8" maxlength="80"> to
[% foundq = 0 %]
[% FOREACH q = user.queries %]
......
......@@ -64,14 +64,15 @@
</p>
<p>
<input type="submit" value="Change Columns">
<input type="submit" id="change" value="Change Columns">
</p>
</form>
<form action="colchange.cgi">
<input type="hidden" name="rememberedquery" value="[% buffer FILTER html %]">
<input type="hidden" name="resetit" value="1">
<input type="submit" value="Reset to [% terms.Bugzilla %] default">
<input type="submit" id="reset"
value="Reset to [% terms.Bugzilla %] default">
</form>
[% PROCESS global/footer.html.tmpl %]
......
......@@ -350,10 +350,10 @@
Reassign [% terms.bugs %] to default assignee of selected component
</label><br>
<input type="submit" value="Commit">
<input type="submit" id="commit" value="Commit">
[% IF Param('move-enabled') && user.is_mover %]
<input type="submit" name="action" value="[% Param('move-button-text') %]">
<input type="submit" name="action" id="action" value="[% Param('move-button-text') %]">
[% END %]
[%############################################################################%]
......
......@@ -143,7 +143,7 @@
<input type="hidden" name="id" value="[% id FILTER html %]">
[% END %]
<input type="hidden" name="format" value="multiple">
<input type="submit" value="Long Format">
<input type="submit" id="long_format" value="Long Format">
</form>
<form method="post" action="show_bug.cgi">
<input type="hidden" name="ctype" value="xml">
......@@ -151,13 +151,13 @@
<input type="hidden" name="id" value="[% id FILTER html %]">
[% END %]
<input type="hidden" name="excludefield" value="attachmentdata">
<input type="submit" value="XML">
<input type="submit" value="XML" id="xml">
</form>
[% IF UserInGroup(Param('timetrackinggroup')) %]
<form method="post" action="summarize_time.cgi">
<input type="hidden" name="id" value="[% buglist_joined FILTER html %]">
<input type="submit" value="Time Summary">
<input type="submit" id="timesummary" value="Time Summary">
</form>
[% END %]
</td>
......@@ -213,7 +213,7 @@
<td valign="middle">
<form method="get" action="buglist.cgi">
<input type="submit" value="Remember search"> as
<input type="submit" id="remember" value="Remember search"> as
<input type="hidden" name="newquery"
value="[% urlquerypart FILTER html %][% "&order=$qorder" FILTER html IF order %]">
<input type="hidden" name="cmdtype" value="doit">
......
......@@ -76,7 +76,7 @@
<input type="hidden" name="action" value="add">
<input size="80" name="quip">
<p>
<input type="submit" value="Add This Quip">
<input type="submit" id="add" value="Add This Quip">
</p>
</form>
[% ELSE %]
......@@ -148,7 +148,7 @@
+'value="Check All" onclick="SetCheckboxes(true);">');
//--></script>
<input type="submit" value="Update">
<input type="submit" id="update" value="Update">
</form>
<br>
[% END %]
......
......@@ -37,7 +37,7 @@
%]
<br>
<input type="hidden" name="id" value="linked.html">
<input value="Linkify" type="submit">
<input type="submit" id="linkify" value="Linkify">
</form>
[% INCLUDE global/footer.html.tmpl %]
......@@ -40,7 +40,7 @@
{ alert('Please enter one or more search terms first.');
return false; } return true;">
<input type="text" size="40" name="quicksearch">
<input type="submit" value="Find">
<input type="submit" value="Find" id="find">
</form>
<h2>Getting Started</h2>
......
......@@ -32,8 +32,8 @@
{ alert('Please enter one or more search terms first.');
return false; } return true;">
<input type="text" size="40" name="quicksearch">
<input type="submit" value="Find">
<input type="submit" name="load" value="Load Search Form">
<input type="submit" value="Find" id="find">
<input type="submit" name="load" value="Load Search Form" id="load">
</form>
<p>
......
......@@ -87,7 +87,8 @@ function subcatSelected() {
<td>
<noscript>
<input type="submit" name="action-assemble" value="Update --&gt;">
<input type="submit" name="action-assemble" value="Update --&gt;"
id="action-assemble">
</noscript>
</td>
......@@ -97,7 +98,8 @@ function subcatSelected() {
<td>
<noscript>
<input type="submit" name="action-assemble" value="Update --&gt;">
<input type="submit" name="action-assemble" value="Update --&gt;"
id="action-assemble">
</noscript>
</td>
......@@ -116,7 +118,8 @@ function subcatSelected() {
</td>
<td align="center" valign="middle">
<input type="submit" name="action-add" value="Add To List"><br>
<input type="submit" name="action-add" value="Add To List"
id="action-add"><br>
</td>
</tr>
[% END %]
......@@ -225,9 +228,9 @@ function subcatSelected() {
<tr>
<td valign="bottom" style="text-align: center;">
<input type="submit" name="action-sum" value="Sum"
style="width: 5em;"><br>
style="width: 5em;" id="action-sum"><br>
<input type="submit" name="action-remove" value="Remove"
style="width: 5em;">
style="width: 5em;" id="action-remove">
</td>
<td style="text-align: right; vertical-align: bottom;">
......@@ -247,7 +250,8 @@ function subcatSelected() {
</td>
<td style="text-align: right" valign="bottom">
<input type="submit" name="action-wrap" value="Chart This List">
<input type="submit" name="action-wrap" value="Chart This List"
id="action-wrap">
</td>
</tr>
</table>
......
......@@ -120,13 +120,14 @@
</table>
<input type="submit" value="Change">
<input type="submit" id="change" value="Change">
</form>
<form method="post" action="buglist.cgi">
<input type="hidden" name="bug_id" value="[% bug_ids_string %]">
<input type="hidden" name="order" value="Reuse same sort as last time">
Or just give this to me as a <input type="submit" value="[% terms.bug %] list">.
Or just give this to me as a <input type="submit" id="list"
value="[% terms.bug %] list">.
(Note: the order may not be the same.)
</form>
......
......@@ -47,7 +47,8 @@
onchange => "catSelected()" } %]
<td>
<noscript>
<input type="submit" name="action-edit" value="Update --&gt;">
<input type="submit" name="action-edit" value="Update --&gt;"
id="action-edit">
</noscript>
</td>
......@@ -89,7 +90,7 @@
</td>
<td></td>
<td>
<input type="submit" name="submit-button"
<input type="submit" name="submit-button" id="submit-button"
value="[% button_name FILTER html %]">
</td>
</tr>
......
......@@ -101,7 +101,7 @@
} %]
[% PROCESS "global/select-menu.html.tmpl" name="group" options=groups default=cgi.param('group') %]
</td>
<td><input type="submit" value="Filter"></td>
<td><input type="submit" id="filter" value="Filter"></td>
</tr>
</table>
......
......@@ -100,8 +100,9 @@
[% ELSE %]
<td>
[% newor = colnum + 1 %]
<input type="submit" value="Or"
name="cmd-add[% "${chartnum}-${rownum}-${newor}" %]" [% jsmagic %]>
<input type="submit" value="Or" [% jsmagic %]
name="cmd-add[% "${chartnum}-${rownum}-${newor}" %]"
id="cmd-add[% "${chartnum}-${rownum}-${newor}" %]">
</td>
[% END %]
......@@ -116,11 +117,13 @@
<tr>
<td>
[% newand = rownum + 1; newchart = chartnum + 1 %]
<input type="submit" value="And"
name="cmd-add[% "${chartnum}-${newand}-0" %]" [% jsmagic %]>
<input type="submit" value="And" [% jsmagic %]
name="cmd-add[% "${chartnum}-${newand}-0" %]"
id="cmd-add[% "${chartnum}-${newand}-0" %]">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" value="Add another boolean chart"
name="cmd-add[% newchart %]-0-0" [% jsmagic %]>
<input type="submit" value="Add another boolean chart" [% jsmagic %]
name="cmd-add[% newchart %]-0-0"
id="cmd-add[% newchart %]-0-0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>
......
......@@ -145,7 +145,8 @@ function doOnSelectProduct(selectmode) {
</td>
<td>
[% IF button_name %]
<input type="submit" value="[% button_name FILTER html %]">
<input type="submit" id="[% button_name FILTER html %]"
value="[% button_name FILTER html %]">
[% END %]
</td>
</tr>
......
......@@ -54,7 +54,8 @@
</p>
<p>
<input type="submit" value="[% button_name FILTER html %]">
<input type="submit" id="[% button_name FILTER html %]"
value="[% button_name FILTER html %]">
[% IF known_name %]
<input type="hidden" name="query_based_on"
value="[% known_name FILTER html %]">
......
......@@ -129,7 +129,8 @@ var queryform = "reportform"
[% PROCESS search/form.html.tmpl %]
<br>
<input type="submit" value="[% button_name FILTER html %]">
<input type="submit" id="[% button_name FILTER html %]"
value="[% button_name FILTER html %]">
<input type="hidden" name="action" value="wrap">
<hr>
......
......@@ -81,7 +81,8 @@ var queryform = "reportform"
[% PROCESS search/form.html.tmpl %]
<br>
<input type="submit" value="[% button_name FILTER html %]">
<input type="submit" id="[% button_name FILTER html %]"
value="[% button_name FILTER html %]">
<input type="hidden" name="format" value="table">
<input type="hidden" name="action" value="wrap">
<hr>
......
......@@ -110,7 +110,7 @@ for "crash secure SSL flash".
<tr>
<td></td>
<td>
<input type="submit" value="Search">
<input type="submit" id="search" value="Search">
</td>
</tr>
</table>
......
......@@ -80,7 +80,7 @@
[%# This hidden submit button must be here to set default behavior when
the user presses return on a form input field #%]
<input type="submit" value="Update / Commit" name="commit"
style="visibility: hidden">
style="visibility: hidden" id="commit">
<input type="hidden" name="update" value="1">
[% FOREACH event = events %]
......@@ -93,7 +93,8 @@
</th>
<td align="right">
<input type="submit" value="Remove Event"
name="remove_event_[% event.key %]">
name="remove_event_[% event.key %]"
id="remove_event_[% event.key %]">
</td>
</tr>
......@@ -133,7 +134,8 @@
<td align="left" bgcolor="#FFEEEE">
Not scheduled to run<br>
<input type="submit" value="Add a new schedule"
name="add_schedule_[% event.key %]">
name="add_schedule_[% event.key %]"
id="add_schedule_[% event.key %]">
</td>
</tr>
......@@ -190,7 +192,8 @@
</td>
<td align="left">
<input type="submit" value="Remove"
name="remove_schedule_[% schedule.id %]">
name="remove_schedule_[% schedule.id %]"
id="remove_schedule_[% schedule.id %]">
</td>
</tr>
[% END %]
......@@ -198,7 +201,8 @@
<tr>
<td>
<input type="submit" value="Add a new schedule"
name="add_schedule_[% event.key %]">
name="add_schedule_[% event.key %]"
id="add_schedule_[% event.key %]">
</td>
</tr>
......@@ -218,10 +222,12 @@
</td>
<td align="left" colspan="1">
No queries <br>
<input type="submit" value="Add a new query" name="add_query_[% event.key %]">
<input type="submit" value="Add a new query"
name="add_query_[% event.key %]"
id="add_query_[% event.key %]">
</td>
<td align="right" valign="bottom">
<input type="submit" value="Update / Commit" name="commit">
<input type="submit" value="Update / Commit" name="commit" id="update">
</td>
</tr>
......@@ -271,7 +277,8 @@
</td>
<td align="right">
<input type="submit" value="Remove"
name="remove_query_[% query.id %]">
name="remove_query_[% query.id %]"
id="remove_query_[% query.id %]">
</td>
</tr>
......@@ -280,7 +287,8 @@
<tr>
<td colspan="3">
<input type="submit" value="Add a new query"
name="add_query_[% event.key %]">
name="add_query_[% event.key %]"
id="add_query_[% event.key %]">
</td>
</tr>
......@@ -288,7 +296,7 @@
</td>
<td align="right" valign="bottom">
<input type="submit" value="Update / Commit" name="commit">
<input type="submit" value="Update / Commit" name="commit" id="update">
</td>
</tr>
......@@ -299,7 +307,7 @@
[% END %]
<p align="left">
<input type="submit" value="Add a new event" name="add_event">
<input type="submit" value="Add a new event" name="add_event" id="add_event">
</p>
</form>
......
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