Improved Server Ui responsivity

This commit is contained in:
Moritz 2024-05-19 15:20:24 +02:00
parent cc7b4d7daa
commit f12e5f10d5

View file

@ -26,18 +26,21 @@
<LazyLoader Load="Load" ShowAsCard="true">
<div class="card card-body pb-5 pt-5">
<div class="d-flex justify-content-between">
<div class="d-flex flex-row">
<div class="d-flex flex-column ms-3">
<span class="fw-bold text-gray-900 fs-3">
<div>
<div class="row px-2">
<div class="col-12 col-sm-3">
<span class="fw-bold text-gray-900 fs-3 d-block">
@Server.Name
</span>
<span class="text-gray-500 pt-2 fw-semibold fs-6">
<span class="text-gray-500 pt-2 fw-semibold fs-6 d-block">
@(Server.Image.Name)
</span>
</div>
<div class="vr mx-4"></div>
<div class="d-flex flex-column">
<div class="vr p-0 mx-4 d-none d-sm-block"></div>
<hr class="col-sm my-4 d-block d-sm-none"/>
<div class="col-12 col-sm">
<div class="row">
<div class="col">
<div class="text-gray-900 fs-4">
@{
var color = ServerUtilsHelper.GetColorFromState(Console.State);
@ -66,8 +69,7 @@
*@
</div>
</div>
</div>
<div>
<div class="col-auto">
<div class="mt-2">
@if (Console.State == ServerState.Offline)
{
@ -117,6 +119,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<ServerNavigation Index="@GetIndex()" ServerId="@Id"/>