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

98 lines
2.8 KiB
Plaintext

@model IEnumerable<DiscImageChef.CommonTypes.Metadata.Scsi>
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
</head>
<body>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.InquiryData)
</th>
<th>
@Html.DisplayNameFor(model => model.SupportsModeSense6)
</th>
<th>
@Html.DisplayNameFor(model => model.SupportsModeSense10)
</th>
<th>
@Html.DisplayNameFor(model => model.SupportsModeSubpages)
</th>
<th>
@Html.DisplayNameFor(model => model.ModeSense6Data)
</th>
<th>
@Html.DisplayNameFor(model => model.ModeSense10Data)
</th>
<th>
@Html.DisplayNameFor(model => model.ModeSense6CurrentData)
</th>
<th>
@Html.DisplayNameFor(model => model.ModeSense10CurrentData)
</th>
<th>
@Html.DisplayNameFor(model => model.ModeSense6ChangeableData)
</th>
<th>
@Html.DisplayNameFor(model => model.ModeSense10ChangeableData)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.InquiryData)
</td>
<td>
@Html.DisplayFor(modelItem => item.SupportsModeSense6)
</td>
<td>
@Html.DisplayFor(modelItem => item.SupportsModeSense10)
</td>
<td>
@Html.DisplayFor(modelItem => item.SupportsModeSubpages)
</td>
<td>
@Html.DisplayFor(modelItem => item.ModeSense6Data)
</td>
<td>
@Html.DisplayFor(modelItem => item.ModeSense10Data)
</td>
<td>
@Html.DisplayFor(modelItem => item.ModeSense6CurrentData)
</td>
<td>
@Html.DisplayFor(modelItem => item.ModeSense10CurrentData)
</td>
<td>
@Html.DisplayFor(modelItem => item.ModeSense6ChangeableData)
</td>
<td>
@Html.DisplayFor(modelItem => item.ModeSense10ChangeableData)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
</td>
</tr>
}
</tbody>
</table>
</body>
</html>