summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-02-22 08:16:11 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-02-22 08:16:11 +0100
commitb0b2a643e1f9d24697780477e64620b28da5743a (patch)
tree8e752781de6228d26b93bd937cddf058b121b291
parent7894dd0da29c10dd7adc8778141802f06cb476ca (diff)
downloadsonarqube-b0b2a643e1f9d24697780477e64620b28da5743a.tar.gz
sonarqube-b0b2a643e1f9d24697780477e64620b28da5743a.zip
Add HTML Id
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_operations.html.erb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb2
4 files changed, 5 insertions, 5 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_operations.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_operations.html.erb
index dec69e8c8f8..1236878d716 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_operations.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/_operations.html.erb
@@ -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 %>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb
index 6bc0f196fc7..9487480fb5a 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/available.html.erb
@@ -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>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb
index 4d5f853e752..31d566f9073 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/index.html.erb
@@ -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>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb
index 05a59b023a3..ad2891711b6 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb
@@ -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>