42 lines
1.7 KiB
PHP
42 lines
1.7 KiB
PHP
<!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>
|