Tweak styles for 'sources' grid on products view page
This commit is contained in:
parent
8e35b68e05
commit
c24120393f
2 changed files with 12 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue