Commit f6e585f2 authored by rojanu's avatar rojanu Committed by Frédéric Buclin

Bug 449067: Add an ID to more buttons (to help with Selenium scripts)

r/a=LpSolit
parent f98af557
......@@ -120,18 +120,22 @@
<option value="[% comp FILTER html %]">[% comp FILTER html %]</option>
[% END %]
</select><br>
<input type="submit" name="categoryAction-include" value="Include">
<input type="submit" name="categoryAction-exclude" value="Exclude">
<input type="submit" id="categoryAction-include"
name="categoryAction-include" value="Include">
<input type="submit" id="categoryAction-exclude"
name="categoryAction-exclude" value="Exclude">
</td>
<td style="vertical-align: top;">
<b>Inclusions:</b><br>
[% PROCESS category_select name="inclusion_to_remove" categories = inclusions %]<br>
<input type="submit" name="categoryAction-removeInclusion" value="Remove Inclusion">
<input type="submit" id="categoryAction-removeInclusion"
name="categoryAction-removeInclusion" value="Remove Inclusion">
</td>
<td style="vertical-align: top;">
<b>Exclusions:</b><br>
[% PROCESS category_select name="exclusion_to_remove" categories = exclusions %]<br>
<input type="submit" name="categoryAction-removeExclusion" value="Remove Exclusion">
<input type="submit" id="categoryAction-removeExclusion"
name="categoryAction-removeExclusion" value="Remove Exclusion">
</td>
</tr>
</table>
......
......@@ -59,7 +59,7 @@
<input type="hidden" name="action" value="remove_regexp">
<input name="token" type="hidden" value="[% token FILTER html %]">
<input name="confirm" type="submit" value="Confirm">
<input id="confirm" name="confirm" type="submit" value="Confirm">
<p>Or <a href="editgroups.cgi">return to the Edit Groups page</a>.</p>
</form>
......
......@@ -184,7 +184,7 @@
</table>
[% END %]
<input type="submit" value="Update Group">
<input type="submit" id="update-group" value="Update Group">
<input type="hidden" name="token" value="[% token FILTER html %]">
</form>
......@@ -200,7 +200,7 @@
<legend>Remove all explicit memberships from users whose login names
match the following regular expression:</legend>
<input type="text" size="20" name="regexp">
<input type="submit" value="Remove Memberships">
<input type="submit" id="remove-membership" value="Remove Memberships">
<p>If you leave the field blank, all explicit memberships in
this group will be removed.</p>
......
......@@ -112,7 +112,7 @@
<input type="hidden" name="section" value="[% current_panel.name FILTER html %]">
<input type="hidden" name="action" value="save">
<input type="hidden" name="token" value="[% token FILTER html %]">
<input type="submit" name="action" value="Save Changes">
<input type="submit" id="save-params" value="Save Changes">
</form>
[% END %]
</td>
......
......@@ -54,7 +54,7 @@
</tr>
</table>
<input type="submit" value="Add">
<input type="submit" id="add-product" value="Add">
<input type="hidden" name="action" value="new">
<input type="hidden" name="token" value="[% token FILTER html %]">
<input type="hidden" name="classification"
......
......@@ -139,7 +139,7 @@ versions:</a>
value="[% product.name FILTER html %]">
<input type="hidden" name="action" value="update">
<input type="hidden" name="token" value="[% token FILTER html %]">
<input type="submit" name="submit" value="Save Changes">
<input type="submit" id="update-product" value="Save Changes">
</form>
[% PROCESS "admin/products/footer.html.tmpl"
......
......@@ -94,7 +94,7 @@
<p>
Click the button to begin the session:
<input type="submit" value="Begin Session">
<input type="submit" id="begin_sudo" value="Begin Session">
<input type="hidden" name="action" value="begin-sudo">
<input type="hidden" name="token" value="[% token FILTER html %]">
</p>
......
......@@ -82,7 +82,7 @@
<p align="center">
<input type="hidden" name="action" value="update_comment">
<input type="hidden" name="token" value="[% token FILTER html %]">
<input type="submit" value="Commit Changes"> -
<input type="submit" id="update_comment" value="Commit Changes"> -
<a href="editworkflow.cgi?action=edit_comment">Cancel Changes</a> -
<a href="editworkflow.cgi">View Current Workflow</a>
</p>
......
......@@ -100,7 +100,7 @@
<p align="center">
<input type="hidden" name="action" value="update">
<input type="hidden" name="token" value="[% token FILTER html %]">
<input type="submit" value="Commit Changes"> -
<input type="submit" id="update_workflow" value="Commit Changes"> -
<a href="editworkflow.cgi">Cancel Changes</a> -
<a href="editworkflow.cgi?action=edit_comment">View Comments Required on Status Transitions</a>
</p>
......
......@@ -45,7 +45,7 @@
[% PROCESS search/form.html.tmpl %]
<p>
<input type="submit" name="action-search" value="Run Search">
<input type="submit" id="action-search" name="action-search" value="Run Search">
to see which [% terms.bugs %] would be included in this data set.
</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