mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Set usb device field names and format.
This commit is contained in:
@@ -37,18 +37,6 @@
|
||||
<h4>Usb</h4>
|
||||
<hr />
|
||||
<dl class="row">
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.VendorID)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.VendorID)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.ProductID)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.ProductID)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.Manufacturer)
|
||||
</dt>
|
||||
@@ -61,18 +49,24 @@
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.Product)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.VendorID)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.VendorID)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.ProductID)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.ProductID)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.RemovableMedia)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.RemovableMedia)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.Descriptors)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.Descriptors)
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -36,12 +36,6 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.VendorID)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.ProductID)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Manufacturer)
|
||||
</th>
|
||||
@@ -49,10 +43,13 @@
|
||||
@Html.DisplayNameFor(model => model.Product)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.RemovableMedia)
|
||||
@Html.DisplayNameFor(model => model.VendorID)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.Descriptors)
|
||||
@Html.DisplayNameFor(model => model.ProductID)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.RemovableMedia)
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
@@ -61,12 +58,6 @@
|
||||
@foreach (var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.VendorID)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.ProductID)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Manufacturer)
|
||||
</td>
|
||||
@@ -74,10 +65,13 @@
|
||||
@Html.DisplayFor(modelItem => item.Product)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.RemovableMedia)
|
||||
@Html.DisplayFor(modelItem => item.VendorID)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Descriptors)
|
||||
@Html.DisplayFor(modelItem => item.ProductID)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.RemovableMedia)
|
||||
</td>
|
||||
<td>
|
||||
<a asp-action="Details" asp-route-id="@item.Id" class="btn btn-primary">Details</a>
|
||||
|
||||
Reference in New Issue
Block a user