Files
limanapp/LiMan.UI/Components/InstAppRelStatus.razor
T
Samuele Locatelli 01f308743e Update stats page
2025-01-13 14:44:09 +01:00

44 lines
1.6 KiB
Plaintext

<div class="card shadow">
<div class="card-header">
<b>Applicazioni</b>
</div>
<div class="card-body">
@if (AppStats == null || AppStats.Count == 0)
{
<div class="alert alert-warning">
Nessun record trovato
</div>
}
else
{
<table class="table table-sm table-striped table-responsive-lg">
<thead>
<tr>
<th>Applicazione</th>
<th># Copie</th>
<th># Licenze</th>
<th class="text-right">Versione</th>
<th class="text-right">Stato</th>
</tr>
</thead>
<tbody>
@foreach (var record in ListRecord)
{
<tr>
<td>@record.CodApp</td>
<td>@record.NumInst</td>
<td>@record.NumImp</td>
<td>@record.VersNumCurrent</td>
<td>
<InstUp2DateDispl CurrRecord="record"></InstUp2DateDispl>
</td>
</tr>
}
</tbody>
</table>
}
</div>
<div class="card-footer">
<DataPager PageSize="numRecord" currPage="currPage" numRecordChanged="setNumRec" numPageChanged="setNumPage" totalCount="totalCount" showLoading="isLoading" />
</div>
</div>