{% extends 'admin.base.html.twig' %}
{% block body %}
<nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">
<button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
<i class="fa fa-bars"></i>
</button>
<h1 class="h3 mb-2 text-gray-800"><i class="fas fa-solid fa-user"></i> {{ langs.trans('Users') }}</h1>
</nav>
<div class="container-fluid">
<p class="mb-4">{{ langs.trans('UsersDescription') }}</p>
<div class="card shadow mb-4">
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
<thead>
<tr>
<th>{{ langs.trans('User') }}</th>
<th>{{ langs.trans('EmailAddress') }}</th>
<th>{{ langs.trans('RegistrationDate') }}</th>
</tr>
</thead>
<tfoot>
<tr>
<th>{{ langs.trans('User') }}</th>
<th>{{ langs.trans('EmailAddress') }}</th>
<th>{{ langs.trans('RegistrationDate') }}</th>
</tr>
</tfoot>
<tbody>
{% for result in resultLastXUsers %}
<tr>
<td>{{ result.first_name }} {{ result.last_name }}</td>
<td>{{ result.username }}</td>
<td>{{ result.created_at|date("H:i d-m-Y") }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
{% endblock %}
|