mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Sort GPU admin fields.
This commit is contained in:
@@ -42,6 +42,12 @@
|
||||
<h4>GPU</h4>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Company)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Company.Name)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Name)
|
||||
</dt>
|
||||
@@ -90,17 +96,17 @@
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Transistors)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Company)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Company.Name)
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<form asp-action="Delete">
|
||||
<input type="hidden" asp-for="Id" />
|
||||
<input type="submit" value="Delete" class="btn btn-default" /> |
|
||||
<a asp-action="Index">Back to List</a>
|
||||
<input type="hidden"
|
||||
asp-for="Id" />
|
||||
<input class="btn btn-danger"
|
||||
type="submit"
|
||||
value="Delete" />
|
||||
<a asp-action="Index"
|
||||
class="btn btn-secondary">
|
||||
Back to List
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -98,6 +98,6 @@
|
||||
</dl>
|
||||
</div>
|
||||
<div>
|
||||
<a asp-action="Edit" asp-route-id="@Model.Id">Edit</a> |
|
||||
<a asp-action="Index">Back to List</a>
|
||||
<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>
|
||||
|
||||
@@ -48,17 +48,7 @@
|
||||
<input type="hidden"
|
||||
asp-for="Id" />
|
||||
<div class="form-group">
|
||||
<label asp-for="Name"
|
||||
class="control-label">
|
||||
</label>
|
||||
<input asp-for="Name"
|
||||
class="form-control" />
|
||||
<span asp-validation-for="Name"
|
||||
class="text-danger">
|
||||
</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="CompanyId"
|
||||
<label asp-for="Company"
|
||||
class="control-label">
|
||||
</label>
|
||||
<select asp-for="CompanyId"
|
||||
@@ -69,6 +59,16 @@
|
||||
class="text-danger">
|
||||
</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Name"
|
||||
class="control-label">
|
||||
</label>
|
||||
<input asp-for="Name"
|
||||
class="form-control" />
|
||||
<span asp-validation-for="Name"
|
||||
class="text-danger">
|
||||
</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ModelCode"
|
||||
class="control-label">
|
||||
|
||||
@@ -47,6 +47,9 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Company)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Name)
|
||||
</th>
|
||||
@@ -56,24 +59,6 @@
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Introduced)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Package)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Process)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.ProcessNm)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.DieSize)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Transistors)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Company)
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -81,6 +66,9 @@
|
||||
@foreach(Gpu item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Company.Name)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Name)
|
||||
</td>
|
||||
@@ -90,24 +78,6 @@
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Introduced)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Package)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Process)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.ProcessNm)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.DieSize)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Transistors)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Company.Name)
|
||||
</td>
|
||||
<td>
|
||||
<a asp-action="Details"
|
||||
asp-route-id="@item.Id"
|
||||
|
||||
Reference in New Issue
Block a user