diff --git a/LANCommander/Components/ArchiveUploader.razor b/LANCommander/Components/ArchiveUploader.razor index a48b6c6..e8c10a0 100644 --- a/LANCommander/Components/ArchiveUploader.razor +++ b/LANCommander/Components/ArchiveUploader.razor @@ -47,7 +47,7 @@ ; } - +
diff --git a/LANCommander/Components/KeysEditor.razor b/LANCommander/Components/KeysEditor.razor index 8c9f1f7..56e8016 100644 --- a/LANCommander/Components/KeysEditor.razor +++ b/LANCommander/Components/KeysEditor.razor @@ -3,57 +3,59 @@ @if (Keys != null) { - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - @switch (context.AllocationMethod) - { - case KeyAllocationMethod.MacAddress: - @context.ClaimedByMacAddress - break; + +
+ + + + + + @switch (context.AllocationMethod) + { + case KeyAllocationMethod.MacAddress: + @context.ClaimedByMacAddress + break; - case KeyAllocationMethod.UserAccount: - @context.ClaimedByUser?.UserName - break; - } - - - - - - @if (context.IsAllocated()) - { - - } - - - -
-
+ case KeyAllocationMethod.UserAccount: + @context.ClaimedByUser?.UserName + break; + } + + + + + + @if (context.IsAllocated()) + { + + } + + + + + +
} - - @code { [Parameter] public Guid Id { get; set; } + [Parameter] public string Panel { get; set; } bool Success; string[] Errors = { };