1 <h1><%= t '.title' -%></h1>
5 <th><%= t_m 'GroundColor.panel_id' -%></th>
6 <th><%= t_m 'GroundColor.color_id' -%></th>
7 <th><%= t_m 'GroundColor.z' -%></th>
8 <th><%= t_m 'GroundColor.created_at' -%></th>
9 <th><%= t_m 'GroundColor.updated_at' -%></th>
12 <% @ground_colors.each do |gc| %>
14 <td><%= link_to gc.panel_id, panel_path(gc.panel_id) %></td>
15 <td style="color: #<%= format("%06x", gc.color.code ^ 0xffffff) -%>; background-color: #<%= format("%06x", gc.color.code) -%>;"><%= h gc.color.name %></td>
17 <td><%= distance_of_time_in_words_to_now gc.created_at %></td>
18 <td><%= distance_of_time_in_words_to_now gc.updated_at %></td>