From dfdb4c144fd7c023cd8cf00824b3f9446bd3e63d Mon Sep 17 00:00:00 2001 From: Bukk94 Date: Fri, 25 Nov 2022 15:21:13 +0100 Subject: [PATCH 1/6] Fixed invalid code in _Host.cshtml and extended gitignore --- .gitignore | 2 ++ src/Blazor.AdminLte.Site/Pages/_Host.cshtml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index dfcfd56f..6c2bd2fd 100644 --- a/.gitignore +++ b/.gitignore @@ -348,3 +348,5 @@ MigrationBackup/ # Ionide (cross platform F# VS Code tools) working folder .ionide/ + +.idea/ \ No newline at end of file diff --git a/src/Blazor.AdminLte.Site/Pages/_Host.cshtml b/src/Blazor.AdminLte.Site/Pages/_Host.cshtml index 99fc6243..2a6de59d 100644 --- a/src/Blazor.AdminLte.Site/Pages/_Host.cshtml +++ b/src/Blazor.AdminLte.Site/Pages/_Host.cshtml @@ -42,7 +42,7 @@
*@ - +
From 74d8e62d2b3ba74a08e361577e7a495dd5c4cce5 Mon Sep 17 00:00:00 2001 From: Bukk94 Date: Thu, 20 Oct 2022 11:49:45 +0200 Subject: [PATCH 2/6] Customizable links in notification message and chevron in SidebartreeView (cherry picked from commit a2a4ddc9e425960c820ef81a34a0357291238a78) --- .../NavBar/Dropdown/NotificationMessage.razor | 5 ++++- src/Blazor.AdminLte/SideBar/SideBarTreeView.razor | 8 ++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/Blazor.AdminLte/NavBar/Dropdown/NotificationMessage.razor b/src/Blazor.AdminLte/NavBar/Dropdown/NotificationMessage.razor index ad093489..925e2043 100644 --- a/src/Blazor.AdminLte/NavBar/Dropdown/NotificationMessage.razor +++ b/src/Blazor.AdminLte/NavBar/Dropdown/NotificationMessage.razor @@ -1,5 +1,5 @@ @namespace Blazor.AdminLte - + @Message @{ var prettyDate = DateTime.GetPrettyDate(); @@ -14,6 +14,9 @@ } @code { + + [Parameter] + public string Link { get; set; } [Parameter] public string Icon { get; set; } [Parameter] diff --git a/src/Blazor.AdminLte/SideBar/SideBarTreeView.razor b/src/Blazor.AdminLte/SideBar/SideBarTreeView.razor index 963c2870..da2bba61 100644 --- a/src/Blazor.AdminLte/SideBar/SideBarTreeView.razor +++ b/src/Blazor.AdminLte/SideBar/SideBarTreeView.razor @@ -5,7 +5,10 @@

@Title - + @if (!string.IsNullOrWhiteSpace(Chevron)) + { + + }