Fixed Linking and Cards on Admin Page
This commit is contained in:
parent
b608a0779c
commit
125260e7ef
2 changed files with 10 additions and 40 deletions
|
@ -11,14 +11,14 @@
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-3 text-center d-flex align-items-center">
|
<div class="col-auto text-center d-flex align-items-center px-5">
|
||||||
<i class="bx bx-lg text-white align-middle @(Icon)"></i>
|
<i class="bx bx-lg text-white align-middle @(Icon)"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-9">
|
<div class="col">
|
||||||
<div class="fw-semibold text-primary fs-2">
|
<div class="fw-semibold text-primary fs-2">
|
||||||
@Value
|
@Value
|
||||||
</div>
|
</div>
|
||||||
<div class="fs-4 mt-2">
|
<div class="fs-4 mt-2 text-white">
|
||||||
@Description
|
@Description
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,47 +9,17 @@
|
||||||
@attribute [RequirePermission(999)]
|
@attribute [RequirePermission(999)]
|
||||||
|
|
||||||
<LazyLoader Load="Load">
|
<LazyLoader Load="Load">
|
||||||
<div class="row">
|
<div class="row g-4">
|
||||||
<div class="col-12 col-lg-6 col-xl">
|
<div class="col-12 col-lg-6 col-xl">
|
||||||
<a class="mt-4 card" href="/admin/servers">
|
<a href="/admin/servers">
|
||||||
<div class="card-body">
|
<StatCard Value="@UserCount.ToString()" Description="Users" Icon="bxs-group">
|
||||||
<div class="row align-items-center gx-0">
|
</StatCard>
|
||||||
<div class="col">
|
|
||||||
<h6 class="text-uppercase text-muted mb-2">
|
|
||||||
Users
|
|
||||||
</h6>
|
|
||||||
<span class="h2 mb-0">
|
|
||||||
@UserCount
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="col-auto">
|
|
||||||
<span class="h2 text-muted mb-0">
|
|
||||||
<i class="text-primary bx bxs-group bx-lg"></i>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-6 col-xl">
|
<div class="col-12 col-lg-6 col-xl">
|
||||||
<a class="mt-4 card" href="/admin/users">
|
<a href="/admin/servers">
|
||||||
<div class="card-body">
|
<StatCard Value="@ServerCount.ToString()" Description="Servers" Icon="bxs-server">
|
||||||
<div class="row align-items-center gx-0">
|
</StatCard>
|
||||||
<div class="col">
|
|
||||||
<h6 class="text-uppercase text-muted mb-2">
|
|
||||||
Servers
|
|
||||||
</h6>
|
|
||||||
<span class="h2 mb-0">
|
|
||||||
@ServerCount
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="col-auto">
|
|
||||||
<span class="h2 text-muted mb-0">
|
|
||||||
<i class="text-primary bx bx-server bx-lg"></i>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue