64 lines
2.8 KiB
Plaintext
64 lines
2.8 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
|
|
{
|
|
<div class="row">
|
|
<div class="@tblCol">
|
|
<table class="table table-sm table-striped table-responsive-lg">
|
|
<thead>
|
|
<tr>
|
|
<th><button class="btn btn-primary btn-sm" @onclick="() => DoSelect(null)"><i class="fa-solid fa-rotate"></i></button></th>
|
|
<th>Applicazione</th>
|
|
@if (CurrRecord == null)
|
|
{
|
|
<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 class="@checkSelect(record.CodApp)">
|
|
<td>
|
|
<button class="btn btn-info btn-sm" @onclick="() => DoSelect(record)"><i class="fa-solid fa-magnifying-glass"></i></button>
|
|
</td>
|
|
<td>@record.CodApp</td>
|
|
@if (CurrRecord == null)
|
|
{
|
|
<td>@record.NumInst</td>
|
|
<td>@record.NumImp</td>
|
|
<td>@record.VersNumCurrent</td>
|
|
<td>
|
|
<InstUp2DateDispl CurrRecord="record"></InstUp2DateDispl>
|
|
</td>
|
|
}
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
@if (CurrRecord != null)
|
|
{
|
|
<div class="col-9">
|
|
<InstAppPareto CurrRecord="CurrRecord"></InstAppPareto>
|
|
</div>
|
|
}
|
|
</div>
|
|
}
|
|
</div>
|
|
<div class="card-footer">
|
|
<DataPager PageSize="numRecord" currPage="currPage" numRecordChanged="setNumRec" numPageChanged="setNumPage" totalCount="totalCount" showLoading="isLoading" />
|
|
</div>
|
|
</div> |