50 lines
1.6 KiB
Twig
50 lines
1.6 KiB
Twig
|
{% extends '@default/base.html.twig' %}
|
||
|
|
||
|
{% 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>
|
||
|
<th scope="col">eMail</th>
|
||
|
<th scope="col">Registered</th>
|
||
|
<th scope="col">Manage</th>
|
||
|
</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>
|
||
|
<td>
|
||
|
{{ user.email }}
|
||
|
</td>
|
||
|
<td>
|
||
|
{{ user.createdAt|ago }}
|
||
|
</td>
|
||
|
<td>
|
||
|
<button type="button" class="btn btn-outline-primary btn-lg btn-circle ml-2"><i class="fa fa-edit"></i> </button>
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|