]> source.dussan.org Git - sonarqube.git/commitdiff
Add HTML Id
authorJulien Lancelot <julien.lancelot@gmail.com>
Fri, 22 Feb 2013 07:16:11 +0000 (08:16 +0100)
committerJulien Lancelot <julien.lancelot@gmail.com>
Fri, 22 Feb 2013 07:16:11 +0000 (08:16 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_operations.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb

index dec69e8c8f8a011fea410f006f4db9a441564c56..1236878d7169bc8415f65b5c25204526ce645427 100644 (file)
@@ -16,7 +16,7 @@
     <li><%= uninstall -%></li>
   <% end %>
   </ul>
-  <input type="submit" value="Cancel uninstalls"/>
+  <input type="submit" value="Cancel uninstalls" id="cancel-uninstall"/>
 </p>
 </form>
 <% end %>
@@ -28,7 +28,7 @@
     <li><%= download -%></li>
   <% end %>
   </ul>
-  <input type="submit" value="Cancel pending installations"/>
+  <input type="submit" value="Cancel pending installations" id="cancel-pending-installations"/>
 </p>
 </form>
 <% end %>
index 6bc0f196fc731a3a424d2b58095aab55c75a8834..9487480fb5a9ed6a40d600b68bacdacc1629c43d 100644 (file)
@@ -35,7 +35,7 @@ function installPlugin(key) {
         plugin = update.plugin
         release = update.release
     %>
-      <tr class="<%= cycle('even','odd', :name => category) -%>">
+      <tr class="<%= cycle('even','odd', :name => category) -%>" id="select-<%= plugin.getKey() -%>">
         <td width="150" nowrap>
           <b><a href="#plugin" onClick="showPlugin('<%= plugin.getKey() -%>');"><%= h(plugin.getName()) -%></a></b>
         </td>
index 4d5f853e752e8521d30569163317bb15108a2c23..31d566f90734f6e30da5a47742eb027b9c05dfa3 100644 (file)
@@ -85,7 +85,7 @@
           <tr>
             <td colspan="2">
              <form method="post" action="<%= ApplicationController.root_context -%>/updatecenter/uninstall?key=<%= plugin.getKey() -%>" style="display: inline-block">
-               <input type="submit" value="Uninstall" class="red-button"/>
+               <input type="submit" value="Uninstall" class="red-button" id="uninstall-<%= plugin.getKey() -%>"/>
              </form>
               </td>
             </tr>
index 05a59b023a35152f936bee97613b8cbae70de189..ad2891711b6eadb05680af2db2214ae480a6e082 100644 (file)
@@ -31,7 +31,7 @@ function upgradePlugin(key) {
            updates.each_with_index do |update, index|
             release=update.release
        %>
-        <tr class="<%= css -%>">
+        <tr class="<%= css -%>" id="select_<%= plugin.getKey() -%>">
           <td width="1%" nowrap><% if index==0 %><b><%= h(plugin.getName()) -%></b> <%= @installed_plugins[plugin.getKey()] -%> -> <% end %></td>
           <td width="1%" nowrap><b><%= release.getVersion() -%></b></td>
           <td width="1%" nowrap><%= release_date(release.getDate()) if release.getDate() -%></td>