27 lines
957 B
HTML
27 lines
957 B
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></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for ap in augmented_parts %}
|
|
{% include "admin/_augmented_part_row.html" %}
|
|
{% else %}
|
|
<tr><td colspan="9" class="muted">No augmented parts recorded.</td></tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|