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