From 45a3a76214167c164a98e90de76b05f10ae9e3cf Mon Sep 17 00:00:00 2001 From: Masu Baumgartner <68913099+Masu-Baumgartner@users.noreply.github.com> Date: Sun, 1 Sep 2024 23:19:45 +0200 Subject: [PATCH] Started adding allocation editor --- MoonlightServers.Client/MoonlightServers.Client.csproj | 1 - .../UI/Components/Forms/AllocationEditor.razor | 1 + MoonlightServers.Client/UI/Views/Admin/Nodes.razor | 6 ++++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 MoonlightServers.Client/UI/Components/Forms/AllocationEditor.razor diff --git a/MoonlightServers.Client/MoonlightServers.Client.csproj b/MoonlightServers.Client/MoonlightServers.Client.csproj index 11f94f9..6858763 100644 --- a/MoonlightServers.Client/MoonlightServers.Client.csproj +++ b/MoonlightServers.Client/MoonlightServers.Client.csproj @@ -35,7 +35,6 @@ - diff --git a/MoonlightServers.Client/UI/Components/Forms/AllocationEditor.razor b/MoonlightServers.Client/UI/Components/Forms/AllocationEditor.razor new file mode 100644 index 0000000..6b5d78a --- /dev/null +++ b/MoonlightServers.Client/UI/Components/Forms/AllocationEditor.razor @@ -0,0 +1 @@ +

Allocation editor

\ No newline at end of file diff --git a/MoonlightServers.Client/UI/Views/Admin/Nodes.razor b/MoonlightServers.Client/UI/Views/Admin/Nodes.razor index 106ae97..506d87b 100644 --- a/MoonlightServers.Client/UI/Views/Admin/Nodes.razor +++ b/MoonlightServers.Client/UI/Views/Admin/Nodes.razor @@ -2,6 +2,7 @@ @using Moonlight.Client.App.Models.Crud @using Moonlight.Shared.Http.Resources +@using MoonlightServers.Client.UI.Components.Forms @using MoonlightServers.Shared.Http.Requests.Admin.Nodes @using MoonlightServers.Shared.Http.Responses.Admin.Nodes @@ -82,6 +83,11 @@ .DefaultPage .DefaultSection .AddProperty(x => x.SslEnabled); + + option + .WithPage("Allocations") + .DefaultSection + .AddComponent(); }; } }