Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
0.0.4.3
Browse files Browse the repository at this point in the history
* fix user link for leaderboard
  • Loading branch information
devinSpitz authored Feb 26, 2022
2 parents 0018006 + 271812e commit 15ae817
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PavlovRconWebserver/PavlovRconWebserver.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PackageVersion>0.0.4</PackageVersion>
<Title>PavlovRconWebserver</Title>
<Authors>Devin Spitz</Authors>
<AssemblyVersion>0.0.4.2</AssemblyVersion>
<AssemblyVersion>0.0.4.3</AssemblyVersion>
<LangVersion>9</LangVersion>
</PropertyGroup>
<ItemGroup>
Expand Down
25 changes: 24 additions & 1 deletion PavlovRconWebserver/Views/LeaderBoard/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,30 @@
</tr>
</thead>
<tbody>
@* gets autofilled *@
@if (Model != null)
{
foreach (var steamIdentity in Model.list)
{
<tr>
<td>@steamIdentity.serverName</td>
<td>@steamIdentity.SteamId</td>
<td>@steamIdentity.SteamName</td>
@if (string.IsNullOrEmpty(@steamIdentity.SteamPicture))
{
<td><img src="~/images/noImg.png" height="150px" width="150px"/></td>
}
else
{
<td><img src="@steamIdentity.SteamPicture" height="150px" width="150px"/></td>
}
<td>@steamIdentity.Kills</td>
<td>@steamIdentity.Deaths</td>
<td>@steamIdentity.Assists</td>
<td>@steamIdentity.Exp</td>
<td>@steamIdentity.UpTime</td>
</tr>
}
}
</tbody>
</table>

Expand Down

0 comments on commit 15ae817

Please sign in to comment.