Spaces:
Running
Running
File size: 7,258 Bytes
53f8cc6 158b74b 53f8cc6 158b74b 53f8cc6 158b74b 53f8cc6 158b74b 53f8cc6 158b74b 53f8cc6 158b74b 53f8cc6 158b74b 53f8cc6 158b74b 53f8cc6 158b74b 53f8cc6 158b74b 53f8cc6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Documents - AccountantPro</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=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="font-roboto bg-gray-50 min-h-screen">
<div class="flex flex-col md:flex-row min-h-screen">
<!-- Sidebar Navigation -->
<div class="bg-white shadow-md md:w-64 md:min-h-screen p-6">
<div class="flex items-center space-x-2 mb-8">
<i data-feather="columns" class="text-blue-600 w-6 h-6"></i>
<span class="text-xl font-bold text-gray-800">AccountantPro</span>
</div>
<nav class="space-y-4">
<a href="dashboard.html" class="flex items-center space-x-3 text-gray-600 hover:text-blue-600 transition">
<i data-feather="home" class="w-5 h-5"></i>
<span>Dashboard</span>
</a>
<a href="#" class="flex items-center space-x-3 text-gray-600 hover:text-blue-600 transition">
<i data-feather="users" class="w-5 h-5"></i>
<span>Clients</span>
</a>
<a href="appointment.html" class="flex items-center space-x-3 text-gray-600 hover:text-blue-600 transition">
<i data-feather="calendar" class="w-5 h-5"></i>
<span>Appointments</span>
</a>
<a href="documents.html" class="flex items-center space-x-3 text-blue-600 transition">
<i data-feather="file" class="w-5 h-5"></i>
<span>Documents</span>
</a>
<a href="#" class="flex items-center space-x-3 text-gray-600 hover:text-blue-600 transition">
<i data-feather="credit-card" class="w-5 h-5"></i>
<span>Billing</span>
</a>
</nav>
</div>
<!-- Main Content -->
<div class="flex-1 p-6">
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold text-gray-800">Documents</h1>
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg transition flex items-center space-x-2">
<i data-feather="upload" class="w-4 h-4"></i>
<span>Upload Document</span>
</button>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="grid grid-cols-4 p-4 bg-gray-50 border-b">
<div class="font-medium text-gray-700">Name</div>
<div class="font-medium text-gray-700">Type</div>
<div class="font-medium text-gray-700">Uploaded</div>
<div class="font-medium text-gray-700">Actions</div>
</div>
<!-- Document List -->
<div class="divide-y">
<!-- Document 1 -->
<div class="grid grid-cols-4 p-4 hover:bg-gray-50 transition">
<div class="flex items-center space-x-3">
<i data-feather="file-text" class="text-blue-600 w-5 h-5"></i>
<span>Tax Return 2023.pdf</span>
</div>
<div>Tax Return</div>
<div>Jun 15, 2024</div>
<div class="flex space-x-3">
<button class="text-blue-600 hover:text-blue-800 transition">
<i data-feather="download" class="w-4 h-4"></i>
</button>
<button class="text-red-600 hover:text-red-800 transition">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
<!-- Document 2 -->
<div class="grid grid-cols-4 p-4 hover:bg-gray-50 transition">
<div class="flex items-center space-x-3">
<i data-feather="file-text" class="text-blue-600 w-5 h-5"></i>
<span>Business License.pdf</span>
</div>
<div>License</div>
<div>May 28, 2024</div>
<div class="flex space-x-3">
<button class="text-blue-600 hover:text-blue-800 transition">
<i data-feather="download" class="w-4 h-4"></i>
</button>
<button class="text-red-600 hover:text-red-800 transition">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
<!-- Document 3 -->
<div class="grid grid-cols-4 p-4 hover:bg-gray-50 transition">
<div class="flex items-center space-x-3">
<i data-feather="file-text" class="text-blue-600 w-5 h-5"></i>
<span>Invoice #1042.pdf</span>
</div>
<div>Invoice</div>
<div>May 15, 2024</div>
<div class="flex space-x-3">
<button class="text-blue-600 hover:text-blue-800 transition">
<i data-feather="download" class="w-4 h-4"></i>
</button>
<button class="text-red-600 hover:text-red-800 transition">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
feather.replace();
// Add document upload functionality
document.querySelector('button[class*="bg-blue-600"]').addEventListener('click', function() {
// In a real app, this would open a file dialog
alert('File upload dialog would open here');
});
// Add document actions
document.querySelectorAll('button[class*="text-red-600"]').forEach(btn => {
btn.addEventListener('click', function(e) {
if (confirm('Are you sure you want to delete this document?')) {
const row = this.closest('.grid');
row.style.opacity = '0';
setTimeout(() => row.remove(), 300);
}
});
});
</script>
</body>
</html> |