major update

This commit is contained in:
Mark Gregory
2026-06-10 15:10:11 +01:00
parent 9b8d73de5a
commit ca3be4c887
156 changed files with 358 additions and 11659 deletions
@@ -1,21 +1,30 @@
<x-layouts::app :title="__('Platform Dashboard')">
<x-layouts::app :title="__('Platform')">
<div class="space-y-6">
<section class="overflow-hidden rounded-3xl bg-zinc-950 p-6 text-white shadow-xl sm:p-8">
<section class="overflow-hidden rounded-3xl bg-gradient-to-br from-slate-950 via-slate-900 to-cyan-950 p-6 text-white shadow-xl sm:p-8">
<div class="flex flex-col gap-6 lg:flex-row lg:items-center lg:justify-between">
<div>
<p class="text-sm font-semibold uppercase tracking-[0.3em] text-cyan-300">MPBA WMS</p>
<h1 class="mt-3 text-3xl font-bold tracking-tight sm:text-5xl">Platform administration</h1>
<p class="mt-3 max-w-2xl text-zinc-300">Manage tenant companies, licences, payments, warehouses and internal API operations from one resilient control plane.</p>
<p class="mt-3 max-w-2xl text-slate-300">Manage tenant companies, licences, payments, warehouses and internal API operations from one resilient control plane.</p>
</div>
<div class="rounded-2xl bg-white/10 p-5 backdrop-blur">
<p class="text-sm text-zinc-300">System status</p>
<p class="mt-2 text-2xl font-bold text-emerald-300">Operational</p>
<div class="grid gap-3 sm:min-w-80 sm:grid-cols-2">
<div class="rounded-2xl bg-white/10 p-4 backdrop-blur">
<p class="text-sm text-slate-300">System status</p>
<p class="mt-2 flex items-center gap-2 text-2xl font-bold text-emerald-300">
<i class="fa-solid fa-heart-pulse" aria-hidden="true"></i>
OK
</p>
</div>
<div class="rounded-2xl bg-white/10 p-4 backdrop-blur">
<p class="text-sm text-slate-300">Paid £</p>
<p class="mt-2 text-2xl font-bold">{{ number_format($paymentsTotal / 100, 2) }}</p>
</div>
</div>
</div>
</section>
<section class="grid gap-4 sm:grid-cols-2 xl:grid-cols-5">
@foreach ([['Companies', $companiesCount], ['Active', $activeCompaniesCount], ['Warehouses', $warehousesCount], ['Licences', $licensesCount], ['Paid £', number_format($paymentsTotal / 100, 2)]] as [$label, $value])
<section class="grid gap-4 sm:grid-cols-2 xl:grid-cols-4">
@foreach ([['Companies', $companiesCount], ['Active', $activeCompaniesCount], ['Warehouses', $warehousesCount], ['Licences', $licensesCount]] as [$label, $value])
<article class="rounded-2xl border border-zinc-200 bg-white p-5 shadow-sm dark:border-zinc-800 dark:bg-zinc-900">
<p class="text-sm text-zinc-500 dark:text-zinc-400">{{ $label }}</p>
<p class="mt-2 text-3xl font-bold text-zinc-900 dark:text-white">{{ $value }}</p>