@inject HttpClient Client; @inject Blazored.LocalStorage.ILocalStorageService LocalStorage; @using TaikoWebUI.Utilities; @Localizer["Leaderboard"] @foreach (var difficulty in Enum.GetValues(typeof(Difficulty))) { if ((Difficulty)difficulty == Difficulty.None) { continue; }
@difficulty.ToString()
}
@if (response == null || response.LeaderboardData.Count == 0) { @Localizer["No Data"] } else { @Localizer["Rank"] @Localizer["Player"] @Localizer["Score"] @Localizer["Crown"] @Localizer["Rank"] @context.Rank @context.UserName (@Localizer["ID"]: @context.Baid) @context.BestScore @(ScoreUtils.GetCrownText(context.BestCrown)) @if (context.BestScoreRank is not ScoreRank.None) { @(ScoreUtils.GetRankText(context.BestScoreRank)) } else { } @if (TotalPages > 1) {
}
}