diff --git a/Moonlight/Core/UI/Views/Test.razor b/Moonlight/Core/UI/Views/Test.razor new file mode 100644 index 00000000..b30dcaf3 --- /dev/null +++ b/Moonlight/Core/UI/Views/Test.razor @@ -0,0 +1,160 @@ +@page "/test" + +
+
+
+
+ + + + +
+
+
+
+
+ + + +
+ +
+
+
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + @for (var i = 1; i <= 10; i++) + { + + + + + + + + + } + + +
+
+ +
+
IdEmailUsernameCreated at
+
+ +
+
@(i)admin@masuowo.xyz@(i)masuowo@(i)04/19/2024 12:48:35 +
+ Edit +
+
+
+
+
+ Showing 13 of 100 results +
+
+
+ Per page + +
+
+
+
    + +
  • 1
  • +
  • 2
  • +
  • 3
  • + +
+
+
+
+
+ +@* +
+ +
+ +
+ +
+ +
+ Please choose a username. +
+
*@ + + + +@code +{ + private async Task Do() + { + await Task.Delay(5000); + } +} diff --git a/Moonlight/Core/UI/Views/Testy.razor b/Moonlight/Core/UI/Views/Testy.razor new file mode 100644 index 00000000..5a24759a --- /dev/null +++ b/Moonlight/Core/UI/Views/Testy.razor @@ -0,0 +1,110 @@ +@page "/testy" + +
+
+ + + Back + + + +
+
+ +
+
+
+
+ + +
+ dasdfuoiusefiousidfhzuigfzduzfgiudzfogzidufzgduifzguisdzugzduifhgjkdsgkdfh +
+
+ +
+ + +
+ dasdfuoiusefiousidfhzuigfzduzfgiudzfogzidufzgduifzguisdzugzduifhgjkdsgkdfh +
+
+ +
+ + +
+ dasdfuoiusefiousidfhzuigfzduzfgiudzfogzidufzgduifzguisdzugzduifhgjkdsgkdfh +
+
+ +
+ +
+ + + +
+
+ dasdfuoiusefiousidfhzuigfzduzfgiudzfogzidufzgduifzguisdzugzduifhgjkdsgkdfh +
+
+
+
+
+ +
+
+
+ + Some Section +
+
+
+
+
+ + +
+ dasdfuoiusefiousidfhzuigfzduzfgiudzfogzidufzgduifzguisdzugzduifhgjkdsgkdfh +
+
+ +
+ + +
+ dasdfuoiusefiousidfhzuigfzduzfgiudzfogzidufzgduifzguisdzugzduifhgjkdsgkdfh +
+
+ +
+ +
+ + + +
+
+ dasdfuoiusefiousidfhzuigfzduzfgiudzfogzidufzgduifzguisdzugzduifhgjkdsgkdfh +
+
+
+
+
\ No newline at end of file diff --git a/Moonlight/Features/Servers/Models/Forms/Admin/Servers/CreateServerForm.cs b/Moonlight/Features/Servers/Models/Forms/Admin/Servers/CreateServerForm.cs index ea411717..7b8fc41e 100644 --- a/Moonlight/Features/Servers/Models/Forms/Admin/Servers/CreateServerForm.cs +++ b/Moonlight/Features/Servers/Models/Forms/Admin/Servers/CreateServerForm.cs @@ -21,27 +21,28 @@ public class CreateServerForm [Range(1, int.MaxValue, ErrorMessage = "Enter a valid cpu value")] [Description("The cores the server will be able to use. 100 = 1 Core")] - [Section("Resources")] + [Section("Resources", Icon = "bxs-chip")] public int Cpu { get; set; } [Range(1, int.MaxValue, ErrorMessage = "Enter a valid memory value")] [Description("The amount of memory this server will be able to use")] [ByteSize(MinimumUnit = 1, Converter = 1, DefaultUnit = 2)] - [Section("Resources")] + [Section("Resources", Icon = "bxs-chip")] public int Memory { get; set; } [Range(1, int.MaxValue, ErrorMessage = "Enter a valid disk value")] [Description("The amount of disk space this server will be able to use")] [ByteSize(MinimumUnit = 1, Converter = 1, DefaultUnit = 2)] - [Section("Resources")] + [Section("Resources", Icon = "bxs-chip")] public int Disk { get; set; } [Description("Whether to use a virtual disk for storing server files. Dont use this if you want to overallocate as the virtual disks will fill out the space you allocate")] - [Section("Deployment")] + [Section("Deployment", Icon = "bx-cube")] + [RadioButtonBool("Virtual Disk", "Simple Volume", TrueIcon = "bxs-hdd", FalseIcon = "bxs-data")] public bool UseVirtualDisk { get; set; } [Required(ErrorMessage = "You need to specify a server node")] [Selector(SelectorProp = "Name", DisplayProp = "Name", UseDropdown = true)] - [Section("Deployment")] + [Section("Deployment", Icon = "bx-cube")] public ServerNode Node { get; set; } } \ No newline at end of file diff --git a/Moonlight/Moonlight.csproj b/Moonlight/Moonlight.csproj index 94c9911c..5da271ff 100644 --- a/Moonlight/Moonlight.csproj +++ b/Moonlight/Moonlight.csproj @@ -92,10 +92,15 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + ..\..\..\Marcel-Baumgartner\MoonCore\MoonCore\MoonCoreUI\bin\Debug\net7.0\MoonCoreUI.dll + +