From 0475258b56ec3962998ba1fdf2a9116bcaa45508 Mon Sep 17 00:00:00 2001 From: shiibe Date: Sat, 10 Sep 2022 15:58:06 -0400 Subject: [PATCH] Change view play data button to a drop down menu --- TaikoWebUI/Pages/Cards.razor | 15 ++++++++++----- TaikoWebUI/Pages/PlayResults.razor | 22 +++++++++++----------- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/TaikoWebUI/Pages/Cards.razor b/TaikoWebUI/Pages/Cards.razor index 5fe71c8..841f5e7 100644 --- a/TaikoWebUI/Pages/Cards.razor +++ b/TaikoWebUI/Pages/Cards.razor @@ -55,16 +55,21 @@ - - View Play Data - Edit Profile + + Taiko Mode + diff --git a/TaikoWebUI/Pages/PlayResults.razor b/TaikoWebUI/Pages/PlayResults.razor index 6077671..751834f 100644 --- a/TaikoWebUI/Pages/PlayResults.razor +++ b/TaikoWebUI/Pages/PlayResults.razor @@ -11,7 +11,7 @@ -

Play Data

+

Taiko Mode

Card: @Baid @@ -59,7 +59,7 @@ - + @@ -90,7 +90,7 @@ - + @@ -131,7 +131,7 @@ }); breadcrumbs.Add(new BreadcrumbItem($"Card: {Baid}", href: null, disabled: true)); - breadcrumbs.Add(new BreadcrumbItem("Play Data", href: $"/Cards/{Baid}/PlayResults", disabled: false)); + breadcrumbs.Add(new BreadcrumbItem("Taiko Mode", href: $"/Cards/{Baid}/PlayResults", disabled: false)); } private async Task OnFavoriteToggled(SongBestData data) @@ -166,13 +166,13 @@ return rank switch { ScoreRank.None => "None", - ScoreRank.White => "Stylish (White)", - ScoreRank.Bronze => "Stylish (Bronze)", - ScoreRank.Silver => "Stylish (Silver)", - ScoreRank.Gold => "Graceful (Gold)", - ScoreRank.Sakura => "Graceful (Sakura)", - ScoreRank.Purple => "Graceful (Purple)", - ScoreRank.Dondaful => "Top Class (Donderful)", + ScoreRank.White => "Stylish", + ScoreRank.Bronze => "Stylish", + ScoreRank.Silver => "Stylish", + ScoreRank.Gold => "Graceful", + ScoreRank.Sakura => "Graceful", + ScoreRank.Purple => "Graceful", + ScoreRank.Dondaful => "Top Class", _ => "" }; }