]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 449067: Add an ID to more buttons (to help with Selenium scripts)
authorrojanu <aliustek@gmail.com>
Sat, 26 Mar 2011 22:05:17 +0000 (23:05 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sat, 26 Mar 2011 22:05:17 +0000 (23:05 +0100)
r/a=LpSolit

template/en/default/admin/flag-type/edit.html.tmpl
template/en/default/admin/groups/confirm-remove.html.tmpl
template/en/default/admin/groups/edit.html.tmpl
template/en/default/admin/params/editparams.html.tmpl
template/en/default/admin/products/create.html.tmpl
template/en/default/admin/products/edit.html.tmpl
template/en/default/admin/sudo.html.tmpl
template/en/default/admin/workflow/comment.html.tmpl
template/en/default/admin/workflow/edit.html.tmpl
template/en/default/search/search-create-series.html.tmpl

index 13db9fab1869f170e5a42f85e13634b398524ec7..8db36e6ed374f90226bfcc95b58edc4ecb95f4c5 100644 (file)
                   <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>
       </option>
     [% END %]
   </select>
-[% END %]
\ No newline at end of file
+[% END %]
index cdb070d3372676b71334d3352e47cf63d5415b8a..54d961623ec51e4a07fc55f79f560a09e53c289b 100644 (file)
@@ -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>
     
index f7fd3081b10fef84f5c9eecc68a9b96519178c55..9403c076de5b5dadeeb0d6d8f10582075a15a1df 100644 (file)
     </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>
   
     <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>
index 730d7ae343e4939ca4ce372d13e49eb9cae8c54c..e9aeb6e6c1aeda907b0a3d0a040edff5dd21c981 100644 (file)
           <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>
index 1b50661cf7ba792deeb312e5a4ab40fc98eafd46..3af81fb23d0388de60eb2edf2b61816a8fc5ca02 100644 (file)
@@ -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"
index bb55f4eb095509553eeabab4b4597585187fd83f..3bd78a9580cf29e61924b050d129b910964e0c3e 100644 (file)
@@ -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"
index 283eebe1561b3f7e5f73c1da3edf06764ccfaa39..676959c341585933aad7719edc82311dab60a4a8 100644 (file)
@@ -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>
index a7a6a74c23b5096648ff8be7117e70dc97248e86..109d98bc2b032ae70f65cedfe238bded214d544d 100644 (file)
@@ -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>
index 406c08a210034806ca29766788f1b8bcb9fbea0f..5f2b21263173afa70d2e2af0005f1bbd65f80433 100644 (file)
 <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>
index c425fbd1db21c23845bc967f38d46b43567ddfba..3ca68ac4979b6e72cbb189ceed44f6c1d0f2bcc6 100644 (file)
@@ -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>