order and api and more
This commit is contained in:
@ -80,15 +80,16 @@ tr:hover {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.condition {
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
.rarity {
|
||||
width: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.card-number {
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.product-name {
|
||||
width: 200px;
|
||||
}
|
||||
@ -114,20 +115,20 @@ tbody tr:hover {
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="product-name">Product Name</th>
|
||||
<th class="condition">Condition</th>
|
||||
<th class="quantity">Qty</th>
|
||||
<th class="set">Set</th>
|
||||
<th class="rarity">Rarity</th>
|
||||
<th class="card-number">Card #</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in items %}
|
||||
<tr class="{{ 'foil' if 'Foil' in item.condition else '' }} {{ 'multiple' if item.quantity|int > 1 else '' }}">
|
||||
<td class="product-name">{{ item.product_name }}</td>
|
||||
<td class="condition">{{ item.condition }}</td>
|
||||
<td class="quantity">{{ item.quantity }}</td>
|
||||
<td class="set">{{ item.set }}</td>
|
||||
<td class="rarity">{{ item.rarity }}</td>
|
||||
<td class="card-number">{{ item.card_number }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
Reference in New Issue
Block a user