]> source.dussan.org Git - sonarqube.git/commitdiff
On resource viewer header, move classes measure on the second column and align all...
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 11 Feb 2014 09:34:10 +0000 (10:34 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 11 Feb 2014 09:34:20 +0000 (10:34 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/resource/_header_source.html.erb

index e8d35456ae369ea829d86b53bab3b3a6e55cb648..469bcefc2a685c5752ae3df7e333907e6dcbc6ce 100644 (file)
@@ -1,7 +1,7 @@
 <div id="source_header" class="tab_header">
   <table width="100%">
     <tr>
-      <td class="col">
+      <td class="col top">
       <table class="metrics">
         <% if m=measure('lines') %>
           <tr>
         <% end %>
       </table>
       </td>
-      <td class="col">
+      <td class="col top">
       <table class="metrics">
+        <% if m=measure('classes') %>
+          <tr>
+            <td class="name"><%= message('metric.classes.name') -%>:</td>
+            <td class="value"><%= format_measure(m) -%></td>
+          </tr>
+        <% end %>
         <% if m=measure('statements') %>
           <tr>
             <td class="name"><%= message('metric.statements.name') -%>:</td>
@@ -51,7 +57,7 @@
         <% end %>
       </table>
     </td>
-      <td class="col">
+      <td class="col top">
       <table class="metrics">
         <% if m=measure('comment_lines_density') %>
           <tr>
@@ -79,7 +85,7 @@
         <% end %>
       </table>
     </td>
-      <td class="col">
+      <td class="col top">
       <table class="metrics">
         <% if m=measure('public_documented_api_density') %>
           <tr>
         <% end %>
       </table>
     </td>
-      <td class="col">
-      <table class="metrics">
-        <% if m=measure('classes') %>
-          <tr>
-            <td class="name"><%= message('metric.classes.name') -%>:</td>
-            <td class="value"><%= format_measure(m) -%></td>
-          </tr>
-        <% end %>
-      </table>
-      </td>
     </tr>
   </table>
   <%= render :partial => 'options' -%>