28 lines
876 B
HTML
28 lines
876 B
HTML
<%~ E.includeFile("partials/head.eta.html", {"title": "Dashboard"}) %> <%~ E.includeFile("partials/controls.eta.html", {"active": "AllItems"}) %>
|
|
|
|
<h1>All items</h1>
|
|
<div class="container">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">SKU</th>
|
|
<th scope="col">Name</th>
|
|
<th scope="col">Status</th>
|
|
<th scope="col">Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% it.items.forEach(function(user){ %>
|
|
<tr>
|
|
<td scope="row" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-title="ID: <%= user.id %>"><%= user.SKU %></td>
|
|
<td><%= user.name %></td>
|
|
<td><span class="badge text-bg-success"><%= user.status %></span></td>
|
|
<td><a href="#" class="btn btn-primary">Edit</a></td>
|
|
</tr>
|
|
<% }) %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<%~ E.includeFile("partials/controlsFoot.eta.html") %> <%~ E.includeFile("partials/foot.eta.html") %>
|