73 lines
2.6 KiB
Plaintext
73 lines
2.6 KiB
Plaintext
@page "/Test"
|
|
|
|
|
|
@using GPW.CORE.UI.Components
|
|
|
|
<PageTitle>Test - Fasi</PageTitle>
|
|
|
|
<div class="card">
|
|
<div class="card-header table-primary pb-0 mb-0">
|
|
<h2>Fasi</h2>
|
|
</div>
|
|
<div class="card-body">
|
|
@if (ListRecords == null)
|
|
{
|
|
<LoadingData></LoadingData>
|
|
}
|
|
else if (totalCount == 0)
|
|
{
|
|
<div class="alert alert-warning text-center display-4">No Record Found</div>
|
|
}
|
|
else
|
|
{
|
|
<div class="row">
|
|
<div class="col-12">
|
|
@*<div id="qrCodeImg"></div>*@
|
|
<table class="table table-sm table-striped">
|
|
<thead>
|
|
<tr>
|
|
@*<th></th>*@
|
|
<th>ID</th>
|
|
<th>Cod</th>
|
|
<th>Nome</th>
|
|
<th class="text-right">Descrizione</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var record in ListRecords)
|
|
{
|
|
<tr>
|
|
@*<td class="text-nowrap">
|
|
<button class="btn btn-sm btn-info" @onclick="() => Select(record)">
|
|
<i class="oi oi-magnifying-glass"></i>
|
|
</button>
|
|
</td>*@
|
|
<td>
|
|
<span>P<b>@record.IdxProgetto</b> | @record.IdxFase (← @record.IdxFaseAncest)</span>
|
|
</td>
|
|
<td>
|
|
<span><b>@record.CodFase</b></span>
|
|
</td>
|
|
<td>
|
|
<span>@record.NomeFase</span>
|
|
</td>
|
|
<td class="text-right">
|
|
@record.DescrizioneFase
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
<div class="card-footer p-1">
|
|
<DataPager PageSize="numRecord" currPage="currPage" numRecordChanged="ForceReload" numPageChanged="ForceReloadPage" totalCount="totalCount" showLoading="isLoading" />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|