IW4M-Admin/WebfrontCore/Views/Client/Privileged/Index.cshtml
2022-01-26 15:20:10 -06:00

25 lines
796 B
Plaintext

@model Dictionary<SharedLibraryCore.Database.Models.EFClient.Permission, IList<SharedLibraryCore.Dtos.ClientInfo>>
<h4 class="pb-3 text-center ">@ViewBag.Title</h4>
<div class="row border-bottom">
@{
foreach (var key in Model.Keys)
{
<div class="col-12 bg-primary pt-2 pb-2">
@Utilities.ToLocalizedLevelName(key)
</div>
<div class="col-12 bg-dark pt-2 pb-2">
@foreach (var client in Model[key])
{
<a asp-controller="Client" asp-action="ProfileAsync" asp-route-id="@client.ClientId">
<color-code value="@client.Name"></color-code>
</a>
<br />
}
</div>
}
}
</div>