Add admin page for instruction sets by processor.

This commit is contained in:
2019-05-19 13:47:13 +01:00
parent 45d0cbc62d
commit b2e5e7e340
8 changed files with 400 additions and 1 deletions

View File

@@ -0,0 +1,43 @@
@model Cicm.Database.Models.InstructionSetExtensionsByProcessor
@{
ViewData["Title"] = "Delete";
}
<h1>Delete</h1>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>Instruction set extensions by processor</h4>
<hr />
<dl class="row">
<dt class="col-sm-2">
@Html.DisplayNameFor(model => model.Extension)
</dt>
<dd class="col-sm-10">
@Html.DisplayFor(model => model.Extension.Extension)
</dd class>
<dt class="col-sm-2">
@Html.DisplayNameFor(model => model.Processor)
</dt>
<dd class="col-sm-10">
@Html.DisplayFor(model => model.Processor.Name)
</dd class>
</dl>
<form asp-action="Delete">
<input type="hidden"
asp-for="Id" />
<input type="hidden"
asp-for="ProcessorId" />
<input type="hidden"
asp-for="ExtensionId" />
<input class="btn btn-danger"
type="submit"
value="Delete" />
<a asp-action="Index"
class="btn btn-secondary">
Back to List
</a>
</form>
</div>