Versie module 1 van 26-7
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
<div class="page-header mb-4">
|
||||
|
||||
<h1>
|
||||
|
||||
📦 Producten
|
||||
|
||||
</h1>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
<% if(products.length === 0) { %>
|
||||
|
||||
|
||||
<p>
|
||||
|
||||
Nog geen producten.
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
<% } %>
|
||||
|
||||
|
||||
|
||||
<div class="list-group">
|
||||
|
||||
|
||||
<% products.forEach(product => { %>
|
||||
|
||||
|
||||
<div class="list-group-item">
|
||||
|
||||
|
||||
<strong>
|
||||
|
||||
<%= product.name %>
|
||||
|
||||
</strong>
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
<span class="text-secondary">
|
||||
|
||||
<%= product.category_icon || "" %>
|
||||
|
||||
<%= product.category_name || "Geen categorie" %>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<% }) %>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user