This commit is contained in:
@@ -23,6 +23,26 @@
|
||||
<div><strong>Warning</strong> @_summary.WarningCount</div>
|
||||
<div><strong>Info</strong> @_summary.InfoCount</div>
|
||||
</div>
|
||||
<div class="admin-log-summary-breakdown">
|
||||
<section>
|
||||
<strong>Top Sources</strong>
|
||||
<ul>
|
||||
@foreach (var item in _summary.TopSources)
|
||||
{
|
||||
<li>@item.Key (@item.Value)</li>
|
||||
}
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
<strong>Top Routes</strong>
|
||||
<ul>
|
||||
@foreach (var item in _summary.TopRoutes)
|
||||
{
|
||||
<li>@item.Key (@item.Value)</li>
|
||||
}
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
}
|
||||
<div class="admin-log-filter-row">
|
||||
<input class="mud-input-slot" placeholder="검색어" @bind="_query" @bind:event="oninput" />
|
||||
@@ -167,6 +187,8 @@
|
||||
public int ErrorCount { get; set; }
|
||||
public int WarningCount { get; set; }
|
||||
public int InfoCount { get; set; }
|
||||
public List<KeyValuePair<string, int>> TopSources { get; set; } = [];
|
||||
public List<KeyValuePair<string, int>> TopRoutes { get; set; } = [];
|
||||
}
|
||||
|
||||
private sealed class ClientLogGroupDto
|
||||
|
||||
Reference in New Issue
Block a user