78 lines
4.2 KiB
HTML
78 lines
4.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>TCGPlayer Order Management</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<script>
|
|
tailwind.config = {
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Inter', 'sans-serif'],
|
|
},
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body class="bg-gray-900 min-h-screen text-gray-100">
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
|
<div class="bg-gray-800 rounded-xl shadow-sm p-6 mb-8">
|
|
<h1 class="text-3xl font-bold text-gray-100 mb-2">TCGPlayer Order Management</h1>
|
|
<p class="text-gray-400">Manage your TCGPlayer orders efficiently</p>
|
|
</div>
|
|
|
|
<!-- Order Actions Section -->
|
|
<div class="bg-gray-800 rounded-xl shadow-sm p-6 mb-8">
|
|
<h2 class="text-xl font-semibold text-gray-100 mb-6">Order Actions</h2>
|
|
<div class="flex flex-wrap gap-4 mb-4">
|
|
<button onclick="generatePullSheets()" class="px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 transition-colors">
|
|
Generate Pull Sheets
|
|
</button>
|
|
<button onclick="generatePackingSlips()" class="px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 transition-colors">
|
|
Generate Packing Slips
|
|
</button>
|
|
<button onclick="generateAddressLabels()" class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 transition-colors">
|
|
Generate Address Labels
|
|
</button>
|
|
</div>
|
|
<div id="labelOptions" class="bg-gray-700 rounded-lg p-4">
|
|
<label class="block text-sm font-medium text-gray-300 mb-2">Label Type</label>
|
|
<select id="labelType" class="rounded-lg border-gray-600 bg-gray-800 text-gray-100 focus:ring-blue-500 focus:border-blue-500">
|
|
<option value="dk1201">DK1201</option>
|
|
<option value="dk1241">DK1241</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Order List Section -->
|
|
<div class="bg-gray-800 rounded-xl shadow-sm p-6">
|
|
<div class="flex items-center justify-between mb-6">
|
|
<h2 class="text-xl font-semibold text-gray-100">Orders</h2>
|
|
<div class="flex items-center space-x-4">
|
|
<select id="searchRange" class="rounded-lg border-gray-600 bg-gray-800 text-gray-100 focus:ring-blue-500 focus:border-blue-500">
|
|
<option value="LastWeek" selected>Last Week</option>
|
|
<option value="LastMonth">Last Month</option>
|
|
<option value="LastThreeMonths">Last Three Months</option>
|
|
<option value="LastFourMonths">Last Four Months</option>
|
|
<option value="LastTwoYears">Last Two Years</option>
|
|
</select>
|
|
<label class="flex items-center space-x-2">
|
|
<input type="checkbox" id="openOnly" class="rounded border-gray-600 bg-gray-800 text-blue-600 focus:ring-blue-500" checked>
|
|
<span class="text-gray-300">Show Open Orders Only</span>
|
|
</label>
|
|
<button onclick="selectAllOrders()" class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-colors">
|
|
Select All Orders
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div id="ordersList" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"></div>
|
|
</div>
|
|
</div>
|
|
<script src="/app.js"></script>
|
|
</body>
|
|
</html> |