30 lines
1.0 KiB
HTML
30 lines
1.0 KiB
HTML
{% from "admin/_sort_macros.html" import sort_th %}
|
|
<div id="augmented-parts-table-card" class="card">
|
|
{% include "admin/_pagination.html" %}
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
{{ sort_th("id", "ID", sort_headers) }}
|
|
{{ sort_th("sku", "SKU", sort_headers) }}
|
|
{{ sort_th("description", "Description", sort_headers) }}
|
|
{{ sort_th("colour", "Colour", sort_headers) }}
|
|
{{ sort_th("manufacturer", "Manufacturer", sort_headers) }}
|
|
{{ sort_th("scope_model", "Model", sort_headers) }}
|
|
{{ sort_th("part_type", "Type", sort_headers) }}
|
|
{{ sort_th("sub_part_type", "Sub Type", sort_headers) }}
|
|
<th>Archived</th>
|
|
<th>On Website</th>
|
|
<th>Preferred</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for ap in augmented_parts %}
|
|
{% include "admin/_augmented_part_row.html" %}
|
|
{% else %}
|
|
<tr><td colspan="12" class="muted">No augmented parts recorded.</td></tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|