FS
Francesco Scibilia

Feature- Rich User List - Copy this Html, Bootstrap Component to your project

@page "/userlist" @using System.Linq @using AuthenticationAndAuthorization.Data @attribute [Authorize(Roles = "Administrator")] @inject IDbRepository DbRepository <h1>Lista Utenti</h1> <button @onclick="ApriPopupFiltri" class="btn btn primary mb 3"> Filtri </button> <UserFilters ShowFiltri="ShowFiltri" UsernameFilter="UsernameFilter" RuoloFilter="RuoloFilter" EmailFilter="EmailFilter" LastNameFilter="LastNameFilter" EnabledFilter="EnabledFilter" OnApplicaFiltri="ApplicaFiltri" OnCancellaFiltri="CancellaFiltri" /> <table class="table"> <thead> <tr> <th>Username</th> <th>Last Name</th> <th>Ruolo</th> <th>Email</th> <th>Abilitato</th> </tr> </thead> <tbody> @foreach (var user in UtentiPaginati) { <tr> <td>@user.UserID</td> <td>@user.LastName</td> <td>@user.Role</td> <td>@user.Email</td> <td>@(user.Enabled == 1 ? "SI" : "NO")</td> </tr> } </tbody> </table> <Pagination CurrentPage="CurrentPage" TotalePagine="TotalePagine" OnPaginaPrecedente="PaginaPrecedente" OnPaginaSuccessiva="PaginaSuccessiva" />

Prompt
Component Preview

About

Feature-Rich User List - Easily manage users with filters for username, role, and email. Pagination included for smooth navigation. Bui. Get free template!

Share

Last updated 1 month ago