]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4098 icon for "new window"
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 19 Feb 2013 19:14:06 +0000 (20:14 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 19 Feb 2013 19:14:06 +0000 (20:14 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/resource/_tabs.html.erb
sonar-server/src/main/webapp/images/new-window-11.gif [new file with mode: 0644]
sonar-server/src/main/webapp/images/new-window-16.gif [new file with mode: 0644]
sonar-server/src/main/webapp/stylesheets/style.css

index b19fa6e50ba06dfedfb5ef0853846f2f1b6bcc43..b8a8cbbdb045ce16165e23da5fcbc5b9288e0de2 100644 (file)
@@ -62,7 +62,7 @@
             <tr class="<%= clazz -%>" id="row_<%= index -%>_<%= row_index -%>">
               <td nowrap>
                 <% 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 %>
index 66a677053028acc067cbb82716b243828d389c53..f9eca9842f598d5e09911836f756e9a00d28816d 100644 (file)
           <tr class="<%= clazz -%>" id="row_<%= index -%>_<%= row_index -%>">
             <td nowrap>
               <% 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 %>
index 25d08358daa91403a3d05b6c850ae8274921181e..74b2619dfb7ecdd721c8f2fadb1468dc5f132561 100644 (file)
@@ -32,7 +32,7 @@
          end %>
       <% unless @popup_mode %>
       <li class="<%= 'first' if first -%>">
-        <a href="<%= ApplicationController.root_context -%>/resource/index/<%= @resource.key -%>?display_title=true" onclick="window.open(this.href,'resource','height=800,width=900,scrollbars=1,resizable=1');return false;"><%= message('new_window') -%></a>
+        <a href="<%= ApplicationController.root_context -%>/resource/index/<%= @resource.key -%>?display_title=true" onclick="window.open(this.href,'resource','height=800,width=900,scrollbars=1,resizable=1');return false;"><%= image_tag 'new-window-16.gif', :alt => message('new_window') -%></a>
       </li>
       <% end %>
     </ul>
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 (file)
index 0000000..c7d338b
Binary files /dev/null and b/sonar-server/src/main/webapp/images/new-window-11.gif differ
diff --git a/sonar-server/src/main/webapp/images/new-window-16.gif b/sonar-server/src/main/webapp/images/new-window-16.gif
new file mode 100644 (file)
index 0000000..4a5941b
Binary files /dev/null and b/sonar-server/src/main/webapp/images/new-window-16.gif differ
index 4a3ebabb9b733ad640577c86aa39de574c418a66..aa5beaa81ef71e38af3a6246c8ff7bf7b16cb223 100644 (file)
@@ -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 {