2022-11-05 17:18:04 +01:00
|
|
|
{% extends '@default/base.html.twig' %}
|
2022-05-03 14:52:04 +02:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Userlist
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container box rounded bg-dark mt-5 mb-5">
|
|
|
|
<div class="row">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th scope="col">Username</th>
|
|
|
|
<th scope="col">First</th>
|
|
|
|
<th scope="col">Last</th>
|
2022-11-05 17:18:04 +01:00
|
|
|
<th scope="col">eMail</th>
|
2022-05-03 14:52:04 +02:00
|
|
|
<th scope="col">Registered</th>
|
2022-11-05 17:18:04 +01:00
|
|
|
<th scope="col">Manage</th>
|
2022-05-03 14:52:04 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for user in users %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<a href="{{ path('app_main', { '_switch_user': user.username }) }}">{{ user.username }}</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ user.firstName }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ user.lastName }}
|
|
|
|
</td>
|
2022-11-05 17:18:04 +01:00
|
|
|
<td>
|
|
|
|
{{ user.email }}
|
|
|
|
</td>
|
2022-05-03 14:52:04 +02:00
|
|
|
<td>
|
|
|
|
{{ user.createdAt|ago }}
|
|
|
|
</td>
|
2022-11-05 17:18:04 +01:00
|
|
|
<td>
|
|
|
|
<button type="button" class="btn btn-outline-primary btn-lg btn-circle ml-2"><i class="fa fa-edit"></i> </button>
|
|
|
|
</td>
|
2022-05-03 14:52:04 +02:00
|
|
|
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|