From b86e867cff6285285d5f3b5cf987b7fb5fbc8f52 Mon Sep 17 00:00:00 2001
From: Masu-Baumgartner <68913099+Masu-Baumgartner@users.noreply.github.com>
Date: Tue, 3 Sep 2024 16:54:33 +0200
Subject: [PATCH] Added some node ui
---
.../Components/Forms/AllocationEditor.razor | 22 +++++++++----------
.../UI/Components/Partials/NodeLogs.razor | 14 ++++++++++++
.../UI/Components/Partials/NodeOverview.razor | 15 +++++++++++++
.../UI/Views/Admin/Nodes.razor | 3 ++-
4 files changed, 41 insertions(+), 13 deletions(-)
create mode 100644 MoonlightServers.Client/UI/Components/Partials/NodeLogs.razor
create mode 100644 MoonlightServers.Client/UI/Components/Partials/NodeOverview.razor
diff --git a/MoonlightServers.Client/UI/Components/Forms/AllocationEditor.razor b/MoonlightServers.Client/UI/Components/Forms/AllocationEditor.razor
index 82aa6a1..b478f64 100644
--- a/MoonlightServers.Client/UI/Components/Forms/AllocationEditor.razor
+++ b/MoonlightServers.Client/UI/Components/Forms/AllocationEditor.razor
@@ -5,18 +5,16 @@
@inject HttpApiClient HttpApiClient
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@code
{
diff --git a/MoonlightServers.Client/UI/Components/Partials/NodeLogs.razor b/MoonlightServers.Client/UI/Components/Partials/NodeLogs.razor
new file mode 100644
index 0000000..4fa0b99
--- /dev/null
+++ b/MoonlightServers.Client/UI/Components/Partials/NodeLogs.razor
@@ -0,0 +1,14 @@
+
+
+@code
+{
+ [Parameter] public int NodeId { get; set; }
+}
\ No newline at end of file
diff --git a/MoonlightServers.Client/UI/Components/Partials/NodeOverview.razor b/MoonlightServers.Client/UI/Components/Partials/NodeOverview.razor
new file mode 100644
index 0000000..4656be1
--- /dev/null
+++ b/MoonlightServers.Client/UI/Components/Partials/NodeOverview.razor
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+@code
+{
+ [Parameter] public int NodeId { get; set; }
+}
\ 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 b401824..643a999 100644
--- a/MoonlightServers.Client/UI/Views/Admin/Nodes.razor
+++ b/MoonlightServers.Client/UI/Views/Admin/Nodes.razor
@@ -5,6 +5,7 @@
@using MoonlightServers.Client.UI.Components.Forms
@using MoonlightServers.Shared.Http.Requests.Admin.Nodes
@using MoonlightServers.Shared.Http.Responses.Admin.Nodes
+@using MoonlightServers.Client.UI.Components.Partials
@inject HttpApiClient HttpApiClient
@@ -29,7 +30,7 @@
- Overview owo
+