diff --git a/lib/assets/stylesheets/reporting_engine/reporting.css.erb b/lib/assets/stylesheets/reporting_engine/reporting.css.erb index fd4df4b20e..05f265e209 100644 --- a/lib/assets/stylesheets/reporting_engine/reporting.css.erb +++ b/lib/assets/stylesheets/reporting_engine/reporting.css.erb @@ -81,6 +81,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. text-align: right; } +.report .odd td.inner { + background-color: #e8e8e8; +} + +.report .even td.inner { + background-color: #e3e3e3; +} + .report tr.even:hover .inner, .report tr.even:hover .bottom, .report tr.even:hover .empty, diff --git a/lib/widget/table/report_table.rb b/lib/widget/table/report_table.rb index 7b7892953b..4cb5807655 100644 --- a/lib/widget/table/report_table.rb +++ b/lib/widget/table/report_table.rb @@ -31,9 +31,9 @@ class Widget::Table::ReportTable < Widget::Table def configure_walker @walker ||= @subject.walker @walker.for_final_row do |row, cells| - html = "#{show_row row}#{debug_fields(row)}" + html = "#{show_row row}#{debug_fields(row)}" html << cells.join - html << "#{show_result(row)}#{debug_fields(row)}" + html << "#{show_result(row)}#{debug_fields(row)}" html.html_safe end