68 lines
2.4 KiB
Plaintext
68 lines
2.4 KiB
Plaintext
<button @onclick="()=>scanB()">Scan Dir New</button>
|
|
<button @onclick="()=>doSave()">Save</button>
|
|
|
|
@if (files2Chk != null && files2Chk.Count() > 0)
|
|
{
|
|
|
|
<table class="table table-striped" style="min-height: 50rem;">
|
|
<thead>
|
|
<tr>
|
|
<th>New Hw type</th>
|
|
<th>New Tpl Folder</th>
|
|
<th>New Tpl Name</th>
|
|
<th class="text-center">
|
|
<input class="form-check-input mt-0" type="checkbox" value="" unchecked aria-label="Select or Unselect all" @bind="@selUns">
|
|
</th>
|
|
<th>Old Hw type</th>
|
|
<th>Old Tpl Folder</th>
|
|
<th>Old Tpl Name</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in files2Chk)
|
|
{
|
|
<tr>
|
|
@if (item.Value.status == Core.Enum.fileStatus.add || item.Value.status == Core.Enum.fileStatus.mod)
|
|
{
|
|
<td>
|
|
@item.Key.Split("\\")[0]
|
|
</td>
|
|
<td>
|
|
@item.Key.Split("\\")[1]
|
|
</td>
|
|
<td>
|
|
@item.Key.Split("\\")[2]
|
|
</td>
|
|
}
|
|
else
|
|
{
|
|
<td></td>
|
|
<td></td>
|
|
<td></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>
|
|
@if (item.Value.status == Core.Enum.fileStatus.rem || item.Value.status == Core.Enum.fileStatus.mod)
|
|
{
|
|
<td>
|
|
@item.Key.Split("\\")[0]
|
|
</td>
|
|
<td>
|
|
@item.Key.Split("\\")[1]
|
|
</td>
|
|
<td>
|
|
@item.Key.Split("\\")[2]
|
|
</td>
|
|
}
|
|
else
|
|
{
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
}
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
} |