Files

28 lines
1008 B
Plaintext
Raw Permalink Normal View History

@using WotBlitzStatisticsPro.Blazor.Helpers
@inject IStringLocalizer<App> Localize
<div class="container">
<div class="row">
@Player.Nickname
@if (Player.ClanTag != null)
{
<span style="color: @Constants.ClanTagColor;"> [<span style="font-weight: bolder;">@Player.ClanTag</span>]</span>
}
</div>
<div class="row" title="@Localize["Win rate"]">
<span style="font-size: 12px; color: @Player.WinRate.ScaleColor()"> <RadzenIcon Icon="flag" Style="height: 15px;" /> @Player.WinRate%</span>
</div>
<div class="row" title="@Localize["Battles"]">
<span style="font-size: 12px"><RadzenIcon Icon="videogame_asset" /> @Player.BattlesCount</span>
</div>
<div class="row" title="@Localize["Last battle"]">
<span style="font-size: 12px"><RadzenIcon Icon="schedule" /> @Player.LastBattle.SinceTime(Localize)</span>
</div>
</div>
<hr>
2021-05-16 22:43:49 +02:00
@code {
[Parameter]
2021-06-04 15:35:53 +02:00
public IPlayerShortInfo Player { get; set; }
2021-05-16 22:43:49 +02:00
}