IW4M-Admin/WebfrontCore/Views/Client/Privileged/Index.cshtml
2018-02-22 00:06:21 -06:00

20 lines
672 B
Plaintext

@model Dictionary<SharedLibrary.Objects.Player.Permission, IList<SharedLibrary.Dtos.ClientInfo>>
<h4 class="pb-2 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])
{
<span>@Html.ActionLink(client.Name, "profileasync", "client", new { id = client.ClientId }, new { @class = "" })</span><br />
}
</div>
}
}
</div>