Merge pull request #215 from Moonlight-Panel/EnhanceInstallConsole
Enhanced install console
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
<LazyLoader Load="LoadData">
|
<LazyLoader Load="LoadData">
|
||||||
@if (CurrentServer == null)
|
@if (CurrentServer == null)
|
||||||
{
|
{
|
||||||
<NotFoundAlert />
|
<NotFoundAlert/>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -34,34 +34,17 @@
|
|||||||
{
|
{
|
||||||
if (Console.ConsoleState == ConsoleState.Connected)
|
if (Console.ConsoleState == ConsoleState.Connected)
|
||||||
{
|
{
|
||||||
if (Console.ServerState == ServerState.Installing)
|
if (Console.ServerState == ServerState.Installing || CurrentServer.Installing)
|
||||||
{
|
{
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="mb-10">
|
<div class="fs-2hx fw-bold text-gray-800 text-center mb-5">
|
||||||
<div class="fs-2hx fw-bold text-gray-800 text-center mb-13">
|
|
||||||
<span class="me-2">
|
|
||||||
<TL>Server installation is currently running</TL>
|
<TL>Server installation is currently running</TL>
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="rounded bg-black p-3">
|
||||||
<Terminal @ref="InstallConsole"></Terminal>
|
<Terminal @ref="InstallConsole"></Terminal>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
</div>
|
||||||
}
|
}
|
||||||
else if (CurrentServer.IsArchived)
|
else if (CurrentServer.IsArchived)
|
||||||
|
|||||||
Reference in New Issue
Block a user