mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Remove decode button from MMC.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using DiscImageChef.CommonTypes.Metadata;
|
||||
@@ -80,8 +79,6 @@ namespace DiscImageChef.Server.Areas.Admin.Controllers
|
||||
return RedirectToAction(nameof(Index));
|
||||
}
|
||||
|
||||
public IActionResult Decode(int id) => throw new NotImplementedException();
|
||||
|
||||
public async Task<IActionResult> Clean()
|
||||
{
|
||||
_context.Mmc.RemoveRange(_context.Mmc.Where(m => m.FeaturesId == null && m.ModeSense2AData == null));
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
<a asp-action="Index" asp-controller="Medias">Media types detected</a>
|
||||
<a asp-action="Index" asp-controller="Medias" asp-route-real="true">Media types detected in real devices</a>
|
||||
<a asp-action="Index" asp-controller="Medias" asp-route-real="false">Media types detected in images</a>
|
||||
<a asp-action="Index" asp-controller="Mmc">MODE SENSE page 2Ah responses</a>
|
||||
<a asp-action="Index" asp-controller="OperatingSystems">Operating systems detected</a>
|
||||
<a asp-action="Index" asp-controller="Partitions">Partitioning schemes detected</a>
|
||||
<a asp-action="Index" asp-controller="Versions">DiscImageChef versions used</a>
|
||||
@@ -70,11 +70,6 @@
|
||||
@Html.DisplayFor(modelItem => item.DataLength)
|
||||
</td>
|
||||
<td>
|
||||
@if (item.FeaturesId == null &&
|
||||
item.DataLength > 0)
|
||||
{
|
||||
<a asp-action="Decode" asp-route-id="@item.Id" class="btn btn-secondary">Decode</a>
|
||||
}
|
||||
<a asp-action="Details" asp-route-id="@item.Id" class="btn btn-primary">Details</a>
|
||||
<a asp-action="Delete" asp-route-id="@item.Id" class="btn btn-danger">Delete</a>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user