OSDN Git Service

t#31326:drop color
[pettanr/pettanr.git] / app / views / ground_colors / _list_item.html.erb
1 <tr>
2   <td>
3     <%= link_to ground_color.panel_id, panel_path(ground_color.panel) %>
4   </td>
5   <td style="color: #<%= format("%06x", ground_color.code ^ 0xffffff) -%>; background-color: #<%= format("%06x", ground_color.code) -%>;"><%= format("%06x", ground_color.code ^ 0xffffff) %></td>
6   <td>
7     <%= ground_color.z %>
8   </td>
9   <td>
10     <%= distance_of_time_in_words_to_now ground_color.updated_at %>
11   </td>
12 </tr>