Files
2026-05-25 08:22:12 +07:00

655 lines
32 KiB
HTML

<!DOCTYPE html>
<html class="light" lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>Outlet Management | Soundbox Ops</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&amp;family=Inter:wght@400;500;600;700&amp;family=JetBrains+Mono&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #E2E8F0;
border-radius: 10px;
}
.mono { font-family: 'JetBrains Mono', monospace; }
</style>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"slate-200": "#E2E8F0",
"primary-fixed-dim": "#b4c5ff",
"on-tertiary-fixed": "#360f00",
"on-tertiary": "#ffffff",
"on-secondary": "#ffffff",
"surface-container": "#ededf9",
"on-background": "#191b23",
"error-container": "#ffdad6",
"surface-container-high": "#e7e7f3",
"on-primary": "#ffffff",
"background": "#F8FAFC",
"surface-container-low": "#f3f3fe",
"info": "#0EA5E9",
"on-surface-variant": "#434655",
"primary-fixed": "#dbe1ff",
"on-error": "#ffffff",
"on-secondary-fixed-variant": "#38485d",
"on-primary-container": "#eeefff",
"error": "#ba1a1a",
"on-surface": "#191b23",
"on-primary-fixed": "#00174b",
"slate-900": "#0F172A",
"on-tertiary-container": "#ffede6",
"outline-variant": "#c3c6d7",
"on-secondary-fixed": "#0b1c30",
"on-primary-fixed-variant": "#003ea8",
"secondary-container": "#d0e1fb",
"secondary": "#505f76",
"inverse-on-surface": "#f0f0fb",
"danger": "#DC2626",
"surface-container-lowest": "#ffffff",
"secondary-fixed-dim": "#b7c8e1",
"surface-dim": "#d9d9e5",
"slate-100": "#F1F5F9",
"surface-bright": "#faf8ff",
"on-tertiary-fixed-variant": "#7d2d00",
"success": "#16A34A",
"primary-container": "#2563eb",
"surface-tint": "#0053db",
"inverse-primary": "#b4c5ff",
"slate-700": "#334155",
"inverse-surface": "#2e3039",
"tertiary-fixed": "#ffdbcd",
"surface-container-highest": "#e1e2ed",
"warning": "#F59E0B",
"outline": "#737686",
"slate-500": "#64748B"
},
"borderRadius": {
"DEFAULT": "0.125rem",
"lg": "0.25rem",
"xl": "0.5rem",
"full": "0.75rem"
},
"spacing": {
"page-padding": "24px",
"topbar-height": "72px",
"row-height": "52px",
"gutter": "24px",
"card-padding": "20px"
},
"fontFamily": {
"display-lg": ["Plus Jakarta Sans"],
"label-md": ["Inter"],
"metric-lg": ["Inter"],
"headline-md": ["Plus Jakarta Sans"],
"body-md": ["Inter"],
"body-lg": ["Inter"],
"headline-lg": ["Plus Jakarta Sans"],
"metric-sm": ["Inter"]
},
"fontSize": {
"display-lg": ["36px", {"lineHeight": "44px", "letterSpacing": "-0.02em", "fontWeight": "600"}],
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.01em", "fontWeight": "500"}],
"metric-lg": ["32px", {"lineHeight": "40px", "fontWeight": "600"}],
"headline-md": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
"headline-lg": ["28px", {"lineHeight": "36px", "fontWeight": "600"}],
"metric-sm": ["14px", {"lineHeight": "20px", "fontWeight": "600"}]
}
},
},
}
</script>
</head>
<body class="bg-background text-on-surface font-body-md min-h-screen">
<!-- Side Navigation -->
<aside class="w-64 h-full fixed left-0 top-0 bg-surface-container-lowest border-r border-slate-200 flex flex-col py-6 px-4 gap-2 z-50">
<div class="flex items-center gap-3 px-2 mb-8">
<div class="w-10 h-10 bg-primary-container rounded-xl flex items-center justify-center">
<span class="material-symbols-outlined text-white" style="font-variation-settings: 'FILL' 1;">sound_detection_dog_barking</span>
</div>
<div>
<h1 class="font-headline-md text-headline-md font-bold text-primary">Soundbox Ops</h1>
<p class="text-[10px] uppercase tracking-wider text-slate-500 font-bold">Admin Console</p>
</div>
</div>
<nav class="flex-1 flex flex-col gap-1">
<a class="flex items-center gap-3 px-3 py-2.5 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined">dashboard</span>
<span class="font-body-md">Overview</span>
</a>
<a class="flex items-center gap-3 px-3 py-2.5 bg-secondary-container text-on-secondary-container font-bold rounded-lg" href="#">
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">storefront</span>
<span class="font-body-md">Merchant Management</span>
</a>
<a class="flex items-center gap-3 px-3 py-2.5 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined">speaker_group</span>
<span class="font-body-md">Device Registry</span>
</a>
<a class="flex items-center gap-3 px-3 py-2.5 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined">receipt_long</span>
<span class="font-body-md">Transactions</span>
</a>
<a class="flex items-center gap-3 px-3 py-2.5 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined">account_balance</span>
<span class="font-body-md">Ledger &amp; Settlement</span>
</a>
<a class="flex items-center gap-3 px-3 py-2.5 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined">history_edu</span>
<span class="font-body-md">Audit Control</span>
</a>
</nav>
<button class="mt-4 mb-8 mx-2 bg-primary text-white py-3 rounded-xl font-bold flex items-center justify-center gap-2 active:opacity-90 active:scale-95 transition-all shadow-lg shadow-primary/20">
<span class="material-symbols-outlined text-[20px]">add_circle</span>
Register New Device
</button>
<div class="flex flex-col gap-1 pt-4 border-t border-slate-100">
<a class="flex items-center gap-3 px-3 py-2 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined">settings</span>
<span class="font-body-md">Settings</span>
</a>
<a class="flex items-center gap-3 px-3 py-2 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined">help</span>
<span class="font-body-md">Support</span>
</a>
</div>
</aside>
<!-- Top App Bar -->
<header class="fixed top-0 right-0 h-[72px] bg-surface-container-lowest border-b border-slate-200 flex justify-between items-center w-[calc(100%-256px)] ml-64 px-page-padding z-40">
<div class="flex items-center bg-slate-100 rounded-full px-4 py-2 w-96">
<span class="material-symbols-outlined text-slate-500 mr-2">search</span>
<input class="bg-transparent border-none focus:ring-0 text-body-md w-full placeholder:text-slate-400" placeholder="Search outlets, merchants or device IDs..." type="text"/>
</div>
<div class="flex items-center gap-4">
<div class="flex gap-2">
<button class="p-2 text-on-surface-variant hover:text-primary transition-colors relative">
<span class="material-symbols-outlined">notifications</span>
<span class="absolute top-2 right-2 w-2 h-2 bg-error rounded-full border-2 border-white"></span>
</button>
<button class="p-2 text-on-surface-variant hover:text-primary transition-colors">
<span class="material-symbols-outlined">calendar_today</span>
</button>
</div>
<div class="h-8 w-[1px] bg-slate-200"></div>
<div class="flex items-center gap-3 pl-2">
<div class="text-right">
<p class="font-bold text-body-md text-on-surface">Alex Thompson</p>
<p class="text-[11px] text-slate-500 font-medium">System Administrator</p>
</div>
<img alt="Administrator Profile" class="w-10 h-10 rounded-full border-2 border-primary/10 object-cover" data-alt="A professional headshot of a middle-aged male administrator with a confident expression, wearing a navy blue blazer over a crisp white shirt. The background is a clean, out-of-focus corporate office environment with soft morning light streaming through windows, creating a bright and reliable fintech brand atmosphere." src="https://lh3.googleusercontent.com/aida-public/AB6AXuCfm3dzHUMfLnejOKLG86RpDDoOIC_aJ0t45ABgJ5YaYjekFiCKZRbQFQBQWxfIPoLQwcr-fDLAuZitkNCuzNl6nmWhAPXh2VNBqTNprDonr9mihjslDaCp_mhjhpaGc4kMoZn9nCIDw-OAf1La-TUaW2Q9Atq25jAjaFbEPiccJ_kmTsxKMk6qZHry98H2eXDnsx9H5zVxWZ_b3p8TeapM2JORU7aqAaySzUQNJiTq5rdZdgPFvk82Dg3jCul06N4NWziRM6t7IaE"/>
</div>
</div>
</header>
<!-- Main Content -->
<main class="ml-64 pt-[72px] p-page-padding min-h-screen">
<!-- Breadcrumbs & Header -->
<div class="flex flex-col md:flex-row md:items-end justify-between mb-8 gap-4">
<div>
<nav class="flex items-center gap-2 text-label-md text-slate-500 mb-2">
<a class="hover:text-primary transition-colors" href="#">Merchants</a>
<span class="material-symbols-outlined text-[14px]">chevron_right</span>
<a class="hover:text-primary transition-colors" href="#">Global Retail Group</a>
<span class="material-symbols-outlined text-[14px]">chevron_right</span>
<span class="text-primary font-bold">Outlets</span>
</nav>
<h2 class="font-display-lg text-display-lg text-on-surface">Outlet Registry</h2>
<p class="text-on-surface-variant mt-1">Managing 14 operational nodes across 3 regions for Global Retail Group.</p>
</div>
<div class="flex gap-3">
<button class="flex items-center gap-2 px-4 py-2.5 bg-white border border-slate-200 rounded-xl font-bold text-on-surface-variant hover:bg-slate-50 transition-all active:scale-95">
<span class="material-symbols-outlined text-[20px]">filter_list</span>
Filter
</button>
<button class="flex items-center gap-2 px-4 py-2.5 bg-primary text-white rounded-xl font-bold hover:shadow-lg hover:shadow-primary/30 transition-all active:scale-95">
<span class="material-symbols-outlined text-[20px]">add</span>
Add New Outlet
</button>
</div>
</div>
<!-- KPI Metrics Grid -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-gutter mb-8">
<div class="bg-white p-card-padding border border-slate-200 rounded-xl">
<p class="font-label-md text-label-md text-slate-500 uppercase tracking-wider mb-1">Total Outlets</p>
<div class="flex items-baseline gap-2">
<span class="font-metric-lg text-metric-lg text-on-surface">14</span>
<span class="font-metric-sm text-metric-sm text-success flex items-center">
<span class="material-symbols-outlined text-[16px]">trending_up</span>
2
</span>
</div>
<p class="text-[11px] text-slate-400 mt-2">Active across 4 merchant accounts</p>
</div>
<div class="bg-white p-card-padding border border-slate-200 rounded-xl">
<p class="font-label-md text-label-md text-slate-500 uppercase tracking-wider mb-1">Active Devices</p>
<div class="flex items-baseline gap-2">
<span class="font-metric-lg text-metric-lg text-on-surface">142</span>
<span class="font-metric-sm text-metric-sm text-success flex items-center">
<span class="material-symbols-outlined text-[16px]">check_circle</span>
98%
</span>
</div>
<p class="text-[11px] text-slate-400 mt-2">3 currently in maintenance</p>
</div>
<div class="bg-white p-card-padding border border-slate-200 rounded-xl">
<p class="font-label-md text-label-md text-slate-500 uppercase tracking-wider mb-1">Daily GMV</p>
<div class="flex items-baseline gap-2">
<span class="font-metric-lg text-metric-lg text-on-surface">$124,502</span>
<span class="font-metric-sm text-metric-sm text-success flex items-center">
<span class="material-symbols-outlined text-[16px]">trending_up</span>
12.4%
</span>
</div>
<p class="text-[11px] text-slate-400 mt-2">Vs. previous 24h average</p>
</div>
<div class="bg-white p-card-padding border border-slate-200 rounded-xl">
<p class="font-label-md text-label-md text-slate-500 uppercase tracking-wider mb-1">Health Score</p>
<div class="flex items-baseline gap-2">
<span class="font-metric-lg text-metric-lg text-on-surface">A+</span>
<span class="font-metric-sm text-metric-sm text-info flex items-center">
<span class="material-symbols-outlined text-[16px]">verified</span>
Stable
</span>
</div>
<p class="text-[11px] text-slate-400 mt-2">Network latency: 142ms avg</p>
</div>
</div>
<!-- Data Table Section -->
<div class="bg-white border border-slate-200 rounded-xl overflow-hidden shadow-sm">
<div class="px-6 py-4 border-b border-slate-200 flex justify-between items-center bg-slate-50/50">
<h3 class="font-headline-md text-headline-md text-on-surface">Outlet Fleet</h3>
<div class="flex gap-2">
<button class="p-2 text-slate-400 hover:text-primary transition-colors">
<span class="material-symbols-outlined">download</span>
</button>
<button class="p-2 text-slate-400 hover:text-primary transition-colors">
<span class="material-symbols-outlined">more_vert</span>
</button>
</div>
</div>
<div class="overflow-x-auto custom-scrollbar">
<table class="w-full text-left border-collapse">
<thead>
<tr class="bg-white border-b border-slate-200">
<th class="px-6 py-4 font-label-md text-label-md text-slate-500 uppercase tracking-wider sticky top-0 bg-white">Outlet Name</th>
<th class="px-6 py-4 font-label-md text-label-md text-slate-500 uppercase tracking-wider sticky top-0 bg-white">Location</th>
<th class="px-6 py-4 font-label-md text-label-md text-slate-500 uppercase tracking-wider sticky top-0 bg-white">Active Devices</th>
<th class="px-6 py-4 font-label-md text-label-md text-slate-500 uppercase tracking-wider sticky top-0 bg-white text-right">Daily GMV</th>
<th class="px-6 py-4 font-label-md text-label-md text-slate-500 uppercase tracking-wider sticky top-0 bg-white">Status</th>
<th class="px-6 py-4 font-label-md text-label-md text-slate-500 uppercase tracking-wider sticky top-0 bg-white text-right">Actions</th>
</tr>
</thead>
<tbody class="divide-y divide-slate-100">
<tr class="hover:bg-slate-50 transition-colors group">
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-lg bg-slate-100 flex items-center justify-center text-primary group-hover:bg-primary/10 transition-colors">
<span class="material-symbols-outlined">store</span>
</div>
<div>
<p class="font-bold text-on-surface">Downtown Flagship</p>
<p class="text-[12px] text-slate-500 mono">OUT-49201-DF</p>
</div>
</div>
</td>
<td class="px-6 py-4">
<div class="flex items-center gap-2">
<span class="material-symbols-outlined text-[18px] text-slate-400">location_on</span>
<span class="text-body-md text-on-surface-variant">San Francisco, CA</span>
</div>
</td>
<td class="px-6 py-4">
<div class="flex items-center gap-2">
<span class="text-body-lg font-bold text-on-surface">24</span>
<div class="flex -space-x-2">
<div class="w-6 h-6 rounded-full bg-success/20 border-2 border-white flex items-center justify-center">
<div class="w-2 h-2 rounded-full bg-success"></div>
</div>
<div class="w-6 h-6 rounded-full bg-success/20 border-2 border-white flex items-center justify-center">
<div class="w-2 h-2 rounded-full bg-success"></div>
</div>
<div class="w-6 h-6 rounded-full bg-slate-100 border-2 border-white flex items-center justify-center text-[8px] font-bold">+22</div>
</div>
</div>
</td>
<td class="px-6 py-4 text-right">
<p class="text-body-lg font-bold text-on-surface mono">$12,450.00</p>
<p class="text-[11px] text-success flex items-center justify-end gap-1 font-bold">
<span class="material-symbols-outlined text-[12px]">trending_up</span>
+4.2%
</p>
</td>
<td class="px-6 py-4">
<span class="px-3 py-1 bg-success/10 text-success rounded-full text-[12px] font-bold uppercase tracking-tight inline-flex items-center gap-1">
<span class="w-1.5 h-1.5 rounded-full bg-success"></span>
Active
</span>
</td>
<td class="px-6 py-4 text-right">
<button class="p-2 hover:bg-slate-200 rounded-lg transition-colors text-slate-500" onclick="openDrawer('Downtown Flagship')">
<span class="material-symbols-outlined">visibility</span>
</button>
</td>
</tr>
<tr class="hover:bg-slate-50 transition-colors group">
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-lg bg-slate-100 flex items-center justify-center text-primary group-hover:bg-primary/10 transition-colors">
<span class="material-symbols-outlined">store</span>
</div>
<div>
<p class="font-bold text-on-surface">Eastside Mall Branch</p>
<p class="text-[12px] text-slate-500 mono">OUT-49202-EM</p>
</div>
</div>
</td>
<td class="px-6 py-4">
<div class="flex items-center gap-2">
<span class="material-symbols-outlined text-[18px] text-slate-400">location_on</span>
<span class="text-body-md text-on-surface-variant">Austin, TX</span>
</div>
</td>
<td class="px-6 py-4">
<div class="flex items-center gap-2">
<span class="text-body-lg font-bold text-on-surface">18</span>
<div class="flex -space-x-2">
<div class="w-6 h-6 rounded-full bg-warning/20 border-2 border-white flex items-center justify-center">
<div class="w-2 h-2 rounded-full bg-warning animate-pulse"></div>
</div>
<div class="w-6 h-6 rounded-full bg-slate-100 border-2 border-white flex items-center justify-center text-[8px] font-bold">+17</div>
</div>
</div>
</td>
<td class="px-6 py-4 text-right">
<p class="text-body-lg font-bold text-on-surface mono">$8,920.45</p>
<p class="text-[11px] text-danger flex items-center justify-end gap-1 font-bold">
<span class="material-symbols-outlined text-[12px]">trending_down</span>
-2.1%
</p>
</td>
<td class="px-6 py-4">
<span class="px-3 py-1 bg-warning/10 text-warning rounded-full text-[12px] font-bold uppercase tracking-tight inline-flex items-center gap-1">
<span class="w-1.5 h-1.5 rounded-full bg-warning"></span>
Pending
</span>
</td>
<td class="px-6 py-4 text-right">
<button class="p-2 hover:bg-slate-200 rounded-lg transition-colors text-slate-500" onclick="openDrawer('Eastside Mall Branch')">
<span class="material-symbols-outlined">visibility</span>
</button>
</td>
</tr>
<tr class="hover:bg-slate-50 transition-colors group">
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-lg bg-slate-100 flex items-center justify-center text-primary group-hover:bg-primary/10 transition-colors">
<span class="material-symbols-outlined">store</span>
</div>
<div>
<p class="font-bold text-on-surface">Airport Terminal A</p>
<p class="text-[12px] text-slate-500 mono">OUT-49203-AA</p>
</div>
</div>
</td>
<td class="px-6 py-4">
<div class="flex items-center gap-2">
<span class="material-symbols-outlined text-[18px] text-slate-400">location_on</span>
<span class="text-body-md text-on-surface-variant">Chicago, IL</span>
</div>
</td>
<td class="px-6 py-4">
<div class="flex items-center gap-2">
<span class="text-body-lg font-bold text-on-surface">32</span>
<div class="flex -space-x-2">
<div class="w-6 h-6 rounded-full bg-success/20 border-2 border-white flex items-center justify-center">
<div class="w-2 h-2 rounded-full bg-success"></div>
</div>
<div class="w-6 h-6 rounded-full bg-slate-100 border-2 border-white flex items-center justify-center text-[8px] font-bold">+31</div>
</div>
</div>
</td>
<td class="px-6 py-4 text-right">
<p class="text-body-lg font-bold text-on-surface mono">$24,102.18</p>
<p class="text-[11px] text-success flex items-center justify-end gap-1 font-bold">
<span class="material-symbols-outlined text-[12px]">trending_up</span>
+18.4%
</p>
</td>
<td class="px-6 py-4">
<span class="px-3 py-1 bg-success/10 text-success rounded-full text-[12px] font-bold uppercase tracking-tight inline-flex items-center gap-1">
<span class="w-1.5 h-1.5 rounded-full bg-success"></span>
Active
</span>
</td>
<td class="px-6 py-4 text-right">
<button class="p-2 hover:bg-slate-200 rounded-lg transition-colors text-slate-500" onclick="openDrawer('Airport Terminal A')">
<span class="material-symbols-outlined">visibility</span>
</button>
</td>
</tr>
<tr class="hover:bg-slate-50 transition-colors group opacity-75">
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-lg bg-slate-100 flex items-center justify-center text-slate-400 group-hover:bg-slate-200 transition-colors">
<span class="material-symbols-outlined">store</span>
</div>
<div>
<p class="font-bold text-on-surface">Legacy Square Node</p>
<p class="text-[12px] text-slate-500 mono">OUT-49105-LS</p>
</div>
</div>
</td>
<td class="px-6 py-4">
<div class="flex items-center gap-2">
<span class="material-symbols-outlined text-[18px] text-slate-400">location_on</span>
<span class="text-body-md text-on-surface-variant">Boston, MA</span>
</div>
</td>
<td class="px-6 py-4">
<div class="flex items-center gap-2">
<span class="text-body-lg font-bold text-on-surface">0</span>
<div class="flex">
<div class="w-6 h-6 rounded-full bg-slate-200 border-2 border-white"></div>
</div>
</div>
</td>
<td class="px-6 py-4 text-right">
<p class="text-body-lg font-bold text-slate-400 mono">$0.00</p>
<p class="text-[11px] text-slate-400 flex items-center justify-end gap-1 font-bold">
<span class="material-symbols-outlined text-[12px]">horizontal_rule</span>
0%
</p>
</td>
<td class="px-6 py-4">
<span class="px-3 py-1 bg-slate-100 text-slate-500 rounded-full text-[12px] font-bold uppercase tracking-tight inline-flex items-center gap-1">
<span class="w-1.5 h-1.5 rounded-full bg-slate-400"></span>
Decommissioned
</span>
</td>
<td class="px-6 py-4 text-right">
<button class="p-2 hover:bg-slate-200 rounded-lg transition-colors text-slate-500" onclick="openDrawer('Legacy Square Node')">
<span class="material-symbols-outlined">visibility</span>
</button>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Pagination -->
<div class="px-6 py-4 border-t border-slate-200 flex items-center justify-between bg-white">
<p class="text-body-md text-slate-500">Showing <span class="font-bold text-on-surface">1-4</span> of <span class="font-bold text-on-surface">14</span> outlets</p>
<div class="flex items-center gap-2">
<button class="p-2 border border-slate-200 rounded-lg hover:bg-slate-50 disabled:opacity-50" disabled="">
<span class="material-symbols-outlined text-[20px]">chevron_left</span>
</button>
<button class="w-10 h-10 bg-primary text-white font-bold rounded-lg flex items-center justify-center">1</button>
<button class="w-10 h-10 border border-slate-200 text-on-surface-variant font-bold rounded-lg flex items-center justify-center hover:bg-slate-50">2</button>
<button class="w-10 h-10 border border-slate-200 text-on-surface-variant font-bold rounded-lg flex items-center justify-center hover:bg-slate-50">3</button>
<button class="p-2 border border-slate-200 rounded-lg hover:bg-slate-50">
<span class="material-symbols-outlined text-[20px]">chevron_right</span>
</button>
</div>
</div>
</div>
</main>
<!-- Detail Drawer Overlay -->
<div class="fixed inset-0 bg-slate-900/40 backdrop-blur-sm z-[60] hidden transition-opacity opacity-0 duration-300" id="drawer-overlay" onclick="closeDrawer()"></div>
<!-- Detail Drawer -->
<div class="fixed top-0 right-0 h-full w-[450px] bg-white z-[70] shadow-2xl transform translate-x-full transition-transform duration-300 ease-in-out border-l border-slate-200" id="detail-drawer">
<div class="h-full flex flex-col">
<!-- Drawer Header -->
<div class="p-6 border-b border-slate-200 flex items-center justify-between">
<div>
<h2 class="font-headline-lg text-headline-lg text-on-surface" id="drawer-title">Outlet Details</h2>
<p class="text-on-surface-variant mono text-[12px] uppercase mt-1" id="drawer-subtitle">Registry Details &amp; Performance</p>
</div>
<button class="p-2 hover:bg-slate-100 rounded-full text-slate-500 transition-colors" onclick="closeDrawer()">
<span class="material-symbols-outlined">close</span>
</button>
</div>
<!-- Drawer Content -->
<div class="flex-1 overflow-y-auto p-6 space-y-8 custom-scrollbar">
<!-- Quick Map / Location Placeholder -->
<div class="relative w-full h-40 bg-slate-100 rounded-xl overflow-hidden group">
<img alt="Outlet Location Map" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-700" data-alt="A high-quality digital map visualization of a city grid with a glowing primary blue marker indicating a retail outlet's exact location. The map style is minimalist and professional, featuring clean lines, light slate roads, and subtle shadows. The atmosphere is data-driven and high-tech, perfect for a fintech admin console." src="https://lh3.googleusercontent.com/aida-public/AB6AXuBgJJ_Pffdd01siqz80ATGDmpsX4M_Q9e8N61y1NBHxgqAi9FlNNaGbXx63jVU01gYYbGsWqpuRgd0ugP5iAWeezv7VUCS-nqsQ0_8jFidoh-nutfjRUZzCOF4PhgWpPMCiuGc9EeohMZrIWRj6ytjA6mDz0NRHQamTaSj98xXa1gaM9rszxzOpjq2Vr-RFuXsne7OYxFzzWw5JJF_MMASJN9rc5RxaWTcrXBbCqTbxYnlQpSuewUZ9U-wl-RadYy_DBWZ6OkRbPCo"/>
<div class="absolute inset-0 bg-gradient-to-t from-slate-900/60 to-transparent flex items-end p-4">
<p class="text-white font-bold flex items-center gap-2">
<span class="material-symbols-outlined text-[18px]">location_on</span>
View on Live Map
</p>
</div>
</div>
<!-- Metrics Bento Section -->
<div class="grid grid-cols-2 gap-4">
<div class="p-4 bg-slate-50 border border-slate-100 rounded-xl">
<p class="font-label-md text-label-md text-slate-500 mb-1">Weekly Volume</p>
<p class="font-headline-md text-headline-md text-on-surface">$84,203.44</p>
<p class="text-[11px] text-success font-bold mt-1 flex items-center">
<span class="material-symbols-outlined text-[14px]">arrow_upward</span>
8.2%
</p>
</div>
<div class="p-4 bg-slate-50 border border-slate-100 rounded-xl">
<p class="font-label-md text-label-md text-slate-500 mb-1">Avg. Transaction</p>
<p class="font-headline-md text-headline-md text-on-surface">$42.10</p>
<p class="text-[11px] text-slate-400 mt-1">Based on 2.4k txn</p>
</div>
</div>
<!-- Device Lifecycle Timeline -->
<div>
<h4 class="font-headline-md text-headline-md text-on-surface mb-4">Device Fleet Status</h4>
<div class="space-y-4">
<div class="flex items-start gap-4">
<div class="mt-1 flex flex-col items-center">
<div class="w-3 h-3 rounded-full bg-success"></div>
<div class="w-0.5 h-12 bg-slate-200"></div>
</div>
<div>
<p class="font-bold text-on-surface">22 Active Soundboxes</p>
<p class="text-body-md text-on-surface-variant">Transmitting real-time payment alerts.</p>
<p class="text-[11px] text-slate-400 mono mt-1">LATENCY: 114ms</p>
</div>
</div>
<div class="flex items-start gap-4">
<div class="mt-1 flex flex-col items-center">
<div class="w-3 h-3 rounded-full bg-warning"></div>
<div class="w-0.5 h-12 border-l-2 border-dashed border-slate-200"></div>
</div>
<div>
<p class="font-bold text-on-surface">2 Provisioning</p>
<p class="text-body-md text-on-surface-variant">Awaiting SIM activation &amp; merchant link.</p>
<p class="text-[11px] text-warning font-bold mt-1 uppercase tracking-tighter">Action Required</p>
</div>
</div>
<div class="flex items-start gap-4">
<div class="mt-1 flex flex-col items-center">
<div class="w-3 h-3 rounded-full bg-slate-200"></div>
</div>
<div>
<p class="font-bold text-slate-400 text-on-surface">Next Scheduled Audit</p>
<p class="text-body-md text-slate-400">Compliance check and hardware diagnostic.</p>
<p class="text-[11px] text-slate-400 mono mt-1 italic">DUE IN: 14 DAYS</p>
</div>
</div>
</div>
</div>
<!-- Raw Payload Viewer (Audit Block) -->
<div>
<div class="flex justify-between items-center mb-2">
<h4 class="font-headline-md text-headline-md text-on-surface">Configuration Metadata</h4>
<button class="text-primary text-[12px] font-bold flex items-center gap-1 hover:underline">
<span class="material-symbols-outlined text-[14px]">content_copy</span>
Copy JSON
</button>
</div>
<div class="bg-slate-900 rounded-xl p-4 overflow-x-auto">
<pre class="mono text-[12px] text-primary-fixed-dim leading-relaxed">{
"outlet_id": "OUT-49201-DF",
"merchant_group": "GLOBAL_RETAIL_001",
"region": "US-WEST-1",
"capabilities": ["SOUND_ALERTS", "QR_DYNAMIC"],
"encryption_level": "AES-256",
"last_heartbeat": "2023-11-24T10:42:12Z",
"status": "OPERATIONAL"
}</pre>
</div>
</div>
</div>
<!-- Drawer Footer Actions -->
<div class="p-6 border-t border-slate-200 flex gap-3 bg-white">
<button class="flex-1 py-3 px-4 bg-primary text-white font-bold rounded-xl active:scale-95 transition-all">
Edit Configuration
</button>
<button class="py-3 px-4 border border-slate-200 text-on-surface-variant font-bold rounded-xl active:scale-95 transition-all hover:bg-slate-50">
Relocate
</button>
</div>
</div>
</div>
<script>
function openDrawer(title) {
const drawer = document.getElementById('detail-drawer');
const overlay = document.getElementById('drawer-overlay');
const drawerTitle = document.getElementById('drawer-title');
drawerTitle.innerText = title;
overlay.classList.remove('hidden');
setTimeout(() => {
overlay.classList.remove('opacity-0');
overlay.classList.add('opacity-100');
drawer.classList.remove('translate-x-full');
drawer.classList.add('translate-x-0');
}, 10);
}
function closeDrawer() {
const drawer = document.getElementById('detail-drawer');
const overlay = document.getElementById('drawer-overlay');
drawer.classList.remove('translate-x-0');
drawer.classList.add('translate-x-full');
overlay.classList.remove('opacity-100');
overlay.classList.add('opacity-0');
setTimeout(() => {
overlay.classList.add('hidden');
}, 300);
}
</script>
</body></html>