Files
Samuele Locatelli 5d72d21fb1 Stat installazioni:
Update gestione paginazione (visibile solo dove serve) + fix calcolo di alcuni intems male filtrati
2025-04-03 17:47:31 +02:00

54 lines
1.8 KiB
Plaintext

<div class="col-12 col-md-6 col-lg-4 mt-2">
<div class="card shadow rounded-3">
<div class="card-header d-flex justify-content-between">
<div class="px-0 fs-3">
<b>@Title</b>
</div>
<div class="px-0 fs-5">
<button class="btn-close" @onclick="() => ShowDetail(Core.Enum.UpdStatus.None)"></button>
</div>
</div>
<div class="card-body">
<table class="table table-sm table-striped table-responsive-lg small">
<thead>
<tr>
<th>
Cliente/Inst.
</th>
<th>
Device
</th>
<th>
Last Cmd
</th>
</tr>
</thead>
<tbody>
@foreach (var record in ListRecord)
{
<tr>
<td>
@record.CodInst
</td>
<td>
@record.DevName
</td>
<td>
@record.LastUpdate
</td>
</tr>
}
</tbody>
</table>
</div>
<div class="card-footer">
@if (totalCount > numRecord)
{
<DataPager PageSize="numRecord" currPage="currPage" numRecordChanged="setNumRec" numPageChanged="setNumPage" totalCount="totalCount" showLoading="isLoading" />
}
</div>
</div>
</div>