2019-05-19 23:37:58 +01:00
|
|
|
@using cicm_web.Areas.Admin.Models
|
|
|
|
|
@model IEnumerable<cicm_web.Areas.Admin.Models.InstructionSetExtensionsByProcessorViewModel>
|
2019-05-19 13:47:13 +01:00
|
|
|
|
|
|
|
|
@{
|
|
|
|
|
ViewData["Title"] = "Index";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<h1>Instruction set extensions by processor</h1>
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
<a asp-action="Create"
|
|
|
|
|
class="btn btn-primary">
|
|
|
|
|
Create New
|
|
|
|
|
</a>
|
|
|
|
|
</p>
|
|
|
|
|
<table class="table">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Processor)
|
|
|
|
|
</th>
|
|
|
|
|
<th>
|
|
|
|
|
@Html.DisplayNameFor(model => model.Extension)
|
|
|
|
|
</th>
|
|
|
|
|
<th></th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
2019-05-19 23:37:58 +01:00
|
|
|
@foreach(InstructionSetExtensionsByProcessorViewModel item in Model)
|
2019-05-19 13:47:13 +01:00
|
|
|
{
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
2019-05-19 23:37:58 +01:00
|
|
|
@Html.DisplayFor(modelItem => item.Processor)
|
2019-05-19 13:47:13 +01:00
|
|
|
</td>
|
|
|
|
|
<td>
|
2019-05-19 23:37:58 +01:00
|
|
|
@Html.DisplayFor(modelItem => item.Extension)
|
2019-05-19 13:47:13 +01:00
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<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>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|