Spaces:
Running

pdf-upload-wizard / documents.html
ekonkati's picture
i wish to develop a full stack webapp based on my prd in pdf file. Help me how to proceed further?
6f0fc6f verified
Raw History Blame Contribute Delete
3.39 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Documents | PDF Wizard</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>
</head>
<body class="bg-gray-50 min-h-screen">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-12">
<div class="max-w-6xl mx-auto">
<div class="flex justify-between items-center mb-8">
<h1 class="text-2xl font-bold text-gray-800">My Documents</h1>
<a href="/" class="bg-blue-500 hover:bg-blue-600 text-white font-medium py-2 px-4 rounded-lg transition-colors flex items-center">
<i data-feather="plus" class="mr-2"></i> Upload New
</a>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="grid grid-cols-12 bg-gray-100 p-4 border-b border-gray-200">
<div class="col-span-5 font-medium text-gray-700">Document</div>
<div class="col-span-3 font-medium text-gray-700">Uploaded</div>
<div class="col-span-2 font-medium text-gray-700">Status</div>
<div class="col-span-2 font-medium text-gray-700">Actions</div>
</div>
<div id="documentsList" class="divide-y divide-gray-200">
<!-- Documents will be loaded here -->
<div class="grid grid-cols-12 p-4 items-center">
<div class="col-span-5 flex items-center">
<i data-feather="file-text" class="text-red-500 mr-3"></i>
<div>
<p class="font-medium">Product_Requirements.pdf</p>
<p class="text-sm text-gray-500">2.4 MB</p>
</div>
</div>
<div class="col-span-3 text-gray-600">2 days ago</div>
<div class="col-span-2">
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Processed</span>
</div>
<div class="col-span-2 flex space-x-2">
<button class="text-blue-500 hover:text-blue-700">
<i data-feather="eye"></i>
</button>
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="download"></i>
</button>
<button class="text-red-500 hover:text-red-700">
<i data-feather="trash-2"></i>
</button>
</div>
</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();
// Will load documents from API later
</script>
</body>
</html>