2024-02-13 10:04:59 +00:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/admin.css') }}">
|
|
|
|
|
|
|
|
{% if users != None %}
|
|
|
|
<p>Showing {{users|count}} users</p>
|
|
|
|
<div class="user-container">
|
2024-02-13 11:59:14 +00:00
|
|
|
<table class="table table-style">
|
2024-02-13 10:04:59 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2024-02-13 11:59:14 +00:00
|
|
|
<th scope="col">Username</th>
|
|
|
|
<th scope="col">E-Mail</th>
|
|
|
|
<th scope="col">Phone Number</th>
|
|
|
|
<th>BUTTON</th>
|
2024-02-13 10:04:59 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for user in users %}
|
|
|
|
<tr>
|
|
|
|
<td>{{user.username}}</td>
|
|
|
|
<td>{{user.email}}</td>
|
|
|
|
<td>{{user.phone}}</td>
|
2024-02-13 11:59:14 +00:00
|
|
|
<td>{{user.phone}}</td>
|
2024-02-13 10:04:59 +00:00
|
|
|
</tr>
|
|
|
|
<!-- <a href="/products/{{user.id}}" class="product product-link">
|
|
|
|
<div class="product-title">{{user.username}}</div>
|
|
|
|
<div class="product-content-container">
|
|
|
|
</div>
|
|
|
|
<input type="submit" class="product-add-to-cart" value="Add to Cart" />
|
|
|
|
</a> -->
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<p>Sorry... We have nothing to show here!</p>
|
|
|
|
{% endif %}
|