Files
NextChair/templates/29-NextChair - Owner - Services & Categories.html
T
Stefan Lazic 2ef3654841
CI / ci (push) Canceled after 0s
PHP Rebuild
Initial PHP rebuild of the app
2026-09-05 08:21:33 +01:00

153 lines
9.0 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<script>
window.FontAwesomeConfig = { autoReplaceSvg: 'nest' };
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Services &amp; Categories — TrimTime Admin</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
colors: { ink: '#111b15', stone: '#f4f6f4', surface: '#ffffff', muted: '#6c7870', line: '#e1e7e2', accent: '#10b981' },
fontFamily: { sans: ['Inter', 'sans-serif'] },
borderRadius: { jumbo: '1.5rem', tile: '1rem' }
}
}
}
</script>
</head>
<body class="bg-stone text-ink min-h-screen pb-32">
<!-- NOTE: New screen. Linked from "13-NextChair - Owner - Settings.html"
("Services & Categories" row) but had no destination in the original
export — see docs/implementation-plan.md §6. -->
<header class="fixed top-0 left-0 right-0 z-50 px-6 py-6 bg-white/80 backdrop-blur-md border-b border-line flex items-center justify-between">
<div class="flex items-center gap-4">
<button onclick="history.back()" class="w-10 h-10 rounded-full border border-line flex items-center justify-center">
<i class="fa-solid fa-arrow-left text-sm"></i>
</button>
<h1 class="text-lg font-bold tracking-tight">Services</h1>
</div>
<button class="w-10 h-10 bg-ink text-white rounded-full flex items-center justify-center">
<i class="fa-solid fa-plus text-sm"></i>
</button>
</header>
<main class="pt-28 px-6 space-y-8">
<!-- Category 1 -->
<section>
<div class="flex items-center justify-between mb-3 px-1">
<div class="flex items-center gap-2">
<i class="fa-solid fa-grip-lines text-line text-xs"></i>
<h3 class="text-sm font-bold">Hair &amp; Beard Services &mdash; Senior Barber</h3>
</div>
<button class="text-muted"><i class="fa-solid fa-pen text-xs"></i></button>
</div>
<div class="bg-white rounded-jumbo border border-line overflow-hidden divide-y divide-line">
<div class="px-5 py-4 flex items-center gap-4">
<i class="fa-solid fa-grip-lines text-line text-xs"></i>
<div class="flex-1">
<p class="text-sm font-bold">Haircut &amp; Style</p>
<p class="text-xs text-muted mt-0.5">30 min &bull; £22.00</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
<i class="fa-solid fa-chevron-right text-[10px] text-muted"></i>
</div>
<div class="px-5 py-4 flex items-center gap-4">
<i class="fa-solid fa-grip-lines text-line text-xs"></i>
<div class="flex-1">
<p class="text-sm font-bold">Skinfade / Taper &amp; Style</p>
<p class="text-xs text-muted mt-0.5">30 min &bull; £25.00</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
<i class="fa-solid fa-chevron-right text-[10px] text-muted"></i>
</div>
<div class="px-5 py-4 flex items-center gap-4">
<i class="fa-solid fa-grip-lines text-line text-xs"></i>
<div class="flex-1">
<p class="text-sm font-bold">Haircut &amp; Beard</p>
<p class="text-xs text-muted mt-0.5">40 min &bull; £30.00</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer">
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
<i class="fa-solid fa-chevron-right text-[10px] text-muted"></i>
</div>
<button class="w-full px-5 py-4 flex items-center gap-3 text-accent text-xs font-bold uppercase tracking-widest hover:bg-stone transition-colors">
<i class="fa-solid fa-plus"></i> Add Service
</button>
</div>
</section>
<!-- Category 2 -->
<section>
<div class="flex items-center justify-between mb-3 px-1">
<div class="flex items-center gap-2">
<i class="fa-solid fa-grip-lines text-line text-xs"></i>
<h3 class="text-sm font-bold">OAP Haircut</h3>
</div>
<button class="text-muted"><i class="fa-solid fa-pen text-xs"></i></button>
</div>
<div class="bg-white rounded-jumbo border border-line overflow-hidden divide-y divide-line">
<div class="px-5 py-4 flex items-center gap-4">
<i class="fa-solid fa-grip-lines text-line text-xs"></i>
<div class="flex-1">
<p class="text-sm font-bold">Standard OAP Cut</p>
<p class="text-xs text-muted mt-0.5">20 min &bull; £15.00</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
<i class="fa-solid fa-chevron-right text-[10px] text-muted"></i>
</div>
<button class="w-full px-5 py-4 flex items-center gap-3 text-accent text-xs font-bold uppercase tracking-widest hover:bg-stone transition-colors">
<i class="fa-solid fa-plus"></i> Add Service
</button>
</div>
</section>
<button class="w-full py-4 border-2 border-dashed border-line rounded-jumbo text-xs font-bold uppercase tracking-widest text-muted hover:border-ink hover:text-ink transition-all">
+ Add Category
</button>
</main>
<!-- Admin Navigation -->
<nav class="fixed bottom-0 left-0 right-0 z-50 bg-[#0c0c0c] text-gray-400 py-4 px-10 border-t border-white/5 flex items-center justify-between">
<a href="5-NextChair - Owner - Calendar.html" class="flex flex-col items-center gap-1 hover:text-white transition-colors">
<i class="fa-solid fa-calendar-days text-xl"></i>
<span class="text-[10px] font-medium">Calendar</span>
</a>
<a href="2-NextChair - Staff - Current.html" class="flex flex-col items-center gap-1 hover:text-white transition-colors">
<i class="fa-solid fa-scissors text-xl"></i>
<span class="text-[10px] font-medium">Current</span>
</a>
<a href="3-NextChair - Staff - Customers.html" class="flex flex-col items-center gap-1 hover:text-white transition-colors">
<i class="fa-solid fa-users text-xl"></i>
<span class="text-[10px] font-medium">Clients</span>
</a>
<a href="13-NextChair - Owner - Settings.html" class="flex flex-col items-center gap-1 text-white">
<i class="fa-solid fa-gear text-xl"></i>
<span class="text-[10px] font-medium">Settings</span>
</a>
</nav>
</body>
</html>