Files
NextChair/templates/32-NextChair - Staff - Breaks.html
T
Stefan Lazic 090646fdfd Phase 2
Base app architecture:

    Route groups for customer, staff and owner.
* Reusable design system with around 20 UI components.
* Complete Prisma schema.
* Authentication with email/password and Google.
* Role and permission model.
* Protected routes.
* Clean separation between features, services, components and shared utilities.
2026-08-02 17:47:23 +01:00

112 lines
6.1 KiB
HTML

<!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>Manage Breaks — TrimTime</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 "4-NextChair - Staff - Settings.html"
("Manage Breaks" row), which had no destination — see
docs/implementation-plan.md §6. -->
<header class="px-6 py-6 bg-white border-b border-line sticky top-0 z-40 flex items-center justify-between">
<h1 class="text-2xl font-bold tracking-tight">Manage Breaks</h1>
<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="mt-6 px-6 space-y-3">
<!-- Break 1 -->
<div class="bg-white p-5 rounded-jumbo border border-line shadow-sm">
<div class="flex items-start justify-between mb-3">
<div class="flex items-center gap-3">
<div class="w-9 h-9 bg-stone rounded-lg flex items-center justify-center text-muted"><i class="fa-solid fa-mug-hot text-xs"></i></div>
<div>
<p class="text-sm font-bold">Lunch Break</p>
<p class="text-xs text-muted mt-0.5">12:00 PM &ndash; 1:00 PM</p>
</div>
</div>
<div class="flex items-center gap-2">
<button class="w-8 h-8 rounded-full border border-line flex items-center justify-center text-muted"><i class="fa-solid fa-pen text-[10px]"></i></button>
<button class="w-8 h-8 rounded-full border border-line flex items-center justify-center text-red-500"><i class="fa-solid fa-trash text-[10px]"></i></button>
</div>
</div>
<div class="flex gap-1.5 pl-12">
<span class="text-[9px] font-bold uppercase bg-stone text-muted px-2 py-1 rounded">Mon</span>
<span class="text-[9px] font-bold uppercase bg-stone text-muted px-2 py-1 rounded">Tue</span>
<span class="text-[9px] font-bold uppercase bg-stone text-muted px-2 py-1 rounded">Wed</span>
<span class="text-[9px] font-bold uppercase bg-stone text-muted px-2 py-1 rounded">Thu</span>
<span class="text-[9px] font-bold uppercase bg-stone text-muted px-2 py-1 rounded">Fri</span>
</div>
</div>
<!-- Break 2 -->
<div class="bg-white p-5 rounded-jumbo border border-line shadow-sm">
<div class="flex items-start justify-between mb-3">
<div class="flex items-center gap-3">
<div class="w-9 h-9 bg-stone rounded-lg flex items-center justify-center text-muted"><i class="fa-solid fa-mug-hot text-xs"></i></div>
<div>
<p class="text-sm font-bold">Afternoon Break</p>
<p class="text-xs text-muted mt-0.5">4:00 PM &ndash; 4:15 PM</p>
</div>
</div>
<div class="flex items-center gap-2">
<button class="w-8 h-8 rounded-full border border-line flex items-center justify-center text-muted"><i class="fa-solid fa-pen text-[10px]"></i></button>
<button class="w-8 h-8 rounded-full border border-line flex items-center justify-center text-red-500"><i class="fa-solid fa-trash text-[10px]"></i></button>
</div>
</div>
<div class="flex gap-1.5 pl-12">
<span class="text-[9px] font-bold uppercase bg-stone text-muted px-2 py-1 rounded">Sat</span>
</div>
</div>
<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 Break
</button>
</main>
<!-- Staff Navigation -->
<nav class="fixed bottom-0 left-0 right-0 z-50 bg-[#0c0c0c] text-gray-400 py-2 px-5 border-t border-white/5 flex items-center justify-between">
<a href="1-NextChair - Staff - 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="4-NextChair - Staff - 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>