Fix display names for ASP.NET views.

This commit is contained in:
2019-11-24 19:09:57 +00:00
parent 371c7d3f3e
commit 453147da3d
60 changed files with 779 additions and 347 deletions

View File

@@ -1,3 +1,5 @@
@using DiscImageChef.Decoders.SCSI
@using DiscImageChef.Server.Core
@model DiscImageChef.CommonTypes.Metadata.Mmc
@{
@@ -35,16 +37,9 @@
}
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>Mmc</h4>
<h4>SCSI CD-ROM capabilities page - ID = @Model.Id</h4>
<hr />
<dl class="row">
<dt class="col-sm-2">
@Html.DisplayNameFor(model => model.ModeSense2AData)
</dt>
<dd class="col-sm-10">
@Html.DisplayFor(model => model.ModeSense2AData)
</dd>
</dl>
@Html.Raw(Html.EncodedMultiLineText(Modes.PrettifyModePage_2A(Model.ModeSense2AData)))
<form asp-action="Delete">
<input type="hidden" asp-for="Id" />
<a asp-action="Index" class="btn btn-primary">Back to List</a>

View File

@@ -36,7 +36,7 @@
// ****************************************************************************/
}
<div>
<h4>MMC FEATURES - ID = @Model.Id</h4>
<h4>SCSI CD-ROM capabilities page - ID = @Model.Id</h4>
<hr />
@Html.Raw(Html.EncodedMultiLineText(Modes.PrettifyModePage_2A(Model.ModeSense2AData)))
</div>

View File

@@ -34,6 +34,7 @@
// ****************************************************************************/
}
<a asp-action="Clean" class="btn btn-danger">Clean</a>
<h4>SCSI CD-ROM capabilities pages</h4>
<table class="table">
<thead>
<tr>