cafe / public /order.html
3v324v23's picture
📦 Upload cafe.zip — Cafe Hidden Garden
271b6dd
Raw
History Blame Contribute Delete
2.67 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Order — The Roasted Bean</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700&family=Figtree:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/order.css">
</head>
<body>
<header class="ord-header">
<div class="ord-header-inner">
<a href="/" class="ord-logo">← Back</a>
<div class="ord-table" id="tableDisplay">
<span class="ord-table-label">Table</span>
<span class="ord-table-num" id="tableNumber"></span>
</div>
<div class="ord-cart-badge" id="cartBadge" style="display:none">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="9" cy="21" r="1"/><circle cx="20" cy="21" r="1"/><path d="M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6"/></svg>
<span id="cartCount">0</span>
</div>
</div>
</header>
<main class="ord-main">
<!-- Live orders for this table -->
<section class="ord-live" id="ordLive" style="display:none">
<h2 class="ord-section-title">Your orders</h2>
<div class="ord-live-list" id="ordLiveList"></div>
</section>
<!-- Menu items list -->
<section class="ord-menu" id="ordMenu">
<h2 class="ord-section-title">Menu</h2>
<div class="ord-filter" id="ordFilters"></div>
<div class="ord-items" id="ordItems"></div>
</section>
<!-- Cart panel -->
<aside class="ord-cart" id="ordCart">
<div class="ord-cart-head">
<h2>Your order</h2>
<span class="ord-cart-total" id="cartTotal">₹0.00</span>
</div>
<div class="ord-cart-items" id="cartItems">
<p class="ord-cart-empty">Tap items from the menu to add them here.</p>
</div>
<div class="ord-cart-note">
<label for="orderNote">Special requests</label>
<textarea id="orderNote" rows="2" placeholder="e.g. Extra hot, oat milk instead"></textarea>
</div>
<div class="ord-cart-table-row" id="cartTableRow">
<label for="cartTableSelect">Table</label>
<select id="cartTableSelect"></select>
</div>
<button class="ord-submit" id="submitBtn" disabled>Place order</button>
</aside>
</main>
<!-- Confirmation toast -->
<div class="ord-toast" id="ordToast"></div>
<script src="/js/order.js"></script>
</body>
</html>