IW4M-Admin/WebfrontCore/Views/Client/Privileged/Index.cshtml

24 lines
808 B
Plaintext
Raw Normal View History

@model Dictionary<SharedLibraryCore.Database.Models.EFClient.Permission, IList<SharedLibraryCore.Dtos.ClientInfo>>
2019-03-02 15:29:09 -05:00
<h4 class="pb-3 text-center ">@ViewBag.Title</h4>
2018-02-21 20:29:23 -05:00
<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])
{
2019-08-02 19:04:34 -04:00
<a asp-controller="Client" asp-action="ProfileAsync" asp-route-id="@client.ClientId">
<color-code value="@client.Name" allow="@ViewBag.EnableColorCodes"></color-code>
</a>
<br />
2018-02-21 20:29:23 -05:00
}
</div>
}
}
</div>