]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-1924 Highlight line of table when mouse comes over a line
authorDavid Gageot <david@gageot.net>
Wed, 7 Nov 2012 14:28:20 +0000 (15:28 +0100)
committerDavid Gageot <david@gageot.net>
Wed, 7 Nov 2012 14:32:14 +0000 (15:32 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/email_configuration/index.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/server_id_configuration/index.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/settings/_properties.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/settings/_type_PROPERTY_SET_DEFINITION.html.erb
sonar-server/src/main/webapp/stylesheets/style.css

index dbbe4155ff0ac1c7ae6336a77c4503b2826dbcef..6fe6ebf1d21094e794152cc110386c74f13d5b5c 100644 (file)
@@ -5,7 +5,7 @@
 </style>
 
 <% form_tag({:action => 'save'}) do -%>
-  <table class="data form marginbottom10">
+  <table class="data nohighlight form marginbottom10">
     <thead>
     <tr>
       <th colspan="3"><span><%= message('email_configuration.page') -%></span></th>
@@ -23,7 +23,8 @@
       <td class="comments"><%= message('email_configuration.smtp_port.description') -%></td>
     </tr>
     <tr class="even">
-      <td class="keyCell"><label for="smtp_secure_connection"><%= message('email_configuration.smtp_secure_connection') -%>:</label></td>
+      <td class="keyCell">
+        <label for="smtp_secure_connection"><%= message('email_configuration.smtp_secure_connection') -%>:</label></td>
       <td><%= select_tag 'smtp_secure_connection', options_for_select({'No' => '', 'SSL' => 'ssl'}, @smtp_secure_connection) %></td>
       <td class="comments"><%= message('email_configuration.smtp_secure_connection.description') -%></td>
     </tr>
@@ -61,7 +62,7 @@
 <br/>
 
 <% form_tag({:action => 'send_test_email'}) do -%>
-  <table class="data form marginbottom10">
+  <table class="data nohighlight form marginbottom10">
     <thead>
     <tr>
       <th colspan="2"><span><%= message('email_configuration.test.title') -%></span></th>
index c07fd9bd74a8502e02a286bde1117f5f55050772..1aad74f2d2b99adb912d792baec71c2a9606cb91 100644 (file)
@@ -4,7 +4,7 @@
   }
 </style>
 
-<table class="data marginbottom10">
+<table class="data nohighlight marginbottom10">
   <thead>
   <tr>
     <th>Encryption</th>
index 1924163a8fa763bc1b5422613b974f7572f5969e..e2b583116627b8e52213b2f63cee951a727022e6 100644 (file)
@@ -4,7 +4,7 @@
   }
 </style>
 
-<table class="data marginbottom10">
+<table class="data nohighlight marginbottom10">
   <thead>
   <tr>
     <th>Encryption</th>
       <div id="encrypted_section" style="display:none"></div>
       <span id="encryption_error" class="error" style="display:none"></span>
 
-      <p>Note that the <%= link_to 'secret key can be changed', {:action => 'generate_secret_form'}, :class => 'link-action', :id => 'link-generate-key' %>
-        but all the encrypted properties will have to be updated. <a href="http://docs.codehaus.org/display/SONAR/Settings+Encryption" class="external" target="sonar_doc">More information</a>.</p>
+      <p>Note that
+        the <%= link_to 'secret key can be changed', {:action => 'generate_secret_form'}, :class => 'link-action', :id => 'link-generate-key' %>
+        but all the encrypted properties will have to be updated.
+        <a href="http://docs.codehaus.org/display/SONAR/Settings+Encryption" class="external" target="sonar_doc">More
+          information</a>.</p>
     </td>
   </tr>
   </tbody>
index 6b751f7bd57a2f62f1f1018300433ba51d48ac94..6c5283bc8ef4cddad58be97aab3750f5cc0bdd51 100644 (file)
@@ -5,7 +5,7 @@
 </style>
 
 <% form_tag :action => 'generate' do %>
-  <table class="data marginbottom10">
+  <table class="data nohighlight marginbottom10">
     <thead>
     <tr>
       <th><%= message('server_id_configuration.page') -%></th>
index fed0c43bc2b8e8f7a1d228e3d835acacc54fc50a..583c7cb827ffda7093b0c41df2528a99253be38a 100644 (file)
@@ -7,7 +7,7 @@
                      :update => 'properties',
                      :script => false do -%>
 
-    <table class="data marginbottom10">
+    <table class="data nohighlight marginbottom10">
       <thead>
       <tr>
         <th><%= h category_name(@category) -%></th>
index beec593636c0a08601253dd8e30d5118a68c98c2..24e78c41ed9df73adaf2d7797a349ba5fff01be9 100644 (file)
@@ -1,6 +1,6 @@
 <% resource_id = @resource.id if @resource -%>
 
-<table class="data">
+<table class="data nohighlight">
   <thead>
   <tr>
     <% unless key_field(property) -%>
index 369a734ddd7fd0df9f799da7adfc04be01264ce8..4f0359c0f52608558e6e8875f3f6c436f58ab4f3 100644 (file)
@@ -23,6 +23,7 @@
   color: #EEE;
   background: #FF5252;
   padding: 0 5px;
+  padding: 0 5px;
 }
 
 #ftlinks a {
@@ -440,6 +441,14 @@ table.data th img, table.data td img {
   background-color: #CAE3F2 !important;
 }
 
+table.nohighlight .odd:hover {
+  background-color: #fff !important;
+}
+
+table.nohighlight .even:hover {
+  background-color: #EFEFEF !important;
+}
+
 .hoverable:hover a {
   color: #111;
 }