Improved Server Ui responsivity
This commit is contained in:
parent
cc7b4d7daa
commit
f12e5f10d5
1 changed files with 83 additions and 78 deletions
|
@ -26,18 +26,21 @@
|
||||||
|
|
||||||
<LazyLoader Load="Load" ShowAsCard="true">
|
<LazyLoader Load="Load" ShowAsCard="true">
|
||||||
<div class="card card-body pb-5 pt-5">
|
<div class="card card-body pb-5 pt-5">
|
||||||
<div class="d-flex justify-content-between">
|
<div>
|
||||||
<div class="d-flex flex-row">
|
<div class="row px-2">
|
||||||
<div class="d-flex flex-column ms-3">
|
<div class="col-12 col-sm-3">
|
||||||
<span class="fw-bold text-gray-900 fs-3">
|
<span class="fw-bold text-gray-900 fs-3 d-block">
|
||||||
@Server.Name
|
@Server.Name
|
||||||
</span>
|
</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)
|
@(Server.Image.Name)
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="vr mx-4"></div>
|
<div class="vr p-0 mx-4 d-none d-sm-block"></div>
|
||||||
<div class="d-flex flex-column">
|
<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">
|
<div class="text-gray-900 fs-4">
|
||||||
@{
|
@{
|
||||||
var color = ServerUtilsHelper.GetColorFromState(Console.State);
|
var color = ServerUtilsHelper.GetColorFromState(Console.State);
|
||||||
|
@ -66,8 +69,7 @@
|
||||||
*@
|
*@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="col-auto">
|
||||||
<div>
|
|
||||||
<div class="mt-2">
|
<div class="mt-2">
|
||||||
@if (Console.State == ServerState.Offline)
|
@if (Console.State == ServerState.Offline)
|
||||||
{
|
{
|
||||||
|
@ -117,6 +119,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<ServerNavigation Index="@GetIndex()" ServerId="@Id"/>
|
<ServerNavigation Index="@GetIndex()" ServerId="@Id"/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue