kitchenflow-commander / orders.html
ErnnyG's picture
App for workflow process in a restaurant. From ordering process to recipe, it’s gonna have everything the restaurant does in one place. It’s gonna have user accounts with levels of access like AD sync user in a network environment. There need to be links to different sections within document for fast transfer of data and efficiency. I’m looking for a bare bones app that can be managed by the user once purchased and maybe a free demo with limited functionality
9076e9b verified
Raw History Blame Contribute Delete
15.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Orders | KitchenFlow Commander</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
<custom-navbar></custom-navbar>
<main class="flex-1 container mx-auto px-4 py-8">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6">
<h1 class="text-2xl font-bold text-gray-800 mb-4 md:mb-0">Order Management</h1>
<div class="flex flex-col sm:flex-row gap-3 w-full md:w-auto">
<div class="relative w-full sm:w-64">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="search" class="text-gray-400"></i>
</div>
<input type="text" class="pl-10 w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="Search orders...">
</div>
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md shadow-sm flex items-center justify-center gap-2 transition-colors">
<i data-feather="plus" class="w-4 h-4"></i>
<span>New Order</span>
</button>
</div>
</div>
<div class="bg-white rounded-xl shadow-sm overflow-hidden mb-6">
<div class="border-b border-gray-200">
<nav class="flex -mb-px">
<a href="#" class="whitespace-nowrap py-4 px-6 border-b-2 border-blue-500 font-medium text-sm text-blue-600">Active (24)</a>
<a href="#" class="whitespace-nowrap py-4 px-6 border-b-2 border-transparent font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300">Completed</a>
<a href="#" class="whitespace-nowrap py-4 px-6 border-b-2 border-transparent font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300">Cancelled</a>
<a href="#" class="whitespace-nowrap py-4 px-6 border-b-2 border-transparent font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300">All Orders</a>
</nav>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Order #</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Customer</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Items</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Time</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr class="hover:bg-gray-50 transition-colors">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#1245</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Smith</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Preparing</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">12:45 PM</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i data-feather="eye" class="w-4 h-4 inline"></i></a>
<a href="#" class="text-green-600 hover:text-green-900"><i data-feather="check" class="w-4 h-4 inline"></i></a>
</td>
</tr>
<tr class="hover:bg-gray-50 transition-colors">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#1244</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Johnson</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">5</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">12:30 PM</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i data-feather="eye" class="w-4 h-4 inline"></i></a>
<a href="#" class="text-green-600 hover:text-green-900"><i data-feather="check" class="w-4 h-4 inline"></i></a>
</td>
</tr>
<tr class="hover:bg-gray-50 transition-colors">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#1243</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Table 7</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Ready</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">12:15 PM</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i data-feather="eye" class="w-4 h-4 inline"></i></a>
<a href="#" class="text-green-600 hover:text-green-900"><i data-feather="check" class="w-4 h-4 inline"></i></a>
</td>
</tr>
</tbody>
</table>
</div>
<div class="bg-gray-50 px-6 py-3 flex items-center justify-between border-t border-gray-200">
<div class="flex-1 flex justify-between sm:hidden">
<a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">Previous</a>
<a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">Next</a>
</div>
<div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
<div>
<p class="text-sm text-gray-700">
Showing <span class="font-medium">1</span> to <span class="font-medium">3</span> of <span class="font-medium">24</span> results
</p>
</div>
<div>
<nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
<a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
<span class="sr-only">Previous</span>
<i data-feather="chevron-left" class="h-4 w-4"></i>
</a>
<a href="#" aria-current="page" class="z-10 bg-blue-50 border-blue-500 text-blue-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium">1</a>
<a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">2</a>
<a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">3</a>
<a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
<span class="sr-only">Next</span>
<i data-feather="chevron-right" class="h-4 w-4"></i>
</a>
</nav>
</div>
</div>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-white p-6 rounded-xl shadow-sm">
<h3 class="text-lg font-medium text-gray-900 mb-4">Order Statistics</h3>
<div class="space-y-4">
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium text-gray-700">Pending</span>
<span class="text-sm text-gray-500">8 orders</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-yellow-500 h-2 rounded-full" style="width: 33%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium text-gray-700">Preparing</span>
<span class="text-sm text-gray-500">14 orders</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-green-500 h-2 rounded-full" style="width: 58%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium text-gray-700">Ready</span>
<span class="text-sm text-gray-500">2 orders</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-blue-500 h-2 rounded-full" style="width: 8%"></div>
</div>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<h3 class="text-lg font-medium text-gray-900 mb-4">Popular Items</h3>
<div class="space-y-3">
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="w-10 h-10 bg-gray-100 rounded-lg mr-3"></div>
<div>
<p class="text-sm font-medium text-gray-900">Margherita Pizza</p>
<p class="text-xs text-gray-500">12 orders</p>
</div>
</div>
<span class="text-sm text-gray-700">35%</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="w-10 h-10 bg-gray-100 rounded-lg mr-3"></div>
<div>
<p class="text-sm font-medium text-gray-900">Caesar Salad</p>
<p class="text-xs text-gray-500">8 orders</p>
</div>
</div>
<span class="text-sm text-gray-700">23%</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="w-10 h-10 bg-gray-100 rounded-lg mr-3"></div>
<div>
<p class="text-sm font-medium text-gray-900">Pasta Carbonara</p>
<p class="text-xs text-gray-500">6 orders</p>
</div>
</div>
<span class="text-sm text-gray-700">17%</span>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<h3 class="text-lg font-medium text-gray-900 mb-4">Recent Activity</h3>
<div class="space-y-4">
<div class="flex items-start">
<div class="flex-shrink-0 bg-blue-100 rounded-full p-1 mr-3">
<i data-feather="check-circle" class="w-4 h-4 text-blue-600"></i>
</div>
<p class="text-sm text-gray-600">Order #1242 completed by <span class="font-medium">Chef Michael</span></p>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 bg-yellow-100 rounded-full p-1 mr-3">
<i data-feather="alert-circle" class="w-4 h-4 text-yellow-600"></i>
</div>
<p class="text-sm text-gray-600">Order #1241 cancelled - item unavailable</p>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 bg-green-100 rounded-full p-1 mr-3">
<i data-feather="plus-circle" class="w-4 h-4 text-green-600"></i>
</div>
<p class="text-sm text-gray-600">New order received from <span class="font-medium">Table 5</span></p>
</div>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>feather.replace();</script>
</body>
</html>