]> source.dussan.org Git - sonarqube.git/commitdiff
Fix compatibility with IE7
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 18 Dec 2012 09:20:56 +0000 (10:20 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 18 Dec 2012 09:38:22 +0000 (10:38 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/all_projects/index.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/measures/_display_list.html.erb
sonar-server/src/main/webapp/stylesheets/layout.css
sonar-server/src/main/webapp/stylesheets/style.css

index 4a65fb9a4d1539d660e5e2474fca35d333680173..958b90d68ea3f5bf34ec7eb47a966bc19c0017c4 100644 (file)
@@ -33,7 +33,7 @@
   
       <tbody>
         <% @filter.rows.each do |row| %>
-          <tr class="<%= cycle 'even', 'odd' -%>">
+          <tr class="thin <%= cycle 'even', 'odd' -%>">
             <% if display_favourites %>
               <td class="thin"><%= link_to_favourite(row.snapshot.resource) -%></td>
             <% end %>
index 8afb945d4f81029aee8ccf08d76014ee673323cc..307618d963eb7362f0c19a5ff83cf1fcf0c7cf3e 100644 (file)
@@ -65,7 +65,8 @@
             <li class="<%= 'active' if request.request_uri.include?('/dependencies/index') -%>">
               <a href="<%= ApplicationController.root_context -%>/dependencies/index"><%= message('dependencies.page') -%></a></li>
             <li class="<%= 'active' if request.request_uri.include?('/comparison/index') -%>">
-              <a href="<%= ApplicationController.root_context -%>/comparison/index"><%= message('comparison.page') -%></a></li>
+              <a href="<%= ApplicationController.root_context -%>/comparison/index"><%= message('comparison.page') -%></a>
+            </li>
 
           <% elsif selected_section==Navigation::SECTION_RESOURCE %>
             <% ActiveDashboard.user_dashboards(current_user, false).each do |active_dashboard| %>
           <% end %>
 
           <%= yield :sidebar %>
-          <div id="logo">
+          <li id="logo">
             <center><a href="http://www.sonarsource.org/" target="SonarSource"><%= image_tag('sonar.png', :alt => message('layout.sonar.slogan'), :class => 'png') -%></a></center>
-          </div>
+          </li>
         </ul>
       </div>
     <% end %>
index b8bc8aa654f265d95d0e09d9d8acef9b05180a4b..9df1f2374d86d993f99e8fe5cb62a2df4a2fa377 100644 (file)
       <% end %>
       <% filter.display.columns.each_with_index do |column, index| %>
         <td class="nowrap <%= column.align -%>" index="<%= index -%>">
-          <a href="javascript:leftCol(<%= index -%>)" title="<%= h message('move_left') -%>" id="left-<%= column.key.parameterize -%>"><%= image_tag("controls/resultset_previous.png") -%></a>
-          <a href="javascript:deleteCol(<%= index -%>)" title="<%= h message('measure_filter.delete_column') -%>" id="delete-<%= column.key.parameterize -%>"><%= image_tag("cross-gray.png") -%></a>
-          <a href="javascript:rightCol(<%= index -%>)" title="<%= h message('move_right') -%>" id="right-<%= column.key.parameterize -%>"><%= image_tag("controls/resultset_next.png") -%></a>
+          <a href="javascript:leftCol(<%= index -%>)" id="left-<%= column.key.parameterize -%>"><%= image_tag("controls/resultset_previous.png", :alt => message('move_left')) -%></a>
+          <a href="javascript:deleteCol(<%= index -%>)" id="delete-<%= column.key.parameterize -%>"><%= image_tag("cross-gray.png", :alt => message('measure_filter.delete_column')) -%></a>
+          <a href="javascript:rightCol(<%= index -%>)" id="right-<%= column.key.parameterize -%>"><%= image_tag("controls/resultset_next.png", :alt => message('move_right')) -%></a>
         </td>
       <% end %>
   <% end %>
index ed76d28fd1ce89a6156d7008b922488a337e785e..1d706ab8baff9c3afa7cce3f6c3eff28379b00b7 100644 (file)
@@ -175,7 +175,7 @@ body, a {
 }
 
 #body {
-  position: relative;
+/*  position: relative;*/
 }
 
 #footer {
@@ -193,7 +193,7 @@ body, a {
 
 #sidebar {
   width: 150px;
-  position: absolute;
+  float:left;
   margin: 0 0 0 10px;
   top: 0;
   left: 0;
@@ -245,7 +245,7 @@ ul.sidebar select, ul.sidebar input {
 
 #logo {
   text-align: center;
-  padding: 8px 0 0 0;
+  padding: 10px 0 0 0;
 }
 
 #logo a {
index 967ba3be1f45b8b023aa59044017dc1697b8d809..0968300fb6a686af1709a5567917eea331144b62 100644 (file)
@@ -2118,6 +2118,9 @@ table.nowrap td, td.nowrap, th.nowrap {
   cursor: pointer;
   display: inline-block;
   text-decoration: none !important;
+  /* zoom and *display = ie7 hack for display:inline-block */
+  zoom: 1;
+  *display: inline;
 }
 
 .dropdown-menu {