1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

add game to player profile and admins page

This commit is contained in:
RaidMax
2022-06-07 21:58:32 -05:00
parent 231f3e47fd
commit c0879267c8
6 changed files with 18 additions and 6 deletions

View File

@ -5,10 +5,11 @@
@foreach (var key in Model.Keys)
{
<table class="table mb-20">
<table class="table mb-20" style="table-layout:fixed;">
<thead>
<tr class="level-bgcolor-@((int)key)">
<th class="text-light">@key.ToLocalizedLevelName()</th>
<th>Game</th>
<th class="text-right font-weight-bold">Last Connected</th>
</tr>
</thead>
@ -33,6 +34,9 @@
<color-code value="@client.Name"></color-code>
</a>
</td>
<td>
<div class="badge">@ViewBag.Localization[$"GAME_{client.Game}"]</div>
</td>
<td class="text-right">
@client.LastConnection.HumanizeForCurrentCulture()
</td>