2019-11-07 22:43:37 +00:00
|
|
|
@model IEnumerable<UploadedReport>
|
|
|
|
|
|
|
|
|
|
@{
|
|
|
|
|
ViewData["Title"] = "Index";
|
|
|
|
|
}
|
|
|
|
|
<h1>Index</h1>
|
|
|
|
|
<p>
|
|
|
|
|
<a asp-action="Create">Create New</a>
|
|
|
|
|
</p>
|
|
|
|
|
<table class="table">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.UploadedWhen)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.CompactFlash)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Manufacturer)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Model)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Revision)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Type)
|
|
|
|
|
</th>
|
|
|
|
|
<th></th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
@foreach (var item in Model)
|
|
|
|
|
{
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.UploadedWhen)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.CompactFlash)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Manufacturer)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Model)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Revision)
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@Html.DisplayFor(modelItem => item.Type)
|
|
|
|
|
</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="Edit" asp-route-id="@item.Id" class="btn btn-secondary">Edit</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>
|
2019-11-07 22:43:37 +00:00
|
|
|
</tr>
|
|
|
|
|
}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|