From 8a92ae36b47a378e3193d9551ec9a658b13b9286 Mon Sep 17 00:00:00 2001 From: barhen Date: Fri, 2 Jun 2023 09:46:40 -0500 Subject: [PATCH] Dashboard WIP Commit 2 --- Client/Biskilog Accounting.Client.csproj | 1 + Client/Elements/Footer.razor | 2 +- Client/Elements/Sidebar.razor.cs | 16 +-- Client/Layouts/MainLayout.razor | 36 +++--- Client/Layouts/MainLayout.razor.cs | 24 ++++ Client/Pages/Auth/Login.razor | 13 +- Client/Pages/Auth/Login.razor.cs | 109 +++++++++++++++- Client/Pages/Dashboard/Dashboard.razor | 119 ++---------------- Client/Pages/Dashboard/Dashboard.razor.cs | 42 +++++-- .../Elements/AnalyticsItemSmall.razor | 28 +++++ .../Elements/AnalyticsItemSmall.razor.cs | 16 +++ .../Dashboard/Elements/WelcomeCard.razor | 2 +- .../Dashboard/Elements/WelcomeCard.razor.cs | 17 +-- Client/Program.cs | 4 + Client/wwwroot/assets/vendor/css/core.css | 22 ++-- .../assets/vendor/css/theme-default.css | 20 +-- Server/Biskilog Accounting.Server.csproj | 3 +- Server/Controllers/AnalyticsController.cs | 9 ++ Server/Services/AnalyticalService.cs | 42 +++++++ Shared/Biskilog Accounting.Shared.csproj | 1 + Shared/CustomModels/TradeSummary.cs | 16 +++ Shared/Interfaces/IAnalytics.cs | 6 +- Shared/Interfaces/ITokenService.cs | 4 + Shared/ServiceRepo/CalculatorService.cs | 2 +- Shared/ServiceRepo/TokenService.cs | 43 ++++++- 25 files changed, 413 insertions(+), 184 deletions(-) create mode 100644 Client/Layouts/MainLayout.razor.cs create mode 100644 Client/Pages/Dashboard/Elements/AnalyticsItemSmall.razor create mode 100644 Client/Pages/Dashboard/Elements/AnalyticsItemSmall.razor.cs create mode 100644 Shared/CustomModels/TradeSummary.cs diff --git a/Client/Biskilog Accounting.Client.csproj b/Client/Biskilog Accounting.Client.csproj index fd65417..f344a0f 100644 --- a/Client/Biskilog Accounting.Client.csproj +++ b/Client/Biskilog Accounting.Client.csproj @@ -14,6 +14,7 @@ + diff --git a/Client/Elements/Footer.razor b/Client/Elements/Footer.razor index 2a99ca9..34fb85e 100644 --- a/Client/Elements/Footer.razor +++ b/Client/Elements/Footer.razor @@ -1,4 +1,4 @@ -