mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Add consolidation for SCSI entities.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
@model 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 (var 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 type="hidden" asp-for="Json" name="models" />
|
||||
<a asp-action="Index" class="btn btn-primary">Back to List</a>
|
||||
<input class="btn btn-danger" type="submit" value="Consolidate" />
|
||||
</form>
|
||||
</div>
|
||||
@@ -34,6 +34,10 @@
|
||||
// Copyright © 2011-2019 Natalia Portillo
|
||||
// ****************************************************************************/
|
||||
}
|
||||
SCSI INQUIRY responses
|
||||
<div>
|
||||
<a asp-action="Consolidate" class="btn btn-danger">Consolidate duplicates</a>
|
||||
</div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user