24 lines
808 B
Plaintext
24 lines
808 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">
|
|
@key.ToString()
|
|
</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> |