Tweak styles for 'sources' grid on products view page

This commit is contained in:
Lance Edgar 2017-02-15 01:13:46 -06:00
parent 8e35b68e05
commit c24120393f
2 changed files with 12 additions and 3 deletions

View file

@ -147,7 +147,7 @@
<div class="panel-grid" id="product-costs">
<h2>Vendor Sources</h2>
<div class="grid full hoverable no-border">
<div class="newgrid full no-border">
<table>
<thead>
<th>Pref.</th>
@ -158,8 +158,8 @@
<th>Unit Cost</th>
</thead>
<tbody>
% for i, cost in enumerate(instance.costs, 1):
<tr class="${'odd' if i % 2 else 'even'}">
% for cost in instance.costs:
<tr>
<td class="center">${'X' if cost.preference == 1 else ''}</td>
<td>${cost.vendor}</td>
<td class="center">${cost.code}</td>