Files
marechai/cicm_web/Areas/Admin/Views/InstructionSetExtensions/Details.cshtml

76 lines
2.3 KiB
Plaintext
Raw Normal View History

@{
/******************************************************************************
// Canary Islands Computer Museum Website
// ----------------------------------------------------------------------------
//
// Filename : Details.cshtml
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// --[ Description ] ----------------------------------------------------------
//
// Admin view details
//
// --[ License ] --------------------------------------------------------------
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@model Cicm.Database.Models.InstructionSetExtension
@{
ViewData["Title"] = "Details";
}
<h2>Details</h2>
<div>
2019-05-18 13:19:31 +01:00
<h4>Instruction set extension</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Extension)
</dt>
<dd>
@Html.DisplayFor(model => model.Extension)
</dd>
</dl>
@if(ViewBag.Processors != null)
{
<dl class="dl-horizontal">
<dt>
Processors
</dt>
<dd>
@foreach(string processor in ViewBag.Processors)
{
@processor<br />
}
</dd>
</dl>
}
</div>
<div>
<a asp-action="Edit"
asp-route-id="@Model.Id"
class="btn btn-primary">
Edit
</a>
<a asp-action="Index"
class="btn btn-secondary">
Back to List
</a>
</div>