diff --git a/Moonlight/Features/Servers/UI/Layouts/UserLayout.razor b/Moonlight/Features/Servers/UI/Layouts/UserLayout.razor index 64e6150..49eef3d 100644 --- a/Moonlight/Features/Servers/UI/Layouts/UserLayout.razor +++ b/Moonlight/Features/Servers/UI/Layouts/UserLayout.razor @@ -26,95 +26,100 @@
-
-
-
- +
+
+
+ @Server.Name - + @(Server.Image.Name)
-
-
-
- @{ - var color = ServerUtilsHelper.GetColorFromState(Console.State); - } +
+
+
+
+
+
+ @{ + var color = ServerUtilsHelper.GetColorFromState(Console.State); + } - - - @(Console.State) - (@(Formatter.FormatUptime(DateTime.UtcNow - Console.LastStateChangeTimestamp))) - -
-
+ + + @(Console.State) + (@(Formatter.FormatUptime(DateTime.UtcNow - Console.LastStateChangeTimestamp))) + +
+
+
+ + + @(Server.Node.Fqdn):@(Server.MainAllocation.Port) + +
+ @* +
+ + + 188.75.252.37:10324 + +
+ *@ +
+
- - - @(Server.Node.Fqdn):@(Server.MainAllocation.Port) - +
+ @if (Console.State == ServerState.Offline) + { + + + + } + else + { + + } + + @if (Console.State == ServerState.Offline || Console.State == ServerState.Installing) + { + + } + else + { + + + + } + + @if (Console.State == ServerState.Offline || Console.State == ServerState.Installing) + { + + } + else + { + + + + } +
- @* -
- - - 188.75.252.37:10324 - -
- *@
-
-
- @if (Console.State == ServerState.Offline) - { - - - - } - else - { - - } - - @if (Console.State == ServerState.Offline || Console.State == ServerState.Installing) - { - - } - else - { - - - - } - - @if (Console.State == ServerState.Offline || Console.State == ServerState.Installing) - { - - } - else - { - - - - } -
-