Updated comments in Notification system

This commit is contained in:
2025-05-06 17:05:50 +03:00
parent 5061a92412
commit 3a714808e2
6 changed files with 30 additions and 13 deletions

View File

@@ -12,7 +12,6 @@
@inject NotificationService NotificationService
@rendermode InteractiveServer
<h3>Console Log Viewer</h3>
<div class="container mt-5">
<div class="row">
@@ -30,9 +29,8 @@
<h4>Controls</h4>
<button class="btn btn-success mb-2" @onclick="StartApplication" disabled="@IsRunning">Start Application</button>
<button class="btn btn-danger mb-2" @onclick="StopApplication" disabled="@(!IsRunning)">Stop Application</button>
<button class="btn btn-info mb-2" @onclick="LoadPlugins" disabled="@(!IsRunning)">Load Plugins</button>
<button class="btn btn-warning mb-2" @onclick="LoadPlugins" disabled="@(!IsRunning)">Load Plugins</button>
<button class="btn btn-warning mb-2" @onclick="ClearLogs">Clear Logs</button>
</div>
</div>
</div>

View File

@@ -12,13 +12,6 @@
@inject NavigationManager Navigation
<div class="d-flex justify-content-between align-items-center mb-3">
<button class="btn btn-success" @onclick="NavigateToAddPlugin">
<span class="bi me-1"></span> Add New Plugin
</button>
</div>
<h3>Installed Plugins</h3>
<table class="table">
<thead>
@@ -27,6 +20,11 @@
<th>Version</th>
<th>Offline Added</th>
<th>Actions</th>
<th>
<button class="btn btn-outline-success" @onclick="NavigateToAddPlugin">
<span class="bi me-1"></span> Add Local
</button>
</th>
</tr>
</thead>
<tbody>
@@ -40,6 +38,7 @@
<button class="btn btn-danger btn-sm" @onclick="async () => await DeletePluginButtonClick(plugin.Name)">Delete</button>
<button class="btn btn-info btn-sm" @onclick="async () => await PluginDetailsButtonClick(plugin.Name)">Details</button>
</td>
<td></td>
</tr>
}
</tbody>