34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<link rel="stylesheet" href="{{ url_for('static', filename='css/admin.css') }}">
|
|
|
|
{% if users != None %}
|
|
<p>Showing {{users|count}} users</p>
|
|
<div class="user-container">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Username</th>
|
|
<th>E-Mail</th>
|
|
<th>Phone Number</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for user in users %}
|
|
<tr>
|
|
<td>{{user.username}}</td>
|
|
<td>{{user.email}}</td>
|
|
<td>{{user.phone}}</td>
|
|
</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 %}
|