Small layout changes
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
<tr id="<%= dom_id job %>" class="<%= cycle('bg-gray-50','bg-gray-200') %> ">
|
||||
<td class="p-3 text-sm text-gray-900"> <%= job.id %> </td>
|
||||
<td class="p-3 text-sm text-gray-900"> <%= job.fullname %> </td>
|
||||
<td class="p-3 text-sm text-gray-900"> <%= job.pdf %> </td>
|
||||
<td class="p-3 text-sm text-gray-900"> <%= job.number_of_plans_a0 %> </td>
|
||||
<td class="p-3 text-sm text-gray-900"> <%= job.number_of_plans_a1 %> </td>
|
||||
<td class="p-3 text-sm text-gray-900"> <%= job.number_of_plans_a2 %> </td>
|
||||
<td class="p-3 text-sm text-gray-900"> <%= job.number_of_plans_a3 %> </td>
|
||||
<td class="p-3 text-sm text-gray-900">
|
||||
<td class="p-3 text-sm text-hsrm-gray"> <%= job.id %> </td>
|
||||
<td class="p-3 text-sm text-hsrm-gray"> <%= job.fullname %> </td>
|
||||
<td class="p-3 text-sm text-hsrm-gray"> <%= job.pdf %> </td>
|
||||
<td class="p-3 text-sm text-center text-hsrm-gray"> <%= job.number_of_plans_a0 %> </td>
|
||||
<td class="p-3 text-sm text-center text-hsrm-gray"> <%= job.number_of_plans_a1 %> </td>
|
||||
<td class="p-3 text-sm text-center text-hsrm-gray"> <%= job.number_of_plans_a2 %> </td>
|
||||
<td class="p-3 text-sm text-center text-hsrm-gray"> <%= job.number_of_plans_a3 %> </td>
|
||||
<td class="p-3 text-sm text-center text-hsrm-gray">
|
||||
<% case job.status.to_sym %>
|
||||
<% when :open %>
|
||||
<span class="p-1.5 text-xs font-medium upercase tracking-wieder text-gray-900 bg-gray-300 rounded-lg"> <%= job.status %> </span>
|
||||
<span class="p-1.5 text-xs font-medium upercase tracking-wider text-gray-900 bg-gray-300 rounded-lg"> <%= job.status %> </span>
|
||||
<% when :printing %>
|
||||
<span class="p-1.5 text-xs font-medium upercase tracking-wieder text-yellow-900 bg-yellow-300 rounded-lg"> <%= job.status %> </span>
|
||||
<span class="p-1.5 text-xs font-medium upercase tracking-wider text-yellow-900 bg-yellow-300 rounded-lg"> <%= job.status %> </span>
|
||||
<% when :ready_for_pickup %>
|
||||
<span class="p-1.5 text-xs font-medium upercase tracking-wieder text-orange-900 bg-orange-300 rounded-lg"> <%= job.status %> </span>
|
||||
<span class="p-1.5 text-xs font-medium upercase tracking-wider text-lime-900 bg-lime-300 rounded-lg"> <%= job.status %> </span>
|
||||
<% when :paid %>
|
||||
<span class="p-1.5 text-xs font-medium upercase tracking-wieder text-green-900 bg-green-300 rounded-lg"> <%= job.status %> </span>
|
||||
<span class="p-1.5 text-xs font-medium upercase tracking-wider text-green-900 bg-green-300 rounded-lg"> <%= job.status %> </span>
|
||||
<% when :cancelled %>
|
||||
<span class="p-1.5 text-xs font-medium upercase tracking-wieder text-red-900 bg-red-300 rounded-lg"> <%= job.status %> </span>
|
||||
<span class="p-1.5 text-xs font-medium upercase tracking-wider text-red-900 bg-red-300 rounded-lg"> <%= job.status %> </span>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user