diff --git a/TaikoWebUI/Pages/Card.razor b/TaikoWebUI/Pages/Card.razor
index 3e4cfbf..eb12392 100644
--- a/TaikoWebUI/Pages/Card.razor
+++ b/TaikoWebUI/Pages/Card.razor
@@ -4,6 +4,8 @@
@using SharedProject.Models
@inject HttpClient Client
+
+
Card: @Baid
@if (response is not null)
@@ -84,7 +86,7 @@
+ Color="Color.Primary">
@if (isSavingOptions)
{
@@ -99,6 +101,11 @@
+
+
+
+
+
}
@code {
@@ -117,11 +124,18 @@
private readonly string[] notePositionStrings = new string[] { "-5", "-4", "-3", "-2", "-1", "0", "+1", "+2", "+3", "+4", "+5"};
+ private List _breadcrumbs = new List
+ {
+ new BreadcrumbItem("Dashboard", href: "Dashboard"),
+ };
+
protected override async Task OnInitializedAsync()
{
await base.OnInitializedAsync();
isSavingOptions = false;
response = await Client.GetFromJsonAsync($"api/UserSettings/{Baid}");
+
+ _breadcrumbs.Add(new BreadcrumbItem($"Card: {Baid}", href: null, disabled: true));
}
private async Task SaveOptions()
@@ -129,6 +143,5 @@
isSavingOptions = true;
await Client.PostAsJsonAsync($"api/UserSettings/{Baid}", response);
isSavingOptions = false;
- }
-
+ }
}
\ No newline at end of file
diff --git a/TaikoWebUI/Pages/Dashboard.razor b/TaikoWebUI/Pages/Dashboard.razor
index 0d5e42d..25b30d3 100644
--- a/TaikoWebUI/Pages/Dashboard.razor
+++ b/TaikoWebUI/Pages/Dashboard.razor
@@ -3,37 +3,42 @@
@inject NavigationManager UriHelper
@page "/Dashboard"
-
- @if (response is null)
- {
- No Data
- }
- else
- {
-
- @foreach (var user in response.Users)
- {
-
-
-
-
- Baid @user.Baid
-
-
-
-
-
-
- Access Code
- @user.AccessCode
-
-
-
- }
-
- }
-
-
+
+Dashboard
+
+@if (response is null)
+{
+
+ No Data
+
+}
+else
+{
+
+ @foreach (var user in response.Users)
+ {
+
+
+
+
+ @user.Baid
+
+
+
+ Access Code
+ @user.AccessCode
+
+
+
+ Delete
+ Edit
+
+
+
+
+ }
+
+}
@code {
private DashboardResponse? response;
diff --git a/TaikoWebUI/Shared/MainLayout.razor b/TaikoWebUI/Shared/MainLayout.razor
index 5e54b86..bcd814b 100644
--- a/TaikoWebUI/Shared/MainLayout.razor
+++ b/TaikoWebUI/Shared/MainLayout.razor
@@ -15,7 +15,7 @@
-
+
@Body