bf654f54e6
+ refresh dopo creazione dossier
63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
@using MP.SPEC.Components
|
|
@using MP.SPEC.Data
|
|
|
|
@if (ListRecords == null)
|
|
{
|
|
<LoadingData></LoadingData>
|
|
}
|
|
else if (totalCount == 0)
|
|
{
|
|
<div class="alert alert-warning text-center display-4">Nessun record trovato</div>
|
|
}
|
|
else
|
|
{
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<table class="table table-sm table-striped small">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
@if (currRecord != null)
|
|
{
|
|
<button @onclick="() => resetSel()" class="btn btn-primary btn-sm"><i class="bi bi-arrow-counterclockwise"></i></button>
|
|
}
|
|
</th>
|
|
<th><i class="fa-regular fa-calendar-days"></i> Data</th>
|
|
<th><i class="fa-solid fa-hard-drive"></i> Macchina</th>
|
|
<th><i class="fa-solid fa-sliders"></i> Parametro</th>
|
|
<th><i class="fa-solid fa-sliders"></i> Nome</th>
|
|
<th style="text-align: right">Valore</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var record in ListRecords)
|
|
{
|
|
<tr class="@checkSelect(@record)">
|
|
<td>
|
|
<button @onclick="() => selRecord(record)" class="btn btn-primary btn-sm"><i class="bi bi-search"></i></button>
|
|
</td>
|
|
<td>
|
|
@record.dtEvento
|
|
</td>
|
|
<td>
|
|
@record.IdxMacchina
|
|
</td>
|
|
<td>
|
|
@record.CodFlux
|
|
</td>
|
|
<td>
|
|
@traduci(record.CodFlux)
|
|
</td>
|
|
<td style="text-align: right">
|
|
<b>@record.Valore</b>
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
|