1
0
mirror of synced 2024-11-30 17:24:33 +01:00

Update merge

This commit is contained in:
asesidaa 2022-09-10 14:41:17 +08:00
commit f5bb98d5da

View File

@ -36,7 +36,7 @@ else
<Column T="SongBestData" Field="@nameof(SongBestData.Difficulty)" Title="Difficulty">
<CellTemplate>
<MudTooltip Text="@(context.Item.Difficulty.ToString())" Arrow="true" Placement="Placement.Top">
<img src="@($"/images/{context.Item.Difficulty}.png")" alt="@(context.Item.Difficulty)" style="width:25px;height:25px;" />
<img src="@($"/images/{context.Item.Difficulty}.png")" alt="@(context.Item.Difficulty)" style="@ICON_STYLE" />
</MudTooltip>
</CellTemplate>
</Column>
@ -44,7 +44,7 @@ else
<Column T="SongBestData" Field="@nameof(SongBestData.BestCrown)" Title="Best Crown">
<CellTemplate>
<MudTooltip Text="@(GetCrownText(context.Item.BestCrown))" Arrow="true" Placement="Placement.Top">
<img src="@($"/images/crown_{context.Item.BestCrown}.png")" alt="@(context.Item.BestCrown)" style="width:25px;height:25px;" />
<img src="@($"/images/crown_{context.Item.BestCrown}.png")" alt="@(context.Item.BestCrown)" style="@ICON_STYLE" />
</MudTooltip>
</CellTemplate>
</Column>
@ -83,7 +83,9 @@ else
private SongBestResponse? response;
private List<BreadcrumbItem> breadcrumbs = new()
private const string ICON_STYLE = "width:25px; height:25px;";
private readonly List<BreadcrumbItem> breadcrumbs = new()
{
new BreadcrumbItem("Cards", href: "/Cards"),
};