21 lines
784 B
Plaintext
21 lines
784 B
Plaintext
|
@model List<SharedLibrary.Dtos.PlayerInfo>
|
||
|
|
||
|
<div class="mr-auto ml-auto col-12 col-lg-7 border-bottom">
|
||
|
<h3 class="pb-2 text-center ">@ViewBag.Title</h3>
|
||
|
<div class="row pt-2 pb-2 bg-primary">
|
||
|
<div class="col-5 ">Name </div>
|
||
|
<div class="col-4">Level</div>
|
||
|
<div class="col-3 text-right">Last Seen</div>
|
||
|
</div>
|
||
|
|
||
|
@{
|
||
|
foreach (var client in Model)
|
||
|
{
|
||
|
<div class="row pt-2 pb-2 bg-dark">
|
||
|
<div class="col-5">@Html.ActionLink(client.Name, "ProfileAsync", "Client", new { id = client.ClientId })</div>
|
||
|
<div class="col-4 level-color-@client.Level.ToLower()">@client.Level</div>
|
||
|
<div class="col-3 text-right">@client.LastSeen ago</div>
|
||
|
</div>
|
||
|
}
|
||
|
}
|
||
|
</div>
|