summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrojanu <aliustek@gmail.com>2011-03-26 23:05:17 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-03-26 23:05:17 +0100
commitf6e585f272f8d1c1c3fbede3a5f4994c5da1e182 (patch)
treef6a7a6ad8ea528fec9ec6e6abe40d1ec7b626013
parentf98af557d48ae9cea1d41fff18643200af7f7d8e (diff)
downloadbugzilla-f6e585f272f8d1c1c3fbede3a5f4994c5da1e182.tar.gz
bugzilla-f6e585f272f8d1c1c3fbede3a5f4994c5da1e182.tar.xz
Bug 449067: Add an ID to more buttons (to help with Selenium scripts)
r/a=LpSolit
-rw-r--r--template/en/default/admin/flag-type/edit.html.tmpl14
-rw-r--r--template/en/default/admin/groups/confirm-remove.html.tmpl2
-rw-r--r--template/en/default/admin/groups/edit.html.tmpl4
-rw-r--r--template/en/default/admin/params/editparams.html.tmpl2
-rw-r--r--template/en/default/admin/products/create.html.tmpl2
-rw-r--r--template/en/default/admin/products/edit.html.tmpl2
-rw-r--r--template/en/default/admin/sudo.html.tmpl2
-rw-r--r--template/en/default/admin/workflow/comment.html.tmpl2
-rw-r--r--template/en/default/admin/workflow/edit.html.tmpl2
-rw-r--r--template/en/default/search/search-create-series.html.tmpl2
10 files changed, 19 insertions, 15 deletions
diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl
index 13db9fab1..8db36e6ed 100644
--- a/template/en/default/admin/flag-type/edit.html.tmpl
+++ b/template/en/default/admin/flag-type/edit.html.tmpl
@@ -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>
@@ -265,4 +269,4 @@
</option>
[% END %]
</select>
-[% END %] \ No newline at end of file
+[% END %]
diff --git a/template/en/default/admin/groups/confirm-remove.html.tmpl b/template/en/default/admin/groups/confirm-remove.html.tmpl
index cdb070d33..54d961623 100644
--- a/template/en/default/admin/groups/confirm-remove.html.tmpl
+++ b/template/en/default/admin/groups/confirm-remove.html.tmpl
@@ -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>
diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl
index f7fd3081b..9403c076d 100644
--- a/template/en/default/admin/groups/edit.html.tmpl
+++ b/template/en/default/admin/groups/edit.html.tmpl
@@ -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>
diff --git a/template/en/default/admin/params/editparams.html.tmpl b/template/en/default/admin/params/editparams.html.tmpl
index 730d7ae34..e9aeb6e6c 100644
--- a/template/en/default/admin/params/editparams.html.tmpl
+++ b/template/en/default/admin/params/editparams.html.tmpl
@@ -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>
diff --git a/template/en/default/admin/products/create.html.tmpl b/template/en/default/admin/products/create.html.tmpl
index 1b50661cf..3af81fb23 100644
--- a/template/en/default/admin/products/create.html.tmpl
+++ b/template/en/default/admin/products/create.html.tmpl
@@ -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"
diff --git a/template/en/default/admin/products/edit.html.tmpl b/template/en/default/admin/products/edit.html.tmpl
index bb55f4eb0..3bd78a958 100644
--- a/template/en/default/admin/products/edit.html.tmpl
+++ b/template/en/default/admin/products/edit.html.tmpl
@@ -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"
diff --git a/template/en/default/admin/sudo.html.tmpl b/template/en/default/admin/sudo.html.tmpl
index 283eebe15..676959c34 100644
--- a/template/en/default/admin/sudo.html.tmpl
+++ b/template/en/default/admin/sudo.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>
diff --git a/template/en/default/admin/workflow/comment.html.tmpl b/template/en/default/admin/workflow/comment.html.tmpl
index a7a6a74c2..109d98bc2 100644
--- a/template/en/default/admin/workflow/comment.html.tmpl
+++ b/template/en/default/admin/workflow/comment.html.tmpl
@@ -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>
diff --git a/template/en/default/admin/workflow/edit.html.tmpl b/template/en/default/admin/workflow/edit.html.tmpl
index 406c08a21..5f2b21263 100644
--- a/template/en/default/admin/workflow/edit.html.tmpl
+++ b/template/en/default/admin/workflow/edit.html.tmpl
@@ -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>
diff --git a/template/en/default/search/search-create-series.html.tmpl b/template/en/default/search/search-create-series.html.tmpl
index c425fbd1d..3ca68ac49 100644
--- a/template/en/default/search/search-create-series.html.tmpl
+++ b/template/en/default/search/search-create-series.html.tmpl
@@ -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>