Tweak styles for 'sources' grid on products view page
This commit is contained in:
parent
8e35b68e05
commit
c24120393f
|
@ -117,6 +117,10 @@
|
|||
margin-top: 0.3em;
|
||||
}
|
||||
|
||||
.newgrid.no-border {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.newgrid table {
|
||||
background-color: white;
|
||||
border: 1px solid black;
|
||||
|
@ -134,6 +138,11 @@
|
|||
width: 50%;
|
||||
}
|
||||
|
||||
.newgrid.no-border table {
|
||||
border-left: none;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
|
||||
/******************************
|
||||
* thead
|
||||
|
|
|
@ -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…
Reference in a new issue