From 71ae2d4d449a3ec0389ab3d9e515af870c47575d Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 19 Feb 2013 20:14:06 +0100 Subject: [PATCH] SONAR-4098 icon for "new window" --- .../app/views/drilldown/measures.html.erb | 2 +- .../app/views/drilldown/violations.html.erb | 2 +- .../WEB-INF/app/views/resource/_tabs.html.erb | 2 +- .../src/main/webapp/images/new-window-11.gif | Bin 0 -> 76 bytes .../src/main/webapp/images/new-window-16.gif | Bin 0 -> 1438 bytes .../src/main/webapp/stylesheets/style.css | 5 ++--- 6 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 sonar-server/src/main/webapp/images/new-window-11.gif create mode 100644 sonar-server/src/main/webapp/images/new-window-16.gif diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb index b19fa6e50ba..b8a8cbbdb04 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb @@ -62,7 +62,7 @@ <% if resource.source_code? %> - <%= link_to(image_tag('zoom.png'), + <%= link_to(image_tag('new-window-16.gif'), {:controller => 'dashboard', :action => 'index', :id => resource.key, :period => params[:period], :metric => @metric ? @metric.id : nil, :rule => @rule ? @rule.id : @severity }) %> <% else %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb index 66a67705302..f9eca9842f5 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb @@ -141,7 +141,7 @@ <% if resource.source_code? %> - <%= link_to(image_tag('zoom.png'), + <%= link_to(image_tag('new-window-16.gif'), {:controller => 'dashboard', :action => 'index', :id => resource.key, :period => params[:period], :metric => @metric ? @metric.id : nil, :rule => @rule ? @rule.id : @severity }) %> <% else %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb index 25d08358daa..74b2619dfb7 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb @@ -32,7 +32,7 @@ end %> <% unless @popup_mode %>
  • - <%= message('new_window') -%> + <%= image_tag 'new-window-16.gif', :alt => message('new_window') -%>
  • <% end %> diff --git a/sonar-server/src/main/webapp/images/new-window-11.gif b/sonar-server/src/main/webapp/images/new-window-11.gif new file mode 100644 index 0000000000000000000000000000000000000000..c7d338bc81f42d8749ba01fb73be1e313b2f2c4e GIT binary patch literal 76 zcmZ?wbhEHbJUW119XU zOS^XP(1^DBF{xjo0dX|s4bSPxW(Q;#$qmA-*p?nak%s$iANH>xzyH!u@QevS`5cJ7 zC zHx-pb@ylnI%L=brmKD8vBf^Vbwot!PJJht=sqTiR{-AcN->bcR>rw}5Cx)od#Bu6& zsXosdY@DRGs?}d{y9oP@e;W2uO4!0R4NcB~tXnFYmIxf-_6c`{`7tPGOXwe|0DpPF zrX6+L%Um!=l#O@mw(>sUyJwsU_v*G5w#0@%f$KYsiaS}&rzm%TvN*xM2a+Y{q-&0i zm$hxWzDw)j*b-XWHrkV|THdm>z~^bM@Ps=l3hnTU+c^xml*R;y#lOD)l0CTkci`5A@2qW%HK6Mqbp9ek literal 0 HcmV?d00001 diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css index 4a3ebabb9b7..aa5beaa81ef 100644 --- a/sonar-server/src/main/webapp/stylesheets/style.css +++ b/sonar-server/src/main/webapp/stylesheets/style.css @@ -1634,9 +1634,8 @@ ul.bullet li { .tablinks li { float: left; text-align: right; - background: url("../images/sep12.png") no-repeat scroll 0 50% transparent; - margin-left: 7px; - padding: 0 0 0 7px; + margin-left: 5px; + padding: 0 0 0 5px; } .tablinks li.first { -- 2.39.5