Enhanced install console

This commit is contained in:
Marcel Baumgartner
2023-07-08 02:50:13 +02:00
parent 8be93bc53c
commit c866e89b72

View File

@@ -26,7 +26,7 @@
<LazyLoader Load="LoadData">
@if (CurrentServer == null)
{
<NotFoundAlert />
<NotFoundAlert/>
}
else
{
@@ -34,34 +34,17 @@
{
if (Console.ConsoleState == ConsoleState.Connected)
{
if (Console.ServerState == ServerState.Installing)
if (Console.ServerState == ServerState.Installing || CurrentServer.Installing)
{
<div class="card">
<div class="card-body">
<div class="mb-10">
<div class="fs-2hx fw-bold text-gray-800 text-center mb-13">
<span class="me-2">
<div class="fs-2hx fw-bold text-gray-800 text-center mb-5">
<TL>Server installation is currently running</TL>
</span>
</div>
</div>
<div class="rounded bg-black p-3">
<Terminal @ref="InstallConsole"></Terminal>
</div>
</div>
}
else if (CurrentServer.Installing)
{
<div class="card">
<div class="card-body">
<div class="mb-10">
<div class="fs-2hx fw-bold text-gray-800 text-center mb-13">
<span class="me-2">
<TL>Server installation is currently running</TL>
</span>
</div>
</div>
<Terminal @ref="InstallConsole"></Terminal>
</div>
</div>
}
else if (CurrentServer.IsArchived)