updates for admin area

This commit is contained in:
Mark Gregory
2026-09-12 20:45:05 +01:00
parent 0704924aa8
commit 8c9dbfee08
50 changed files with 1337 additions and 152 deletions
+41 -1
View File
@@ -1 +1,41 @@
<!doctype html><html><head><meta name="viewport" content="width=device-width">@vite(['resources/css/app.css'])<title>BeatBook Admin</title></head><body><div class="admin"><aside class="sidebar"><div class="brand"><b>◉</b> BeatBook</div><p class="muted">Administration</p>@foreach(['Dashboard','Users','DJs & Businesses','Clients','Bookings','Payments','Reviews','Messages','Notifications','Support','Reports','Content','Roles & Permissions','Privacy','Settings'] as $x)<a href="#">{{ $x }}</a>@endforeach</aside><main class="admin-main"><h1>Dashboard</h1><p style="color:#64748b">Marketplace overview and moderation queue.</p><div class="stats">@foreach($stats as $k=>$v)<div class="stat"><span>{{ ucfirst($k) }}</span><strong>{{ number_format($v) }}</strong></div>@endforeach</div><div class="stat" style="margin-top:22px;min-height:330px"><h2>Operations</h2><p style="color:#64748b">Revenue charts, recent bookings, verification requests, support tickets and review moderation plug into this dashboard.</p><div style="height:180px;background:linear-gradient(180deg,#ede9fe,#fff);border-radius:12px;margin-top:30px;display:flex;align-items:end;padding:25px;gap:10px">@foreach([25,42,36,61,55,78,70,92,86,110,120] as $h)<i style="display:block;width:7%;height:{{ $h }}px;background:#7c3aed;border-radius:5px"></i>@endforeach</div></div></main></div></body></html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>BeatBook Admin</title>
@vite(['resources/css/app.css'])
</head>
<body>
<div class="admin">
<aside class="sidebar">
<a class="brand" href="{{ route('admin.dashboard') }}"><b>◉</b> BeatBook</a>
<p class="muted">Administration</p>
<a href="{{ route('admin.dashboard') }}">Dashboard</a>
@foreach([
'users' => 'Users', 'djs' => 'DJs & Businesses', 'clients' => 'Clients',
'bookings' => 'Bookings', 'payments' => 'Payments', 'reviews' => 'Reviews',
'messages' => 'Messages', 'notifications' => 'Notifications', 'support' => 'Support',
'reports' => 'Reports', 'content' => 'Content', 'roles' => 'Roles & Permissions',
'privacy' => 'Privacy', 'settings' => 'Settings'
] as $key => $label)
<a href="{{ route('admin.section', $key) }}">{{ $label }}</a>
@endforeach
<a href="{{ route('home') }}">Back to site</a>
</aside>
<main class="admin-main">
<h1>Dashboard</h1>
<p style="color:#64748b">Marketplace overview and moderation queue.</p>
<div class="stats">
@foreach($stats as $key => $value)
<div class="stat"><span>{{ ucfirst($key) }}</span><strong>{{ number_format($value) }}</strong></div>
@endforeach
</div>
<div class="stat" style="margin-top:22px;min-height:330px">
<h2>Operations</h2>
<p style="color:#64748b">Revenue charts, recent bookings, verification requests, support tickets and review moderation plug into this dashboard.</p>
</div>
</main>
</div>
</body>
</html>
+38
View File
@@ -0,0 +1,38 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>{{ ucwords(str_replace('-', ' ', $section)) }} — BeatBook Admin</title>
@vite(['resources/css/app.css'])
</head>
<body>
<div class="admin">
<aside class="sidebar">
<a class="brand" href="{{ route('admin.dashboard') }}"><b>◉</b> BeatBook</a>
<p class="muted">Administration</p>
<a href="{{ route('admin.dashboard') }}">Dashboard</a>
@foreach([
'users' => 'Users', 'djs' => 'DJs & Businesses', 'clients' => 'Clients',
'bookings' => 'Bookings', 'payments' => 'Payments', 'reviews' => 'Reviews',
'messages' => 'Messages', 'notifications' => 'Notifications', 'support' => 'Support',
'reports' => 'Reports', 'content' => 'Content', 'roles' => 'Roles & Permissions',
'privacy' => 'Privacy', 'settings' => 'Settings'
] as $key => $label)
<a href="{{ route('admin.section', $key) }}">{{ $label }}</a>
@endforeach
<a href="{{ route('home') }}">Back to site</a>
</aside>
<main class="admin-main">
<div class="eyebrow">Administration</div>
<h1>{{ ucwords(str_replace('-', ' ', $section)) }}</h1>
<p style="color:#64748b">This BeatBook administration section is connected and ready for its management workflow.</p>
<div class="stats">
@foreach($counts as $label => $value)
<div class="stat"><span>{{ ucfirst($label) }}</span><strong>{{ number_format($value) }}</strong></div>
@endforeach
</div>
</main>
</div>
</body>
</html>