59 lines
2.5 KiB
Plaintext
59 lines
2.5 KiB
Plaintext
@inherits BaseComp
|
|
|
|
<div class="modal" tabindex="-1" style="display:block; background-color: rgba(10,10,10,.6);" role="dialog">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<div class="d-flex align-items-center gap-3">
|
|
<div class="bg-secondary-subtle text-secondary rounded-3 p-2 d-flex align-items-center justify-content-center" style="width: 40px; height: 40px;">
|
|
<i class="bi bi-sliders fs-5"></i>
|
|
</div>
|
|
<h4 class="modal-title fs-4">@Traduci("config_parametri")</h4>
|
|
</div>
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" @onclick="DoClose"></button>
|
|
</div>
|
|
<div class="modal-body">
|
|
@if (isLoading)
|
|
{
|
|
<LoadingData></LoadingData>
|
|
}
|
|
else if (ListRecords == null || totalCount == 0)
|
|
{
|
|
<div class="alert alert-warning fs-4">@Traduci("noRecord")</div>
|
|
}
|
|
else
|
|
{
|
|
<table class="table table-sm table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-nowrap">@Traduci("nome")</th>
|
|
<th class="text-nowrap">@Traduci("valore")</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
@foreach (var item in ListRecords)
|
|
{
|
|
<tr>
|
|
<td class="">@item.Key</td>
|
|
<td class="">@item.Value</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
@if (totalCount >= numRecord)
|
|
{
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="15">
|
|
<EgwCoreLib.Razor.DataPager currPage="@currPage" PageSize="@numRecord" totalCount="@totalCount" numPageChanged="SavePage" numRecordChanged="SaveNumRec"></EgwCoreLib.Razor.DataPager>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
}
|
|
</table>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|