Files
yavsc/src/Yavsc/Views/Administration/Role.cshtml
Paul Schneider a757232ec4 button class
2025-07-12 19:00:30 +01:00

34 lines
747 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@model RoleUserCollection
@{ 
ViewBag.Title = "Role"+" "+Model.Name;
}
<h2>@ViewBag.Title</h2>
<p>
<a asp-action="Enroll" asp-route-RoleName="@Model.Name" class="btn btn-primary" >Enroll</a>
</p>
<ul>
<table class="table">
<tr>
<th>
User"]
</th>
<th>
</th>
</tr>
@foreach (var user in Model.Users) {
<tr>
<td>
<img src="~/avatars/@(user.UserName).xs.png" alt="avatar"/>
<span> @user.UserName </span>
</td>
<td>
<a asp-action="Fire" asp-route-RoleName="@Model.Name" asp-route-UserId="@user.UserId" class="btn btn-success" >
<img src="~/images/ptcroix.png" /> Fire </a>
</td>
</tr>
}
</table>