mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
32 lines
919 B
Plaintext
32 lines
919 B
Plaintext
@using Aaru.Server.Old.Database.Models
|
|
@model Aaru.Server.Database.Models.IdHashModelForView
|
|
|
|
@{
|
|
ViewBag.Title = "Consolidate duplicate SCSIs";
|
|
Layout = "_Layout";
|
|
}
|
|
<h2>Consolidate duplicate SCSIs</h2>
|
|
<div>
|
|
The following SCSI INQUIRY have duplicates.
|
|
<table class="table">
|
|
<thead>
|
|
<tbody>
|
|
@foreach(IdHashModel item in Model.List)
|
|
{
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Description)
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
Do you want to remove the duplicates?
|
|
<form asp-action="Consolidate" enctype="multipart/form-data">
|
|
<input asp-for="Json" name="models" type="hidden"/>
|
|
<a asp-action="Index" class="btn btn-primary">Back to List</a>
|
|
<input class="btn btn-danger" type="submit" value="Consolidate"/>
|
|
</form>
|
|
</div> |