mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 02:17:20 +02:00
feat: tank info dialog finished
This commit is contained in:
1 parent
d5a139822d
commit
3767ff6a71
3 files changed
+5
-5
No files matched your search
@@ -1,6 +1,6 @@
|
||||
@using WotBlitzStatisticsPro.Blazor.Helpers
|
||||
@inject IStringLocalizer<App> Localize;
|
||||
<RadzenCard class="m-3" style="width: 350px;">
|
||||
<RadzenCard class="m-3" style="width: 340px;">
|
||||
<h3 class="h5">@Localize["Ower all statistics"]</h3>
|
||||
<table class="table" width="100%">
|
||||
<tbody>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
@using WotBlitzStatisticsPro.Blazor.Model
|
||||
|
||||
<p>
|
||||
@Tank.Name
|
||||
</p>
|
||||
<TankListItem Tank=@Tank></TankListItem>
|
||||
<OverallStatisticsCard Statistics="@Tank"></OverallStatisticsCard>
|
||||
|
||||
|
||||
@code {
|
||||
[Parameter]
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace WotBlitzStatisticsPro.Blazor.Services
|
||||
{
|
||||
await _dialogService.OpenAsync<TankInfoDialog>(tank.Name,
|
||||
new Dictionary<string, object>() { { "Tank", tank } },
|
||||
new DialogOptions() { Width = "300px", Height = "800px" });
|
||||
new DialogOptions() { Width = "300px", Height = "850px" });
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user