Clean up
This commit is contained in:
parent
743af36752
commit
5e662f8cdb
@ -1,5 +1,4 @@
|
|||||||
@page "/Card/{baid}"
|
@page "/Card/{baid}"
|
||||||
@using SharedProject.Models.Responses
|
|
||||||
@using SharedProject.Enums
|
@using SharedProject.Enums
|
||||||
@using SharedProject.Models
|
@using SharedProject.Models
|
||||||
@inject HttpClient Client
|
@inject HttpClient Client
|
||||||
@ -25,24 +24,24 @@
|
|||||||
<MudItem xs="12" md="4">
|
<MudItem xs="12" md="4">
|
||||||
<MudSelect @bind-Value="@response.TitlePlateId" Label="Title Plate">
|
<MudSelect @bind-Value="@response.TitlePlateId" Label="Title Plate">
|
||||||
@for (uint i = 0; i < 8; i++)
|
@for (uint i = 0; i < 8; i++)
|
||||||
{
|
{
|
||||||
var index = i;
|
var index = i;
|
||||||
<MudSelectItem Value="@i">@titlePlateStrings[index]</MudSelectItem>
|
<MudSelectItem Value="@i">@titlePlateStrings[index]</MudSelectItem>
|
||||||
}
|
}
|
||||||
</MudSelect>
|
</MudSelect>
|
||||||
</MudItem>
|
</MudItem>
|
||||||
</MudGrid>
|
</MudGrid>
|
||||||
|
|
||||||
<MudSelect @bind-Value="@response.AchievementDisplayDifficulty"
|
<MudSelect @bind-Value="@response.AchievementDisplayDifficulty"
|
||||||
Label="Achievement Panel Difficulty">
|
Label="Achievement Panel Difficulty">
|
||||||
@foreach (var item in Enum.GetValues<Difficulty>())
|
@foreach (var item in Enum.GetValues<Difficulty>())
|
||||||
{
|
{
|
||||||
<MudSelectItem Value="@item" />
|
<MudSelectItem Value="@item"/>
|
||||||
}
|
}
|
||||||
</MudSelect>
|
</MudSelect>
|
||||||
|
|
||||||
<MudSwitch @bind-Checked="@response.IsDisplayAchievement" Label="Display Achievement Panel" Color="Color.Primary" />
|
<MudSwitch @bind-Checked="@response.IsDisplayAchievement" Label="Display Achievement Panel" Color="Color.Primary"/>
|
||||||
<MudSwitch @bind-Checked="@response.IsDisplayDanOnNamePlate" Label="Display Dan Rank on Name Plate" Color="Color.Primary" />
|
<MudSwitch @bind-Checked="@response.IsDisplayDanOnNamePlate" Label="Display Dan Rank on Name Plate" Color="Color.Primary"/>
|
||||||
</MudStack>
|
</MudStack>
|
||||||
</MudPaper>
|
</MudPaper>
|
||||||
|
|
||||||
@ -137,7 +136,8 @@
|
|||||||
|
|
||||||
private readonly string[] notePositionStrings = { "-5", "-4", "-3", "-2", "-1", "0", "+1", "+2", "+3", "+4", "+5" };
|
private readonly string[] notePositionStrings = { "-5", "-4", "-3", "-2", "-1", "0", "+1", "+2", "+3", "+4", "+5" };
|
||||||
|
|
||||||
private readonly string[] toneStrings = {
|
private readonly string[] toneStrings =
|
||||||
|
{
|
||||||
"Taiko", "Festival", "Dogs & Cats", "Deluxe",
|
"Taiko", "Festival", "Dogs & Cats", "Deluxe",
|
||||||
"Drumset", "Tambourine", "Don Wada", "Clapping",
|
"Drumset", "Tambourine", "Don Wada", "Clapping",
|
||||||
"Conga", "8-Bit", "Heave-ho", "Mecha",
|
"Conga", "8-Bit", "Heave-ho", "Mecha",
|
||||||
@ -145,7 +145,8 @@
|
|||||||
"Synth Drum", "Shuriken", "Bubble Pop", "Electric Guitar"
|
"Synth Drum", "Shuriken", "Bubble Pop", "Electric Guitar"
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly string[] titlePlateStrings = {
|
private readonly string[] titlePlateStrings =
|
||||||
|
{
|
||||||
"Wood", "Rainbow", "Gold", "Purple",
|
"Wood", "Rainbow", "Gold", "Purple",
|
||||||
"AI 1", "AI 2", "AI 3", "AI 4"
|
"AI 1", "AI 2", "AI 3", "AI 4"
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user