Gestion des Utilisateurs
Panneau d'administration
Ctrl + K
Afficher :
>10
>50
>100
>500
ID
Photo
Nom
Rôle
Actions
<% users.forEach(user => { %>
#<%= user.id %>
<%= user.name %>
<%= user.role %>
>User
>Admin
Mettre à jour
Générer Token
<% }) %>
<% if (currentPage > 1) { %>
<% } %> <% for(let i = 1; i <= pages; i++) { %> <% if (i === 1 || i === pages || (i >= currentPage - 2 && i <= currentPage + 2)) { %>
<%= i %>
<% } else if (i === currentPage - 3 || i === currentPage + 3) { %>
...
<% } %> <% } %> <% if (currentPage < pages) { %>
<% } %>