File size: 9,294 Bytes
e346e9a 2da13bd e346e9a 2da13bd e346e9a 2da13bd e346e9a 2da13bd e346e9a 2da13bd e346e9a 2da13bd e346e9a 2da13bd e346e9a 2da13bd e346e9a | 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 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Dashboard | DocuFlow</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>
</head>
<body class="bg-gray-100">
<custom-navbar></custom-navbar>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
<div class="mb-6">
<h1 class="text-2xl font-bold text-gray-900">Admin Dashboard</h1>
<p class="mt-1 text-sm text-gray-500">Overview of document management system</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-200">
<div class="flex items-center">
<div class="h-12 w-12 bg-blue-100 rounded-full mr-4 flex items-center justify-center">
<i data-feather="file-text" class="text-blue-600"></i>
</div>
<div>
<p class="text-sm text-gray-500 mb-1">Total Documents</p>
<p class="text-2xl font-semibold">1,248</p>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-200">
<div class="flex items-center">
<div class="h-12 w-12 bg-green-100 rounded-full mr-4 flex items-center justify-center">
<i data-feather="check-circle" class="text-green-600"></i>
</div>
<div>
<p class="text-sm text-gray-500 mb-1">Approved</p>
<p class="text-2xl font-semibold">892</p>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-200">
<div class="flex items-center">
<div class="h-12 w-12 bg-yellow-100 rounded-full mr-4 flex items-center justify-center">
<i data-feather="clock" class="text-yellow-600"></i>
</div>
<div>
<p class="text-sm text-gray-500 mb-1">Pending</p>
<p class="text-2xl font-semibold">156</p>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-200">
<div class="flex items-center">
<div class="h-12 w-12 bg-red-100 rounded-full mr-4 flex items-center justify-center">
<i data-feather="x-circle" class="text-red-600"></i>
</div>
<div>
<p class="text-sm text-gray-500 mb-1">Rejected</p>
<p class="text-2xl font-semibold">42</p>
</div>
</div>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
<div class="lg:col-span-2 bg-white p-6 rounded-lg shadow-sm border border-gray-200">
<div class="flex justify-between items-center mb-4">
<h2 class="text-lg font-medium">Document Activity</h2>
<div class="h-8 w-24 bg-gray-200 rounded"></div>
</div>
<div class="h-64 bg-gray-100 rounded"></div>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-200">
<h2 class="text-lg font-medium mb-4">Recent Activities</h2>
<div class="space-y-4">
<div class="flex items-start">
<div class="h-8 w-8 bg-gray-200 rounded-full mr-3"></div>
<div class="flex-1">
<div class="h-4 w-3/4 bg-gray-200 rounded mb-1"></div>
<div class="h-3 w-1/2 bg-gray-100 rounded"></div>
</div>
</div>
<div class="flex items-start">
<div class="h-8 w-8 bg-gray-200 rounded-full mr-3"></div>
<div class="flex-1">
<div class="h-4 w-3/4 bg-gray-200 rounded mb-1"></div>
<div class="h-3 w-1/2 bg-gray-100 rounded"></div>
</div>
</div>
<div class="flex items-start">
<div class="h-8 w-8 bg-gray-200 rounded-full mr-3"></div>
<div class="flex-1">
<div class="h-4 w-3/4 bg-gray-200 rounded mb-1"></div>
<div class="h-3 w-1/2 bg-gray-100 rounded"></div>
</div>
</div>
<div class="flex items-start">
<div class="h-8 w-8 bg-gray-200 rounded-full mr-3"></div>
<div class="flex-1">
<div class="h-4 w-3/4 bg-gray-200 rounded mb-1"></div>
<div class="h-3 w-1/2 bg-gray-100 rounded"></div>
</div>
</div>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-200 mb-8">
<div class="flex justify-between items-center mb-4">
<h2 class="text-lg font-medium">Pending Approvals</h2>
<div class="h-8 w-24 bg-gray-200 rounded"></div>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Document</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Submitted By</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th scope="col" class="relative px-6 py-3"><span class="sr-only">Actions</span></th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="h-4 w-32 bg-gray-200 rounded"></div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="h-4 w-24 bg-gray-200 rounded"></div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="h-4 w-20 bg-gray-200 rounded"></div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="h-6 w-16 bg-gray-300 rounded"></div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<div class="h-8 w-16 bg-gray-200 rounded"></div>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="h-4 w-32 bg-gray-200 rounded"></div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="h-4 w-24 bg-gray-200 rounded"></div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="h-4 w-20 bg-gray-200 rounded"></div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="h-6 w-16 bg-gray-300 rounded"></div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<div class="h-8 w-16 bg-gray-200 rounded"></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>feather.replace();</script>
</body>
</html> |