mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
110 lines
3.0 KiB
Plaintext
110 lines
3.0 KiB
Plaintext
@model IEnumerable<DiscImageChef.CommonTypes.Metadata.SupportedDensity>
|
|
|
|
@{
|
|
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.PrimaryCode)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.SecondaryCode)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Writable)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Duplicate)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.DefaultDensity)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.BitsPerMm)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Width)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Tracks)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Capacity)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Organization)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Name)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Description)
|
|
</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model) {
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.PrimaryCode)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.SecondaryCode)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Writable)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Duplicate)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.DefaultDensity)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.BitsPerMm)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Width)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Tracks)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Capacity)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Organization)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Name)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Description)
|
|
</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>
|