Files
skeleton-api/app/templates/admin/_imported_parts_table_card.html
T
2026-07-02 14:48:21 -03:00

34 lines
1.0 KiB
HTML

<div id="imported-parts-table-card" class="card" style="overflow-x:auto">
{% include "admin/_pagination.html" %}
<table class="table">
<thead>
<tr>
<th>InventoryID</th>
<th>Description</th>
<th>TBX Colour</th>
<th>Max Thread Depth (mm)</th>
<th>Max Thread Depth (in)</th>
<th>OD (mm)</th>
<th>OD (in)</th>
<th>Thread Attribute</th>
</tr>
</thead>
<tbody>
{% for p in parts %}
<tr>
<td>{{ p.InventoryID }}</td>
<td>{{ p.Description or '—' }}</td>
<td>{{ p.TBXColour or '—' }}</td>
<td>{{ p.ProductMaxThreadDepthmm or '—' }}</td>
<td>{{ p.ProductMaxThreadDepthin or '—' }}</td>
<td>{{ p.ProductODmm or '—' }}</td>
<td>{{ p.ProductODin or '—' }}</td>
<td>{{ p.TBXThreadAttribute or '—' }}</td>
</tr>
{% else %}
<tr><td colspan="8" class="muted">No imported parts. Use Refresh to sync from OData.</td></tr>
{% endfor %}
</tbody>
</table>
</div>