From bc79428d0cc2d9a06ee0c41ae5af0c8f9632f9c5 Mon Sep 17 00:00:00 2001 From: Gianluigi Liguori Date: Wed, 31 Jul 2024 17:11:10 +0200 Subject: [PATCH] Upgrade styles --- src/Savings.SPA/Pages/ConfigurationEdit.razor | 12 ++++----- src/Savings.SPA/Pages/FixedItemEdit.razor | 22 ++++++++-------- src/Savings.SPA/Pages/FixedItems.razor | 2 +- src/Savings.SPA/Pages/History.razor | 2 +- src/Savings.SPA/Pages/Projection.razor | 2 +- .../Pages/RecurrencyAdjustment.razor | 4 +-- src/Savings.SPA/Pages/RecurrentItemEdit.razor | 26 +++++++++---------- src/Savings.SPA/Pages/RecurrentItems.razor | 2 +- src/Savings.SPA/Pages/Reports.razor | 2 +- src/Savings.SPA/Program.cs | 1 + src/Savings.SPA/Shared/MainLayout.razor | 3 +-- src/Savings.SPA/wwwroot/index.html | 3 ++- 12 files changed, 41 insertions(+), 40 deletions(-) diff --git a/src/Savings.SPA/Pages/ConfigurationEdit.razor b/src/Savings.SPA/Pages/ConfigurationEdit.razor index 205f050..6a41bb2 100644 --- a/src/Savings.SPA/Pages/ConfigurationEdit.razor +++ b/src/Savings.SPA/Pages/ConfigurationEdit.razor @@ -9,23 +9,23 @@ else { -
-
+
+

-
+
-
+
-
+
@foreach (var value in Enum.GetValues(typeof(Savings.Model.RecurrencyType))) @@ -38,7 +38,7 @@ else
-
+
diff --git a/src/Savings.SPA/Pages/FixedItemEdit.razor b/src/Savings.SPA/Pages/FixedItemEdit.razor index 0d0fe0d..8561d29 100644 --- a/src/Savings.SPA/Pages/FixedItemEdit.razor +++ b/src/Savings.SPA/Pages/FixedItemEdit.razor @@ -1,23 +1,23 @@ @attribute [Authorize] -
+
@if (!Credit) { -
+

} -
+
@if (isNew) { -
+

@@ -25,34 +25,34 @@
@if (!Credit) { -
-
+
+

-
+

-
+

-
+
} -
+
-
+
diff --git a/src/Savings.SPA/Pages/FixedItems.razor b/src/Savings.SPA/Pages/FixedItems.razor index b54c477..2ced3a7 100644 --- a/src/Savings.SPA/Pages/FixedItems.razor +++ b/src/Savings.SPA/Pages/FixedItems.razor @@ -8,7 +8,7 @@ } else { -
+
From:
diff --git a/src/Savings.SPA/Pages/History.razor b/src/Savings.SPA/Pages/History.razor index 61bd389..c6fad6c 100644 --- a/src/Savings.SPA/Pages/History.razor +++ b/src/Savings.SPA/Pages/History.razor @@ -7,7 +7,7 @@ } else { -
+
From:
diff --git a/src/Savings.SPA/Pages/Projection.razor b/src/Savings.SPA/Pages/Projection.razor index 73a704b..3bbe2f6 100644 --- a/src/Savings.SPA/Pages/Projection.razor +++ b/src/Savings.SPA/Pages/Projection.razor @@ -7,7 +7,7 @@ } else { -
+
To:
diff --git a/src/Savings.SPA/Pages/RecurrencyAdjustment.razor b/src/Savings.SPA/Pages/RecurrencyAdjustment.razor index 46aafdf..1c73d79 100644 --- a/src/Savings.SPA/Pages/RecurrencyAdjustment.razor +++ b/src/Savings.SPA/Pages/RecurrencyAdjustment.razor @@ -1,7 +1,7 @@ @attribute [Authorize] -
+
@@ -10,7 +10,7 @@
-
+
diff --git a/src/Savings.SPA/Pages/RecurrentItemEdit.razor b/src/Savings.SPA/Pages/RecurrentItemEdit.razor index edde35e..fa5b256 100644 --- a/src/Savings.SPA/Pages/RecurrentItemEdit.razor +++ b/src/Savings.SPA/Pages/RecurrentItemEdit.razor @@ -1,44 +1,44 @@ @attribute [Authorize] -
-
+
+

-
+

-
-
+
+
-
+
@if (!parentItemID.HasValue) { -
+

}
-
+
-
-
+
+
@foreach (var value in Enum.GetValues(typeof(Savings.Model.RecurrencyType))) @@ -48,12 +48,12 @@
-
+
-
+
@foreach (var value in Enum.GetValues(typeof(Savings.Model.MoneyType))) @@ -64,7 +64,7 @@
-
+
diff --git a/src/Savings.SPA/Pages/RecurrentItems.razor b/src/Savings.SPA/Pages/RecurrentItems.razor index 358fa06..3d510b6 100644 --- a/src/Savings.SPA/Pages/RecurrentItems.razor +++ b/src/Savings.SPA/Pages/RecurrentItems.razor @@ -11,7 +11,7 @@ } else { -
+
Active
diff --git a/src/Savings.SPA/Pages/Reports.razor b/src/Savings.SPA/Pages/Reports.razor index 5bad603..d4f5aac 100644 --- a/src/Savings.SPA/Pages/Reports.razor +++ b/src/Savings.SPA/Pages/Reports.razor @@ -8,7 +8,7 @@ else {

Categories

-
+

diff --git a/src/Savings.SPA/Program.cs b/src/Savings.SPA/Program.cs index 2c2adca..c1bb69a 100644 --- a/src/Savings.SPA/Program.cs +++ b/src/Savings.SPA/Program.cs @@ -16,6 +16,7 @@ builder.Services.AddScoped(); builder.Services.AddScoped(); builder.Services.AddScoped(); +builder.Services.AddRadzenComponents(); var configuredAuthentication = builder.Configuration["AuthenticationToUse"]; diff --git a/src/Savings.SPA/Shared/MainLayout.razor b/src/Savings.SPA/Shared/MainLayout.razor index ca766d3..f7d6c84 100644 --- a/src/Savings.SPA/Shared/MainLayout.razor +++ b/src/Savings.SPA/Shared/MainLayout.razor @@ -2,8 +2,7 @@ @inherits LayoutComponentBase @inject IJSRuntime JS - - +