diff --git a/Aaru.Server/Components/Admin/Pages/Scsi/Compare.razor b/Aaru.Server/Components/Admin/Pages/Scsi/Compare.razor index 7bbecc52..16fb3b4e 100644 --- a/Aaru.Server/Components/Admin/Pages/Scsi/Compare.razor +++ b/Aaru.Server/Components/Admin/Pages/Scsi/Compare.razor @@ -34,98 +34,204 @@ @inject Microsoft.EntityFrameworkCore.IDbContextFactory DbContextFactory -SCSI INQUIRY comparison +SCSI INQUIRY Comparison @if(!_initialized) { -
-

Loading...

+
+
+
+ Loading... +
+

Loading comparison...

+
return; } -@if(Model.AreEqual) -{ -
-

No differences found.

-
+
+ +
+
+

+ SCSI INQUIRY Comparison +

+

+ ID: @Id + + ID: @CompareId +

+
+
+ + Back to List + +
+
- return; -} + @if(Model.AreEqual) + { + + + } + else if(Model.HasError) + { + + + } + else + { + +
+
+
+ Differences Found + @Model.ValueNames.Count differences +
+
+
+
+ + + + + + + + + + @for(var i = 0; i < Model.ValueNames.Count; i++) + { + + + + + + } + +
+ Value Name + + ID: @Model.LeftId + + ID: @Model.RightId +
+ @Model.ValueNames[i] + + @Model.LeftValues[i] + + @Model.RightValues[i] +
+
+
+
-@if(Model.HasError) -{ -
-

@Model.ErrorMessage

-
+ +
+
+
+ Actions +
+
+
+
+ +
+
+ Delete Actions +
+
+ + +
+
- return; -} + +
+
+ Consolidate Actions +
+
+ + +
+ + Consolidating will replace all dependencies and delete the replaced ID. + +
+
+
+
+ } +
-
- - - - - - - - - - - @for(var i = 0; i < Model.ValueNames.Count; i++) - { - - - - - - } - -
- Value name - - ID: @Model.LeftId - - ID: @Model.RightId -
- @Model.ValueNames[i] - - @Model.LeftValues[i] - - @Model.RightValues[i] -
- - - - -
- - + -
Are you sure you want to delete this INQUIRY?
+
+ + Are you sure you want to delete this SCSI INQUIRY response? +
- - + +
- + -
Are you sure you want to consolidate the selected INQUIRY?
+
+ +

Are you sure you want to consolidate the selected SCSI INQUIRY responses?

+

This will replace all dependencies from one ID to another and delete the replaced ID.

+
- - + + -
\ No newline at end of file +
+