Files
Aaru.Server/DiscImageChef.Server/Areas/Admin/Views/Scsis/Index.cshtml

100 lines
3.5 KiB
Plaintext
Raw Normal View History

2019-11-17 13:41:21 +00:00
@using DiscImageChef
@model IEnumerable<DiscImageChef.CommonTypes.Metadata.Scsi>
@{
2019-11-08 00:23:14 +00:00
Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
ViewBag.Title = "DiscImageChef";
}
@{
// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
// Filename : Index.cshtml
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : DiscImageChef Server.
//
// --[ License ] --------------------------------------------------------------
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright © 2011-2019 Natalia Portillo
// ****************************************************************************/
}
2019-11-17 18:11:51 +00:00
SCSI INQUIRY responses
<div>
<a asp-action="Consolidate" class="btn btn-danger">Consolidate duplicates</a>
</div>
<table class="table">
<thead>
2019-11-08 20:30:13 +00:00
<tr>
<th>
2019-11-17 13:41:21 +00:00
@Html.DisplayNameFor(model => model.Id)
2019-11-08 20:30:13 +00:00
</th>
<th>
2019-11-17 13:41:21 +00:00
@Html.DisplayNameFor(model => model.Inquiry.Value.VendorIdentification)
2019-11-08 20:30:13 +00:00
</th>
<th>
2019-11-17 13:41:21 +00:00
@Html.DisplayNameFor(model => model.Inquiry.Value.ProductIdentification)
2019-11-08 20:30:13 +00:00
</th>
<th>
2019-11-17 13:41:21 +00:00
@Html.DisplayNameFor(model => model.Inquiry.Value.ProductRevisionLevel)
2019-11-08 20:30:13 +00:00
</th>
<th>
2019-11-17 13:41:21 +00:00
@Html.DisplayNameFor(model => model.SupportsModeSense6)
2019-11-08 20:30:13 +00:00
</th>
<th>
2019-11-17 13:41:21 +00:00
@Html.DisplayNameFor(model => model.SupportsModeSense10)
2019-11-08 20:30:13 +00:00
</th>
<th>
2019-11-17 13:41:21 +00:00
@Html.DisplayNameFor(model => model.SupportsModeSubpages)
2019-11-08 20:30:13 +00:00
</th>
<th></th>
</tr>
</thead>
<tbody>
2019-11-08 20:30:13 +00:00
@foreach (var item in Model)
{
<tr>
<td>
2019-11-17 13:41:21 +00:00
@Html.DisplayFor(modelItem => item.Id)
</td>
<td>
2019-11-17 13:41:21 +00:00
@StringHandlers.CToString(item.Inquiry?.VendorIdentification)
</td>
<td>
2019-11-17 13:41:21 +00:00
@StringHandlers.CToString(item.Inquiry?.ProductIdentification)
</td>
<td>
2019-11-17 13:41:21 +00:00
@StringHandlers.CToString(item.Inquiry?.ProductRevisionLevel)
</td>
<td>
2019-11-17 13:41:21 +00:00
@Html.DisplayFor(modelItem => item.SupportsModeSense6)
</td>
<td>
2019-11-17 13:41:21 +00:00
@Html.DisplayFor(modelItem => item.SupportsModeSense10)
</td>
<td>
2019-11-17 13:41:21 +00:00
@Html.DisplayFor(modelItem => item.SupportsModeSubpages)
</td>
<td>
2019-11-08 00:32:48 +00:00
<a asp-action="Details" asp-route-id="@item.Id" class="btn btn-primary">Details</a>
<a asp-action="Delete" asp-route-id="@item.Id" class="btn btn-danger">Delete</a>
2019-11-08 20:30:13 +00:00
</td>
</tr>
2019-11-08 20:30:13 +00:00
}
</tbody>
2019-11-08 20:30:13 +00:00
</table>