used the interactive-table-directive for background color of header when being hovered

pull/6827/head
Henriette Dinger 9 years ago
parent 1fcfba735c
commit d80bf74728
  1. 4
      app/views/cost_objects/_form.html.erb
  2. 5
      app/views/cost_objects/_list.html.erb
  3. 2
      app/views/cost_types/_list.html.erb

@ -48,7 +48,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<legend><%= VariableCostObject.human_attribute_name(:material_budget) %></legend>
<div class="generic-table--container">
<div class="generic-table--results-container">
<table role="grid" class="generic-table" id="material_budget_items">
<table interactive-table role="grid" class="generic-table" id="material_budget_items">
<colgroup>
<col highlight-col>
<col highlight-col>
@ -117,7 +117,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<legend><%= VariableCostObject.human_attribute_name(:labor_budget) %></legend>
<div class="generic-table--container">
<div class="generic-table--results-container">
<table role="grid" class="generic-table" id="labor_budget_items">
<table interactive-table role="grid" class="generic-table" id="labor_budget_items">
<colgroup>
<col highlight-col>
<col highlight-col>

@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<div class="generic-table--container">
<div class="generic-table--results-container">
<table role="grid" class="generic-table" id="material_budget_items">
<table interactive-table role="grid" class="generic-table" id="material_budget_items">
<colgroup>
<col highlight-col>
<col highlight-col>
@ -93,7 +93,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<% end %>
<% if cost_objects.length > 0 %>
<tr>
<td colspan="2" />
<td />
<td />
<td class="currency"><strong><%= number_to_currency( total_budget, :precision => 0) %></strong></td>
<td class="currency"><strong><%= number_to_currency( spent, :precision => 0) %></strong></td>
<td class="currency"><strong><%= number_to_currency( total_budget - spent, :precision => 0) %></strong></td>

@ -35,7 +35,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<% else %>
<div class="generic-table--container">
<div class="generic-table--results-container">
<table role="grid" class="generic-table">
<table interactive-table role="grid" class="generic-table">
<colgroup>
<col highlight-col>
<col highlight-col>

Loading…
Cancel
Save