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