45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
<div class="card shadow">
|
|
<div class="card-header">
|
|
<b>Device Info</b>
|
|
</div>
|
|
<div class="card-body p-1">
|
|
@if (DetailInfo == null && totalCount == 0)
|
|
{
|
|
<div class="alert alert-warning p-2 text-center">No Info Present</div>
|
|
}
|
|
else
|
|
{
|
|
<table class="table table-sm table-striped table-responsive-lg small">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
Key
|
|
<Sorter ParamName="Key" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter>
|
|
</th>
|
|
<th class="text-right">
|
|
Value
|
|
<Sorter ParamName="Value" IsAsc="@sortAsc" CurrParam="@sortField" sortReq="SortRequested"></Sorter>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in ListRecord)
|
|
{
|
|
<tr>
|
|
<td>@item.Key</td>
|
|
<td class="text-right small">@item.Value</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
}
|
|
</div>
|
|
<div class="card-footer p-0 small">
|
|
<DataPager PageSize="numRecord" currPage="currPage" numRecordChanged="setNumRec" numPageChanged="setNumPage" totalCount="totalCount" showLoading="isLoading" DisplSize="DataPager.ObjSize.small" NumPages="3" />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|