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