Improved node statistics. Added overview for single nodes and replaced mockup values with api fetched values for nodes list

This commit is contained in:
2025-05-27 00:17:42 +02:00
parent de682ab7ae
commit f2771acb49
19 changed files with 853 additions and 223 deletions

View File

@@ -14,7 +14,7 @@
@attribute [Authorize(Policy = "permissions:admin.servers.nodes.update")]
<LazyLoader Load="Load">
<PageHeader Title="Update Node">
<PageHeader Title="@Node.Name">
<a href="/admin/servers/nodes" class="btn btn-secondary">
<i class="icon-chevron-left mr-1"></i>
Back
@@ -29,12 +29,16 @@
<HandleForm @ref="Form" Model="Request" OnValidSubmit="OnSubmit">
<Tabs>
<Tab Name="Overview">
<OverviewNodeUpdate Node="Node" />
</Tab>
<Tab Name="Settings">
<GeneralNodeUpdate Request="Request"/>
</Tab>
<Tab Name="Allocations">
<AllocationsNodeUpdate Node="Node" />
<AllocationsNodeUpdate Node="Node"/>
</Tab>
<Tab Name="Advanced Settings">