Files
btcpayserver-breez-nodeless…/BTCPayServer.Plugins.BreezSpark/Views/BreezSpark/Logs.cshtml
Aljaz Ceru 90a5c9c098 Fix: Update all view references from Breez to BreezSpark
- Fixed controller action references in Info.cshtml
- Updated partial view path in Payments.cshtml
- Fixed all SetActivePage calls to use BreezSpark
- Updated BreezPaymentsTable to BreezSparkPaymentsTable
- Fixed CSS IDs and selectors throughout views
- All navigation now correctly references BreezSpark controller
2025-12-10 21:17:46 +01:00

46 lines
1.3 KiB
Plaintext

@using BTCPayServer
@model System.Collections.Concurrent.ConcurrentQueue<(DateTimeOffset timestamp, string log)>
@{
var storeId = Context.GetCurrentStoreId();
ViewData.SetActivePage("BreezSpark", "Logs", "Logs");
}
<div class="row mb-4">
<div class="col-12">
@if (!Model.Any())
{
<p class="text-secondary mt-3 mb-0">
There are no recent logs.
</p>
}
else
{
<div class="table-responsive">
<table class="table table-hover w-100">
<thead>
<tr>
<th >Timestamp</th>
<th >Log</th>
</tr>
</thead>
<tbody>
@foreach (var log in Model)
{
<tr>
<td>
<span >@log.timestamp.ToTimeAgo()</span>
</td>
<td>
<span class="text-break">@log.log</span>
</td>
</tr>
}
</tbody>
</table>
</div>
}
</div>
</div>