mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Show decoded and hex view of data taken from tested media.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
@model TestedMediaDataModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = $"{Model.DataName} data";
|
||||
Layout = "_Layout";
|
||||
}
|
||||
<h2>Showing data from @Model.DataName for tested media id @Model.TestedMediaId</h2>
|
||||
@if (Model.Decoded is null &&
|
||||
Model.RawDataAsHex is null)
|
||||
{
|
||||
<div>No data found</div>
|
||||
}
|
||||
|
||||
@if (Model.RawDataAsHex != null)
|
||||
{
|
||||
<h4>Hex dump:</h4>
|
||||
<div>
|
||||
<code style="white-space: pre">@Html.Raw(Model.RawDataAsHex)</code>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
@if (Model.Decoded != null)
|
||||
{
|
||||
<h4>Decoded information:</h4>
|
||||
<div>
|
||||
@Html.Raw(Model.Decoded)
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user