IW4M-Admin/WebfrontCore/Views/Client/Privileged/Index.cshtml
RaidMax c4f19e94ef implement custom tag (descriptor) feature
allow override of level names through configuration
few small fixes/improvements
2021-01-24 11:47:19 -06:00

24 lines
829 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" allow="@ViewBag.EnableColorCodes"></color-code>
</a>
<br />
}
</div>
}
}
</div>