Spaces:
Running
Running
Download index.html from dcm23/cylinderflow-mapper: direct link, hf CLI and curl.
- Browser
- Download file 29.7 kB
-
https://huggingface.co/spaces/dcm23/cylinderflow-mapper/resolve/main/index.html
- Command line
-
hf download hf://spaces/dcm23/cylinderflow-mapper/index.html
-
curl -L -o index.html https://huggingface.co/spaces/dcm23/cylinderflow-mapper/resolve/main/index.html
29.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>CylinderFlow - Transfers Management</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> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/transfer-card.js"></script> | |
| <script src="components/status-badge.js"></script> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-8"> | |
| <!-- Header with stats cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8"> | |
| <div class="bg-white rounded-xl shadow p-6 border-l-4 border-blue-500"> | |
| <div class="text-gray-500 text-sm font-medium mb-1">Total Transfers</div> | |
| <div class="text-3xl font-bold text-gray-800">142</div> | |
| <div class="text-sm text-green-600 mt-1 flex items-center"> | |
| <i data-feather="trending-up" class="w-4 h-4 mr-1"></i> | |
| <span>12% from last week</span> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow p-6 border-l-4 border-green-500"> | |
| <div class="text-gray-500 text-sm font-medium mb-1">Completed</div> | |
| <div class="text-3xl font-bold text-gray-800">98</div> | |
| <div class="text-sm text-green-600 mt-1">69% success rate</div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow p-6 border-l-4 border-yellow-500"> | |
| <div class="text-gray-500 text-sm font-medium mb-1">In Progress</div> | |
| <div class="text-3xl font-bold text-gray-800">24</div> | |
| <div class="text-sm text-yellow-600 mt-1">3 delays</div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow p-6 border-l-4 border-red-500"> | |
| <div class="text-gray-500 text-sm font-medium mb-1">With Issues</div> | |
| <div class="text-3xl font-bold text-gray-800">20</div> | |
| <div class="text-sm text-red-600 mt-1">5 critical</div> | |
| </div> | |
| </div> | |
| <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6 gap-4"> | |
| <div> | |
| <h1 class="text-3xl font-bold text-gray-800">Transfers Management</h1> | |
| <p class="text-gray-600 mt-1">Monitor and manage all cylinder transfers in real-time</p> | |
| </div> | |
| <button class="bg-gradient-to-r from-blue-600 to-blue-500 hover:from-blue-700 hover:to-blue-600 text-white px-6 py-3 rounded-xl flex items-center shadow-md hover:shadow-lg transition-all"> | |
| <i data-feather="plus" class="mr-2"></i> New Transfer | |
| </button> | |
| </div> | |
| <!-- Filters Section --> | |
| <div class="bg-white rounded-xl shadow-lg p-6 mb-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Date Range</label> | |
| <div class="relative"> | |
| <button class="border rounded-lg px-4 py-2.5 w-full text-left flex justify-between items-center"> | |
| <span class="text-gray-700">Last 7 days</span> | |
| <i data-feather="chevron-down" class="w-4 h-4"></i> | |
| </button> | |
| <div class="absolute mt-1 w-full bg-white rounded-lg shadow-lg border hidden"> | |
| <div class="p-2"> | |
| <div class="px-3 py-2 hover:bg-gray-50 rounded cursor-pointer">Today</div> | |
| <div class="px-3 py-2 hover:bg-gray-50 rounded cursor-pointer">Yesterday</div> | |
| <div class="px-3 py-2 hover:bg-gray-50 rounded cursor-pointer bg-blue-50 text-blue-600">Last 7 days</div> | |
| <div class="px-3 py-2 hover:bg-gray-50 rounded cursor-pointer">Last 30 days</div> | |
| <div class="px-3 py-2 hover:bg-gray-50 rounded cursor-pointer">Custom range</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Status</label> | |
| <div class="flex space-x-2 overflow-x-auto pb-2"> | |
| <button class="px-3 py-1.5 bg-blue-100 text-blue-700 rounded-full text-sm font-medium whitespace-nowrap">All</button> | |
| <button class="px-3 py-1.5 bg-gray-100 text-gray-700 rounded-full text-sm font-medium whitespace-nowrap">Planned</button> | |
| <button class="px-3 py-1.5 bg-blue-50 text-blue-600 rounded-full text-sm font-medium whitespace-nowrap">In Progress</button> | |
| <button class="px-3 py-1.5 bg-green-50 text-green-600 rounded-full text-sm font-medium whitespace-nowrap">Completed</button> | |
| <button class="px-3 py-1.5 bg-red-50 text-red-600 rounded-full text-sm font-medium whitespace-nowrap">With Issues</button> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Plant β DC Route</label> | |
| <div class="relative"> | |
| <button class="border rounded-lg px-4 py-2.5 w-full text-left flex justify-between items-center"> | |
| <span class="text-gray-700">All Routes</span> | |
| <i data-feather="chevron-down" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Search</label> | |
| <div class="relative"> | |
| <input type="text" placeholder="TransferID, TripID, SAP Doc..." | |
| class="border rounded-lg px-4 py-2.5 w-full pl-10 focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <i data-feather="search" class="absolute left-3 top-3.5 text-gray-400"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex justify-between items-center mt-6 pt-4 border-t border-gray-100"> | |
| <div class="flex space-x-4"> | |
| <button class="flex items-center text-sm text-gray-600 hover:text-gray-800"> | |
| <i data-feather="filter" class="w-4 h-4 mr-1"></i> | |
| <span>Advanced Filters</span> | |
| </button> | |
| <button class="flex items-center text-sm text-gray-600 hover:text-gray-800"> | |
| <i data-feather="download" class="w-4 h-4 mr-1"></i> | |
| <span>Export</span> | |
| </button> | |
| </div> | |
| <button class="text-blue-600 hover:text-blue-800 text-sm font-medium flex items-center"> | |
| <i data-feather="refresh-ccw" class="w-4 h-4 mr-1"></i> | |
| <span>Reset Filters</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- View Toggle --> | |
| <div class="flex justify-between items-center mb-4"> | |
| <div class="text-sm text-gray-600"> | |
| Showing <span class="font-medium">1-6</span> of <span class="font-medium">24</span> transfers | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="p-2 rounded-lg bg-white border text-gray-500 hover:bg-gray-50"> | |
| <i data-feather="list" class="w-5 h-5"></i> | |
| </button> | |
| <button class="p-2 rounded-lg bg-blue-50 border border-blue-100 text-blue-600"> | |
| <i data-feather="grid" class="w-5 h-5"></i> | |
| </button> | |
| <button class="p-2 rounded-lg bg-white border text-gray-500 hover:bg-gray-50"> | |
| <i data-feather="map" class="w-5 h-5"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Card Grid View --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8"> | |
| <custom-transfer-card | |
| transfer-id="TRF-2023-001" | |
| plant="Plant A" | |
| dc="DC B" | |
| status="closed" | |
| full-kg="1,200 / 1,200" | |
| empty-kg="1,150 / 1,150" | |
| date="2023-10-15"> | |
| </custom-transfer-card> | |
| <custom-transfer-card | |
| transfer-id="TRF-2023-002" | |
| plant="Plant B" | |
| dc="DC C" | |
| status="closed" | |
| full-kg="1,500 / 1,450" | |
| empty-kg="1,400 / 1,380" | |
| date="2023-10-16"> | |
| </custom-transfer-card> | |
| <custom-transfer-card | |
| transfer-id="TRF-2023-003" | |
| plant="Plant C" | |
| dc="DC A" | |
| status="in-progress" | |
| full-kg="1,800 / 1,800" | |
| empty-kg="1,700 / -" | |
| date="2023-10-17"> | |
| </custom-transfer-card> | |
| <custom-transfer-card | |
| transfer-id="TRF-2023-004" | |
| plant="Plant A" | |
| dc="DC D" | |
| status="closed" | |
| full-kg="2,000 / 1,950" | |
| empty-kg="1,900 / 1,900" | |
| date="2023-10-18"> | |
| </custom-transfer-card> | |
| <custom-transfer-card | |
| transfer-id="TRF-2023-005" | |
| plant="Plant B" | |
| dc="DC E" | |
| status="planned" | |
| full-kg="1,600 / -" | |
| empty-kg="1,500 / -" | |
| date="2023-10-19"> | |
| </custom-transfer-card> | |
| <custom-transfer-card | |
| transfer-id="TRF-2023-006" | |
| plant="Plant C" | |
| dc="DC B" | |
| status="pending" | |
| full-kg="1,300 / -" | |
| empty-kg="1,200 / -" | |
| date="2023-10-20"> | |
| </custom-transfer-card> | |
| </div> | |
| <!-- Table View (Hidden by default) --> | |
| <div class="hidden"> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden"> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Transfer ID</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Plant β DC</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Target Date</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Full (kg)</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Empty (kg)</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Difference</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Trip ID</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Vehicle</th> | |
| <th 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"> | |
| <!-- Sample Row 1: Closed OK --> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="transfer-detail.html" class="text-blue-600 hover:underline">TRF-2023-001</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">Plant A β DC B</td> | |
| <td class="px-6 py-4 whitespace-nowrap">2023-10-15</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,200 / 1,200</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,150 / 1,150</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-green-600">0 (0%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <custom-status-badge status="closed"></custom-status-badge> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="#" class="text-blue-600 hover:underline">TRIP-001</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">TRUCK-001</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex space-x-2"> | |
| <button class="text-gray-400 hover:text-blue-600" title="View on map"> | |
| <i data-feather="map"></i> | |
| </button> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i data-feather="more-vertical"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </td> | |
| </tr> | |
| <!-- Sample Row 2: Closed with difference --> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="transfer-detail.html" class="text-blue-600 hover:underline">TRF-2023-002</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">Plant B β DC C</td> | |
| <td class="px-6 py-4 whitespace-nowrap">2023-10-16</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,500 / 1,450</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,400 / 1,380</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-red-600">-70 (-4.6%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <custom-status-badge status="closed"></custom-status-badge> | |
| <i data-feather="alert-circle" class="text-yellow-500 ml-1 inline"></i> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="#" class="text-blue-600 hover:underline">TRIP-002</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">TRUCK-003</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i data-feather="more-vertical"></i> | |
| </button> | |
| </div> | |
| </td> | |
| </tr> | |
| <!-- Sample Row 3: In Return (multi-day) --> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="transfer-detail.html" class="text-blue-600 hover:underline">TRF-2023-003</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">Plant C β DC A</td> | |
| <td class="px-6 py-4 whitespace-nowrap">2023-10-17</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,800 / 1,800</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,700 / -</td> | |
| <td class="px-6 py-4 whitespace-nowrap">-</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <custom-status-badge status="in-progress"></custom-status-badge> | |
| <i data-feather="clock" class="text-blue-500 ml-1 inline"></i> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="#" class="text-blue-600 hover:underline">TRIP-003</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">TRUCK-005</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i data-feather="more-vertical"></i> | |
| </button> | |
| </div> | |
| </td> | |
| </tr> | |
| <!-- Sample Row 4: With handover --> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="transfer-detail.html" class="text-blue-600 hover:underline">TRF-2023-004</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">Plant A β DC D</td> | |
| <td class="px-6 py-4 whitespace-nowrap">2023-10-18</td> | |
| <td class="px-6 py-4 whitespace-nowrap">2,000 / 1,950</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,900 / 1,900</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-red-600">-50 (-2.5%)</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <custom-status-badge status="closed"></custom-status-badge> | |
| <i data-feather="repeat" class="text-purple-500 ml-1 inline"></i> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="#" class="text-blue-600 hover:underline">TRIP-004</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">TRUCK-007</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i data-feather="more-vertical"></i> | |
| </button> | |
| </div> | |
| </td> | |
| </tr> | |
| <!-- Sample Row 5: Planned --> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="transfer-detail.html" class="text-blue-600 hover:underline">TRF-2023-005</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">Plant B β DC E</td> | |
| <td class="px-6 py-4 whitespace-nowrap">2023-10-19</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,600 / -</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,500 / -</td> | |
| <td class="px-6 py-4 whitespace-nowrap">-</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <custom-status-badge status="planned"></custom-status-badge> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">-</td> | |
| <td class="px-6 py-4 whitespace-nowrap">-</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i data-feather="more-vertical"></i> | |
| </button> | |
| </div> | |
| </td> | |
| </tr> | |
| <!-- Sample Row 6: Pending SAP close --> | |
| <tr class="hover:bg-gray-50"> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="transfer-detail.html" class="text-blue-600 hover:underline">TRF-2023-006</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">Plant C β DC B</td> | |
| <td class="px-6 py-4 whitespace-nowrap">2023-10-20</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,300 / -</td> | |
| <td class="px-6 py-4 whitespace-nowrap">1,200 / -</td> | |
| <td class="px-6 py-4 whitespace-nowrap">-</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <custom-status-badge status="pending"></custom-status-badge> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <a href="#" class="text-blue-600 hover:underline">TRIP-006</a> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap">TRUCK-009</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-400 hover:text-gray-600"> | |
| <i data-feather="more-vertical"></i> | |
| </button> | |
| </div> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <!-- Pagination --> | |
| <div class="bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6"> | |
| <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">6</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-5 w-5"></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-5 w-5"></i> | |
| </a> | |
| </nav> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <div id="transferModal" class="fixed inset-0 z-50 hidden overflow-y-auto"> | |
| <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"> | |
| <div class="fixed inset-0 transition-opacity" aria-hidden="true"> | |
| <div class="absolute inset-0 bg-gray-500 opacity-75"></div> | |
| </div> | |
| <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​</span> | |
| <div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full"> | |
| <div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"> | |
| <div class="sm:flex sm:items-start"> | |
| <div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900">Create New Transfer</h3> | |
| <div class="mt-4 space-y-4"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Source Plant</label> | |
| <select class="border rounded-lg px-4 py-2.5 w-full"> | |
| <option>Select Plant</option> | |
| <option>Plant A</option> | |
| <option>Plant B</option> | |
| <option>Plant C</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Destination DC</label> | |
| <select class="border rounded-lg px-4 py-2.5 w-full"> | |
| <option>Select DC</option> | |
| <option>DC A</option> | |
| <option>DC B</option> | |
| <option>DC C</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Target Date</label> | |
| <input type="date" class="border rounded-lg px-4 py-2.5 w-full"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse"> | |
| <button type="button" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-blue-600 text-base font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 sm:ml-3 sm:w-auto sm:text-sm"> | |
| Create Transfer | |
| </button> | |
| <button type="button" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm" onclick="document.getElementById('transferModal').classList.add('hidden')"> | |
| Cancel | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| // Handle new transfer button click | |
| document.querySelector('button[class*="bg-gradient-to-r"]').addEventListener('click', function() { | |
| document.getElementById('transferModal').classList.remove('hidden'); | |
| }); | |
| </script> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> |