Files
skeleton-api/app/templates/admin/_augmented_parts_table.html
T

33 lines
767 B
HTML

<div id="augmented-part-list">
{% if sync_result %}
<p class="alert alert-success">{{ sync_result }}</p>
{% endif %}
{% if sync_error %}
<p class="alert alert-error">{{ sync_error }}</p>
{% endif %}
<div class="card">
<table class="table">
<thead>
<tr>
<th>ID</th>
<th>SKU</th>
<th>Description</th>
<th>Colour</th>
<th>Manufacturer</th>
<th>Model</th>
<th>Type</th>
<th>Sub Type</th>
<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>
</div>