WMGZON/templates/admin.html

36 lines
1.3 KiB
HTML
Raw Normal View History

<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 class="table table-style">
<thead>
<tr>
<th scope="col">Username</th>
<th scope="col">E-Mail</th>
<th scope="col">Phone Number</th>
<th>BUTTON</th>
</tr>
</thead>
<tbody>
{% for user in users %}
<tr>
<td>{{user.username}}</td>
<td>{{user.email}}</td>
<td>{{user.phone}}</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 %}