Files
NextChair/templates/33-NextChair - Staff - Time Off.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

107 lines
5.5 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>Time Off — 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"
("Time Off / Vacation" 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">Time Off</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-6">
<section>
<h3 class="text-[10px] font-bold uppercase tracking-widest text-muted ml-1 mb-3">Upcoming</h3>
<div class="space-y-3">
<div class="bg-white p-5 rounded-jumbo border border-line shadow-sm flex items-center gap-4">
<div class="w-12 h-12 bg-stone rounded-xl flex flex-col items-center justify-center shrink-0">
<span class="text-[8px] font-bold uppercase text-muted">Dec</span>
<span class="text-sm font-bold">23</span>
</div>
<div class="flex-1">
<p class="text-sm font-bold">Dec 23 &ndash; Jan 2</p>
<p class="text-xs text-muted mt-0.5">Holiday</p>
</div>
<span class="text-[9px] font-bold uppercase text-accent bg-accent/10 px-2.5 py-1 rounded-full">Approved</span>
</div>
<div class="bg-white p-5 rounded-jumbo border border-line shadow-sm flex items-center gap-4">
<div class="w-12 h-12 bg-stone rounded-xl flex flex-col items-center justify-center shrink-0">
<span class="text-[8px] font-bold uppercase text-muted">Nov</span>
<span class="text-sm font-bold">4</span>
</div>
<div class="flex-1">
<p class="text-sm font-bold">Nov 4</p>
<p class="text-xs text-muted mt-0.5">Personal day</p>
</div>
<button class="w-8 h-8 rounded-full border border-line flex items-center justify-center text-muted"><i class="fa-solid fa-xmark text-xs"></i></button>
</div>
</div>
</section>
<section>
<h3 class="text-[10px] font-bold uppercase tracking-widest text-muted ml-1 mb-3">Past</h3>
<div class="bg-white p-5 rounded-jumbo border border-line shadow-sm flex items-center gap-4 opacity-60">
<div class="w-12 h-12 bg-stone rounded-xl flex flex-col items-center justify-center shrink-0">
<span class="text-[8px] font-bold uppercase text-muted">Aug</span>
<span class="text-sm font-bold">12</span>
</div>
<div class="flex-1">
<p class="text-sm font-bold">Aug 12 &ndash; Aug 19</p>
<p class="text-xs text-muted mt-0.5">Holiday</p>
</div>
</div>
</section>
</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>