37 lines
1.4 KiB
Plaintext
37 lines
1.4 KiB
Plaintext
<button @onclick="()=>scanB()">Scan Dir New</button>
|
|
|
|
<table class="table table-striped" style="min-height: 50rem;">
|
|
<thead>
|
|
<tr>
|
|
<th>New files</th>
|
|
<th class="d-flex justify-content-center">
|
|
<button class="btn btn-sm bnt-dark" @onclick="()=>selectAll()"><i class="fa-regular fa-square-check"></i></button>
|
|
<button class="btn btn-sm bnt-dark" @onclick="()=>unselectAll()"><i class="fa-solid fa-retweet"></i></button>
|
|
</th>
|
|
<th class="text-end">Old files</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in files2Chk)
|
|
{
|
|
<tr>
|
|
<td>
|
|
@if (item.Value.status == Core.Enum.fileStatus.add || item.Value.status == Core.Enum.fileStatus.mod)
|
|
{
|
|
@item.Key
|
|
}
|
|
</td>
|
|
<td class="text-center">
|
|
<button class="btn @btnCssClass(item.Value.status, item.Value.action)" @onclick="()=>changeDoAct(item)"><i class="@btnIcon(item.Value.status)"></i></button>
|
|
</td>
|
|
<td class="text-end">
|
|
@if (item.Value.status == Core.Enum.fileStatus.rem || item.Value.status == Core.Enum.fileStatus.mod)
|
|
{
|
|
|
|
@item.Key
|
|
}
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table> |