aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-03-30 16:27:16 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-03-30 16:27:16 +0200
commit0f561f68af042a587a883d5b42c273ee9273f748 (patch)
tree832a79692a8515d1dd66e9414c3057dd80af3c41 /sonar-server
parent7aa6f8fd79691c00056d901a367999ab565921b1 (diff)
downloadsonarqube-0f561f68af042a587a883d5b42c273ee9273f748.tar.gz
sonarqube-0f561f68af042a587a883d5b42c273ee9273f748.zip
SONAR-1332 add HTML ids for integration tests
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb
index 70235457779..8b3957a1e8e 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/compare.html.erb
@@ -10,7 +10,7 @@
<option value=""></option>
<%= options_for_profiles(@profiles, params[:id2].to_i) %>
</select>
- <input type="submit" value="Compare" class="small"/>
+ <input type="submit" value="Compare" class="small" id="submit-compare"/>
<% if @profile1 && @profile2 %>
<a href="<%= url_for :action => 'compare', :id1 => @profile2.id, :id2 => @profile1.id -%>" id="switch" title="Switch left and right view"><%= image_tag 'switch.png'-%></a>
<% end %>
@@ -24,7 +24,7 @@
<% unless @in1.empty? %>
<tr>
<td width="49%">
- <table class="data width100 marginbottom10">
+ <table class="data width100 marginbottom10" id="in1-rules">
<thead>
<tr>
<th><%= @in1.size -%> rules only in <a href="<%= url_for :controller => 'rules_configuration', :action => 'index', :id => @profile1.id -%>"><%= h @profile1.name %></a></th>
@@ -49,7 +49,7 @@
<td width="49%"></td>
<td width="2%"> </td>
<td width="49%">
- <table class="data width100 marginbottom10">
+ <table class="data width100 marginbottom10" id="in2-rules">
<thead>
<tr>
<th><%= @in2.size -%> rules only in <a href="<%= url_for :controller => 'rules_configuration', :action => 'index', :id => @profile2.id -%>"><%= h @profile2.name %></a></th>
@@ -71,7 +71,7 @@
<% unless @modified.empty? %>
<tr>
<td colspan="3">
- <table class="data width100 marginbottom10">
+ <table class="data width100 marginbottom10" id="modified-rules">
<thead>
<tr>
<th width="49%"><%= @modified.size -%> rules have a different configuration<br/>