feat: Semaine 8
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{% extends "layout.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h2>My Orders</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Restaurant</th>
|
||||
<th>Total Price</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for order in orders %}
|
||||
{% include "order_row.html" %}
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="4">No orders found.</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user