File size: 13,603 Bytes
eaf04b0 |
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 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Modern Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#6366f1',
secondary: '#8b5cf6',
dark: '#1e293b',
light: '#f8fafc'
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
min-height: 100vh;
}
.sidebar {
transition: all 0.3s ease;
}
.card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.chart-container {
position: relative;
height: 300px;
}
.notification-dot {
position: absolute;
top: -5px;
right: -5px;
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #ef4444;
}
.progress-bar {
height: 8px;
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
border-radius: 4px;
}
.grid-layout {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
}
@media (max-width: 768px) {
.grid-layout {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body class="bg-gray-900 text-gray-100">
<div class="flex min-h-screen">
<!-- Sidebar -->
<div class="sidebar bg-gray-800 w-64 min-h-screen shadow-lg hidden md:block">
<div class="p-5">
<div class="flex items-center">
<div class="bg-primary w-10 h-10 rounded-lg flex items-center justify-center">
<i class="fas fa-chart-pie text-white text-xl"></i>
</div>
<h1 class="text-xl font-bold ml-3 text-gray-800">Dashboard<span class="text-primary">Pro</span></h1>
</div>
</div>
<nav class="mt-8 px-4">
<a href="#" class="flex items-center p-3 text-primary bg-indigo-50 rounded-lg mb-2">
<i class="fas fa-home mr-3"></i>
<span>Dashboard</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-600 hover:bg-gray-100 rounded-lg mb-2">
<i class="fas fa-chart-line mr-3"></i>
<span>Analytics</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-600 hover:bg-gray-100 rounded-lg mb-2">
<i class="fas fa-users mr-3"></i>
<span>Customers</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-600 hover:bg-gray-100 rounded-lg mb-2">
<i class="fas fa-shopping-cart mr-3"></i>
<span>Orders</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-600 hover:bg-gray-100 rounded-lg mb-2">
<i class="fas fa-box mr-3"></i>
<span>Products</span>
</a>
<a href="#" class="flex items-center p-3 text-gray-600 hover:bg-gray-100 rounded-lg mb-2">
<i class="fas fa-cog mr-3"></i>
<span>Settings</span>
</a>
</nav>
<div class="absolute bottom-0 w-64 p-4 border-t border-gray-200">
<div class="flex items-center">
<img src="https://ui-avatars.com/api/?name=John+Doe&background=6366f1&color=fff" alt="User" class="w-10 h-10 rounded-full">
<div class="ml-3">
<p class="text-sm font-medium text-gray-800">John Doe</p>
<p class="text-xs text-gray-500">Admin</p>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex-1">
<!-- Top Bar -->
<div class="bg-gray-800 shadow-sm">
<div class="flex justify-between items-center p-4">
<div class="flex items-center">
<button class="md:hidden mr-3 text-gray-600">
<i class="fas fa-bars text-xl"></i>
</button>
<h1 class="text-xl font-bold text-gray-800">Dashboard</h1>
</div>
<div class="flex items-center">
<div class="relative mr-4">
<input type="text" placeholder="Search..." class="bg-gray-100 rounded-full py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent">
<i class="fas fa-search absolute left-3 top-3 text-gray-500"></i>
</div>
<div class="relative mr-4">
<button class="text-gray-600">
<i class="fas fa-bell text-xl"></i>
<span class="notification-dot"></span>
</button>
</div>
<div class="flex items-center">
<img src="https://ui-avatars.com/api/?name=John+Doe&background=6366f1&color=fff" alt="User" class="w-10 h-10 rounded-full">
</div>
</div>
</div>
</div>
<!-- Main Content Area -->
<div class="p-6">
<!-- Recent Orders -->
<div class="card bg-gray-800 rounded-xl shadow-md p-6 mb-8">
<div class="flex justify-between items-center mb-6">
<h2 class="text-lg font-semibold text-gray-800">Recent Orders</h2>
<button class="bg-primary text-white px-4 py-2 rounded-lg text-sm hover:bg-indigo-700 transition">
<i class="fas fa-plus mr-2"></i> New Order
</button>
</div>
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<tr class="text-left text-gray-500 text-sm border-b">
<th class="pb-3">Order ID</th>
<th class="pb-3">Customer</th>
<th class="pb-3">Date</th>
<th class="pb-3">Amount</th>
<th class="pb-3">Status</th>
<th class="pb-3">Action</th>
</tr>
</thead>
<tbody>
<tr class="border-b hover:bg-gray-50">
<td class="py-4">#32145</td>
<td class="py-4">John Smith</td>
<td class="py-4">Aug 15, 2023</td>
<td class="py-4">$245.00</td>
<td class="py-4">
<span class="bg-green-100 text-green-800 px-2 py-1 rounded-full text-xs">Completed</span>
</td>
<td class="py-4">
<button class="text-gray-500 hover:text-primary">
<i class="fas fa-ellipsis-h"></i>
</button>
</td>
</tr>
<tr class="border-b hover:bg-gray-50">
<td class="py-4">#32146</td>
<td class="py-4">Sarah Johnson</td>
<td class="py-4">Aug 15, 2023</td>
<td class="py-4">$89.50</td>
<td class="py-4">
<span class="bg-yellow-100 text-yellow-800 px-2 py-1 rounded-full text-xs">Pending</span>
</td>
<td class="py-4">
<button class="text-gray-500 hover:text-primary">
<i class="fas fa-ellipsis-h"></i>
</button>
</td>
</tr>
<tr class="border-b hover:bg-gray-50">
<td class="py-4">#32147</td>
<td class="py-4">Michael Brown</td>
<td class="py-4">Aug 14, 2023</td>
<td class="py-4">$142.75</td>
<td class="py-4">
<span class="bg-green-100 text-green-800 px-2 py-1 rounded-full text-xs">Completed</span>
</td>
<td class="py-4">
<button class="text-gray-500 hover:text-primary">
<i class="fas fa-ellipsis-h"></i>
</button>
</td>
</tr>
<tr class="border-b hover:bg-gray-50">
<td class="py-4">#32148</td>
<td class="py-4">Emily Davis</td>
<td class="py-4">Aug 14, 2023</td>
<td class="py-4">$325.99</td>
<td class="py-4">
<span class="bg-red-100 text-red-800 px-2 py-1 rounded-full text-xs">Cancelled</span>
</td>
<td class="py-4">
<button class="text-gray-500 hover:text-primary">
<i class="fas fa-ellipsis-h"></i>
</button>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="py-4">#32149</td>
<td class="py-4">David Wilson</td>
<td class="py-4">Aug 13, 2023</td>
<td class="py-4">$78.30</td>
<td class="py-4">
<span class="bg-blue-100 text-blue-800 px-2 py-1 rounded-full text-xs">Shipped</span>
</td>
<td class="py-4">
<button class="text-gray-500 hover:text-primary">
<i class="fas fa-ellipsis-h"></i>
</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=rockson8/kucnocny" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |