Files
limanapp/LiMan.UI/Components/ListDevicesDTO.razor
T
2025-01-25 10:40:07 +01:00

51 lines
1.7 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">
<DataPager PageSize="numRecord" currPage="currPage" numRecordChanged="setNumRec" numPageChanged="setNumPage" totalCount="totalCount" showLoading="isLoading" />
</div>
</div>
</div>