Files
lux/Lux.UI/Components/Compo/JobTask/JobStepMan.razor
T

46 lines
1.6 KiB
Plaintext

<div class="card shadow">
<div class="card-header">
Elenco <b>cicli</b> attivi
</div>
<div class="card-body">
@if (totalCount == 0)
{
<div class="alert alert-info text-center display-4">Nessun record trovato</div>
}
else
{
<table class="table table-sm table-striped">
<thead>
<tr>
<th>
<button class="btn btn-sm btn-primary" title="Reset selezione" @onclick="DoReset"><i class="fa-solid fa-arrow-rotate-right"></i></button>
</th>
@if (selRecord == null)
{
<th>Ord.</th>
<th>Descrizione</th>
<th>Fasi</th>
<th>
<button class="btn btn-sm btn-success" @onclick="ToggleAdd"><i class="fa-solid fa-plus"></i></button>
</th>
}
else
{
<th>Descrizione</th>
}
</tr>
</thead>
<tbody>
@foreach (var item in ListRecords)
{
<tr>
<td></td>
<td>@item.Index</td>
<td>@item.Description</td>
</tr>
}
</tbody>
</table>
}
</div>
</div>