diff --git a/WebUI/Components/Layout/NavMenu.razor b/WebUI/Components/Layout/NavMenu.razor index fd44d2b..bc28c75 100644 --- a/WebUI/Components/Layout/NavMenu.razor +++ b/WebUI/Components/Layout/NavMenu.razor @@ -1,6 +1,6 @@  diff --git a/WebUI/Components/Pages/Home.razor b/WebUI/Components/Pages/Home.razor index 5488824..1b157e0 100644 --- a/WebUI/Components/Pages/Home.razor +++ b/WebUI/Components/Pages/Home.razor @@ -12,7 +12,6 @@ @inject NotificationService NotificationService @rendermode InteractiveServer -

Console Log Viewer

@@ -30,9 +29,8 @@

Controls

- + -
diff --git a/WebUI/Components/Pages/Plugins/Local.razor b/WebUI/Components/Pages/Plugins/Local.razor index 76204ad..002e07a 100644 --- a/WebUI/Components/Pages/Plugins/Local.razor +++ b/WebUI/Components/Pages/Plugins/Local.razor @@ -12,13 +12,6 @@ @inject NavigationManager Navigation -
- -
- -

Installed Plugins

@@ -27,6 +20,11 @@ + @@ -40,6 +38,7 @@ + } diff --git a/WebUI/Models/Notification.cs b/WebUI/Models/Notification.cs index ac0c316..7b57b85 100644 --- a/WebUI/Models/Notification.cs +++ b/WebUI/Models/Notification.cs @@ -1,9 +1,25 @@ namespace WebUI.Models; +/// +/// Notification for the Notification System +/// public class Notification { + /// + /// The message of the notification. + /// public string Message { get; set; } + /// + /// The type of the notification + /// public NotificationType Type { get; set; } + /// + /// The time when the notification was being sent + /// public DateTime Timestamp { get; set; } = DateTime.Now; - public int DelayMs { get; set; } = 5000; + /// + /// The time in milliseconds while the notification should be displayed. + /// The notification should disappear after this time + /// + public int DelayMs { get; set; } = 1500; } diff --git a/WebUI/Models/NotificationType.cs b/WebUI/Models/NotificationType.cs index 738df49..d44b56b 100644 --- a/WebUI/Models/NotificationType.cs +++ b/WebUI/Models/NotificationType.cs @@ -1,5 +1,8 @@ namespace WebUI.Models; +/// +/// The notification type +/// public enum NotificationType { Success,
Version Offline Added Actions + +